* Re: gcc 3.0 and glibc 2.1
[not found] <20010618193909.A25675@planck.physik.uni-konstanz.de.suse.lists.egcs>
@ 2001-06-18 20:26 ` Andi Kleen
0 siblings, 0 replies; 5+ messages in thread
From: Andi Kleen @ 2001-06-18 20:26 UTC (permalink / raw)
To: Bernd Rinn; +Cc: gcc
Bernd Rinn <Bernd.Rinn@uni-konstanz.de> writes:
> 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
>
I reported the same problem some time ago and I was told it it is a binutils
bug in older version. It was apparently not worthy enough to be mentioned
in any releases notes or known problem lists. Try upgrading binutils.
-Andi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc 3.0 and glibc 2.1
2001-06-18 10:39 Bernd Rinn
2001-06-18 16:12 ` Artem Khodush
@ 2001-06-18 18:17 ` Jeff Sturm
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Sturm @ 2001-06-18 18:17 UTC (permalink / raw)
To: Bernd Rinn; +Cc: gcc
On Mon, 18 Jun 2001, Bernd Rinn wrote:
> A C++ "Hello World" program shows a 'undefined symbol' error on
> __dso_handle when linked dynamically:
You may need a new binutils. See, for instance:
http://www.gnu.org/software/gcc/java/faq.html#4_7
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc 3.0 and glibc 2.1
2001-06-18 10:39 Bernd Rinn
@ 2001-06-18 16:12 ` Artem Khodush
2001-06-18 18:17 ` Jeff Sturm
1 sibling, 0 replies; 5+ messages in thread
From: Artem Khodush @ 2001-06-18 16:12 UTC (permalink / raw)
To: Bernd Rinn, gcc
Bernd Rinn wrote:
> 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:
>
This problem is related to binutils, not to glibc. Please see
http://gcc.gnu.org/ml/gcc/2000-07/msg01002.html
and also
http://gcc.gnu.org/ml/gcc/2000-05/msg00239.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc 3.0 and glibc 2.1
@ 2001-06-18 15:44 mike stump
0 siblings, 0 replies; 5+ messages in thread
From: mike stump @ 2001-06-18 15:44 UTC (permalink / raw)
To: Bernd.Rinn, gcc
> Date: Mon, 18 Jun 2001 19:39:09 +0200
> From: Bernd Rinn <Bernd.Rinn@uni-konstanz.de>
> To: gcc@gcc.gnu.org
> ~/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
Gosh, it's not just me? I've seen the same problem on a glibc 2.1.2
or a 2.1.8 system. :-(
^ permalink raw reply [flat|nested] 5+ messages in thread
* gcc 3.0 and glibc 2.1
@ 2001-06-18 10:39 Bernd Rinn
2001-06-18 16:12 ` Artem Khodush
2001-06-18 18:17 ` Jeff Sturm
0 siblings, 2 replies; 5+ messages in thread
From: Bernd Rinn @ 2001-06-18 10:39 UTC (permalink / raw)
To: gcc
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-06-18 20:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20010618193909.A25675@planck.physik.uni-konstanz.de.suse.lists.egcs>
2001-06-18 20:26 ` gcc 3.0 and glibc 2.1 Andi Kleen
2001-06-18 15:44 mike stump
-- strict thread matches above, loose matches on Subject: below --
2001-06-18 10:39 Bernd Rinn
2001-06-18 16:12 ` Artem Khodush
2001-06-18 18:17 ` Jeff Sturm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).