This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/40729] New: Build fails in libstdc++-v3


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


-- 
           Summary: Build fails in libstdc++-v3
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: j-frankish at slb dot com
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-cross-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40729


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]