This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[BUG?] gcc-3.3ds9-2 : hidden symbol __dso_handle in /usr/lib/gcc-lib/i386-linux/3.3/crtbegin.o is referenced by DSO collect2
- From: Alex <akhripin at mit dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 18 Jun 2003 20:07:11 -0400
- Subject: [BUG?] gcc-3.3ds9-2 : hidden symbol __dso_handle in /usr/lib/gcc-lib/i386-linux/3.3/crtbegin.o is referenced by DSO collect2
Hi,
This may be a problem with gcc or ld. When linking a bunch of .o files, with no
options besides -l and -L, into an executable, I get the following error:
/usr/bin/ld: /bigdata/cgg/city_base/SYSTEM/Linux/bin/texture2: hidden symbol `__dso_handle' in /usr/lib/gcc-lib/i386-linux/3.3/crtbegin.o is referenced by DSO
collect2: ld returned 1 exit status
What could be causing this problem? I cannot find any explicit reference to the
__dso_handle in the code.
Thanks,
Alex K.