[Bug c/36650] New: Unable to build libgcc, xgcc aborts with a segmentation fault
GCC version: 4.3.1-20080507 System type: CYGWIN_NT-5.2-WOW64 version 1.5.25 Native GCC: version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) GCC configured with: --target=x86_64-pc-linux --prefix=/usr/local/opensuse-x86_64 --enable-languages=c --disable-shared --disable-threads --disable-multilib --disable-libssp --disable-libmudflap >From x86_64-pc-linux-gcc/libgcc/config.log: /usr/local/build-root/build-opensuse-64/x86_64-pc-linux-gcc/./gcc/xgcc -B/usr/local/build-root/build-opensuse-64/x86_64-pc-linux-gcc/./gcc/ -B/usr/local/opensuse-x86_64/x86_64-pc-linux/bin/ -B/usr/local/opensuse-x86_64/x86_64-pc-linux/lib/ -isystem /usr/local/opensuse-x86_64/x86_64-pc-linux/include -isystem /usr/local/opensuse-x86_64/x86_64-pc-linux/sys-include -c -O2 -g -g -O2 conftest.c conftest.c: In function 'main': conftest.c:12: internal compiler error: Segmentation fault -- Summary: Unable to build libgcc, xgcc aborts with a segmentation fault Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marion dot deveaud at siemens dot com GCC host triplet: i686-pc-cygwin GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36650
[Bug bootstrap/36650] Unable to build libgcc, xgcc aborts with a segmentation fault
--- Comment #1 from marion dot deveaud at siemens dot com 2008-07-11 11:00 --- *** This bug has been marked as a duplicate of 35204 *** -- marion dot deveaud at siemens dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36650
[Bug middle-end/35204] [4.3/4.4 Regression] crash by too deep recursion in DFS tree-ssa-sccvn.c:1898
--- Comment #30 from marion dot deveaud at siemens dot com 2008-07-11 11:00 --- *** Bug 36650 has been marked as a duplicate of this bug. *** -- marion dot deveaud at siemens dot com changed: What|Removed |Added CC||marion dot deveaud at ||siemens dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35204
[Bug bootstrap/36650] Unable to build libgcc, xgcc aborts with a segmentation fault
--- Comment #3 from marion dot deveaud at siemens dot com 2008-07-29 07:38 --- Hi Ralf, the segmentation fault didn't arise while generating "conftest" without optimization. After some debugging of xgcc I found out that the segfault was taking place during redundancy elimination (file tree-ssa-sccvn.c). This issue was specific to the host I was building on (Windows based) and due to stack size limitations. I hope this explanation is sufficient. Thanks for asking. Marion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36650
[Bug gcov-profile/30258] New: [4.1.0] undefined reference to `__gcov_one_value_profiler'
Hi everyone, while running the regression tests for a x86_64 cross-toolchain build under Cygwin lots of profiler tests went FAIL or UNRESOLVED. The first FAILed while generating inliner-1.x01: /usr/local/build-root/build-sles10-64/x86_64-pc-linux-gcc/gcc/xgcc -B/usr/local/build-root/build-sles10-64/x86_64-pc-linux-gcc/gcc/ /usr/src/gcc-4.1.0/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c -O2 -fdump-tree-optimized -fprofile-generate -fno-show-column -lm -o /usr/local/build-root/build-sles10-64/x86_64-pc-linux-gcc/gcc/testsuite/inliner-1.x01 inliner-1.o: In function `hot_function': inliner-1.c:(.text+0x39): undefined reference to `__gcov_one_value_profiler' inliner-1.o: In function `cold_function': inliner-1.c:(.text+0x99): undefined reference to `__gcov_one_value_profiler' inliner-1.o: In function `main': inliner-1.c:(.text+0x115): undefined reference to `__gcov_one_value_profiler' inliner-1.c:(.text+0x164): undefined reference to `__gcov_one_value_profiler' collect2: ld returned 1 exit status The second type of failure is while retriving the profiler data: file update-cunroll-2.gcda does not exist, -fprofile-generate. gcc was configured with following options: ./configure --target= x86_64-pc-linux --prefix= /usr/local/sles-x86_64 --enable-languages=c,c++ --enable-shared --enable-threads=posix --disable-multilib --enable-__cxa_atexit Any idea ? -- Summary: [4.1.0] undefined reference to `__gcov_one_value_profiler' Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marion dot deveaud at siemens dot com GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: x86_64-pc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30258
[Bug gcov-profile/30258] [4.1.0] undefined reference to `__gcov_one_value_profiler'
--- Comment #2 from marion dot deveaud at siemens dot com 2007-01-19 10:38 --- I finally found out that the "inhibit_libc" flag was set during the gcc compilation because I'm building a cross-compiler without sysroot and headers. As a consequence _gcov_* functions aren't defined in libgcov. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30258