This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30642] New: Wrong libstdc++ selected
- From: "wyderski at ii dot uni dot wroc dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2007 16:47:01 -0000
- Subject: [Bug c++/30642] New: Wrong libstdc++ selected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I've built GCC-4.1.1, configured with:
../configure --prefix=/opt/gcc-4.1.1 --enable-threads=posix --with-dwarf2
--enable-languages=c,c++ --with-as=/opt/binutils-2.17/bin/as
--with-ld=/opt/binutils-2.17/bin/ld --enable-shared --disable-checking
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
using GCC-3.4.6. Now some programs compiled using the new compiler fail on
linking:
/usr/lib/libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'
The compiler is looking for libstdc++ in /usr/lib, however its libstdc++ is
placed in an appropriate subdirectory of /opt/gcc-4.1.1. The function
_Unwind_GetIPInfo@GCC_4.2.0 is also a mystery, as it should be a part of
GCC-4.2.
Previously options were
../configure --prefix=/opt/gcc-4.1.1 --enable-threads=posix --with-dwarf2
--enable-languages=c,c++
but it makes no difference.
--
Summary: Wrong libstdc++ selected
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wyderski at ii dot uni dot wroc dot pl
GCC build triplet: Linux RedHat, IA-32, GCC-3.4.6
GCC host triplet: Linux RedHat, IA-32, GCC-4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30642