gcc-11: -fvisibility=hidden produces a segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I did read:

* https://gcc.gnu.org/bugs/minimize.html

However I am finding it very hard to reduce a test case. Basically
compiling a large c++ codebase with -fvisibility=hidden triggers a
segfault. The same c++ code does run properly when compiled with the
exact same flag under gcc (Debian 10.2.1-6) 10.2.1 20210110.

I've setup a quick c-vise script on a Debian porterbox and it has been
running for now ~2hours. Current status is (*).

Questions:
1. How long (approx) a c-vise process is supposed to be?
2. Since I've identified the culprit gcc flag, isn't there a better
(pragmatic) approach to reducing the test case ?

Thanks much in advance
-M

(*)
% cvise --clang-delta-std "c++14" -n 1 /home/malat/reduce-ice.sh
RenderModules.cc
00:00:00 INFO ===< 15741 >===
00:00:00 INFO running 1 interestingness test in parallel
00:00:00 INFO INITIAL PASSES
00:00:00 INFO ===< IncludesPass >===
00:00:00 INFO (0.1%, 52689 bytes, 1322 lines)
00:00:57 INFO ===< UnIfDefPass >===
00:00:57 INFO ===< CommentsPass >===
00:01:06 INFO ===< IfPass >===
00:01:06 INFO ===< LineMarkersPass >===
00:01:06 INFO ===< BlankPass >===
00:01:14 INFO ===< ClangBinarySearchPass::replace-function-def-with-decl >===
00:07:57 INFO ===< ClangBinarySearchPass::remove-unused-function >===
00:14:48 INFO ===< LinesPass::0 >===



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux