[Bug libstdc++/65675] New: make bootstrap fails when configured with --disable-hosted-libstdcxx

ian at ianshome dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 6 04:50:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65675

            Bug ID: 65675
           Summary: make bootstrap fails when configured with
                    --disable-hosted-libstdcxx
           Product: gcc
           Version: 4.8.4
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ian at ianshome dot com

Linux Ubuntu-14-04 3.13.0-46-generic

../gcc_4_8_4/configure --enable-cxx-flags=-fno-exceptions \
                       --prefix=/opt/gcc_4_8_4 \
                       --enable-languages=c,c++ \
                       --disable-hosted-libstdcxx

make bootstrap

...

Fails with:

Entering directory `/mnt/gcc-build/gcc'
/mnt/gcc-build/./prev-gcc/xg++ -B/mnt/gcc-build/./prev-gcc/
-B/opt/gcc_4_8_4/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/mnt/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/mnt/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/mnt/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
 -I/mnt/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/mnt/gcc/libstdc++-v3/libsupc++
-L/mnt/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/mnt/gcc-build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs  
-g -O2 -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE
-static-libstdc++ -static-libgcc  -o build/genmddeps \
        build/genmddeps.o build/read-md.o build/errors.o
.././libiberty/libiberty.a
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
make[3]: *** [build/genmddeps] Error 1
make[3]: Leaving directory `/mnt/gcc-build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/gcc-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/gcc-build'
make: *** [bootstrap] Error 2



More information about the Gcc-bugs mailing list