This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49829] New: --disable-static --enable-shared regression: cannot find -lstdc++
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Jul 2011 19:11:25 +0000
- Subject: [Bug other/49829] New: --disable-static --enable-shared regression: cannot find -lstdc++
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829
Summary: --disable-static --enable-shared regression: cannot
find -lstdc++
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.kratochvil@redhat.com
Host: x86_64-fedora16-linux-gnu
Target: x86_64-fedora16-linux-gnu
Build: x86_64-fedora16-linux-gnu
My regular builds have started to fail by 2011-07-19 -> 2011-07-20:
/BUILDDIR/./prev-gcc/g++ -B/BUILDDIR/./prev-gcc/
-B/ROOTDIR/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/BUILDDIR/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/BUILDDIR/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/BUILDDIR/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/BUILDDIR/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/SRCDIR/libstdc++-v3/libsupc++
-L/BUILDDIR/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/BUILDDIR/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2
-gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++
-static-libgcc -o jvgenmain java/jvgenmain.o java/mangle_name.o \
libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
make[3]: *** [jvgenmain] Error 1
Specifically using:
../SRCDIR/configure --enable-64-bit-bfd --disable-static --enable-shared
--enable-debug --disable-sim --enable-gold --enable-plugins --disable-werror
--with-separate-debug-dir=/usr/lib/debug --prefix=/ROOTDIR --disable-werror
--enable-languages=c,c++,fortran,java,ada
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar