Bug 40729 - Build fails in libstdc++-v3
Summary: Build fails in libstdc++-v3
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 04:16 UTC by j-frankish
Modified: 2012-01-10 18:49 UTC (History)
2 users (show)

See Also:
Host: powerpc64-unknown-linux-gnu
Target: powerpc64-unknown-linux-gnu
Build: powerpc64-cross-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
config.log for gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3 (8.74 KB, text/plain)
2009-07-13 04:18 UTC, j-frankish
Details

Note You need to log in before you can comment on or make changes to this bug.
Description j-frankish 2009-07-13 04:16:32 UTC
See CLFS SVN-20090709-PowerPC64-Multilib - Cross GCC-4.4.0 - Final

Configured with: ../gcc-4.4.0/configure --prefix=/cross-tools --build=powerpc64-cross-linux-gnu --target=powerpc64-unknown-linux-gnu --host=powerpc64-cross-linux-gnu --with-sysroot=/mnt/clfs --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools --enable-long-long --enable-threads=posix

make AS_FOR_TARGET="${CLFS_TARGET}-as" LD_FOR_TARGET="${CLFS_TARGET}-ld"

Fails with:

checking how to hardcode library paths into programs... immediate checking for exception model to use... configure: error: unable to detect exception model
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2

From config.log:

configure:14562: checking for exception model to use
configure:14606:  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include -c -S  conftest.cc >&5
configure: In function 'void foo()':
configure:14601: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:14609: $? = 1
configure:14638: error: unable to detect exception model
Comment 1 j-frankish 2009-07-13 04:18:23 UTC
Created attachment 18182 [details]
config.log for gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3
Comment 2 Paolo Carlini 2009-07-13 14:35:30 UTC
Note that Segmentation faults and Internal Compiler Errors are never library issues: the compiler proper is definitely misbehaving.
Comment 3 Andrew Pinski 2009-10-14 04:06:43 UTC
This works for me on the trunk.  Can you try again?
Comment 4 Andrew Pinski 2012-01-10 18:49:16 UTC
No feedback in over 2 years so closing.