This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 3.0 and glibc 2.1
- To: gcc at gcc dot gnu dot org
- Subject: gcc 3.0 and glibc 2.1
- From: Bernd Rinn <Bernd dot Rinn at uni-konstanz dot de>
- Date: Mon, 18 Jun 2001 19:39:09 +0200
Hi,
is g++ 3.0 supposed to work with glibc 2.1 on gnu/linux (x86) systems?
A C++ "Hello World" program shows a 'undefined symbol' error on
__dso_handle when linked dynamically:
~/bibliotheken/error-handling-3.0 $ ./ttt
./ttt: error in loading shared libraries: /software/packages/gcc-3.0/i686-pc-linux-gnu/lib/libstdc++.so.3: undefined symbol: __dso_handle
ldd shows:
~/bibliotheken/error-handling-3.0 $ ldd ttt
libstdc++.so.3 => /software/packages/gcc-3.0/i686-pc-linux-gnu/lib/libstdc++.so.3 (0x00125000)
libm.so.6 => /lib/libm.so.6 (0x00193000)
libgcc_s.so.1 => /software/packages/gcc-3.0/i686-pc-linux-gnu/lib/libgcc_s.so.1 (0x001b0000)
libc.so.6 => /lib/libc.so.6 (0x001b8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00110000)
The problem occurs on a system with glibc 2.1.3, but not on a system
with glibc 2.2.
Regards,
Bernd
--
Bernd Rinn
Fakultät für Physik
Universität Konstanz
Tel. 07531/88-3812,
e-mail: Bernd.Rinn at uni-konstanz dot de
PGP-Fingerprint: 1F AC 31 64 FF EF A9 67 6E 0D 4C 26 0B E7 ED 5C