binutils 2.14 ld __dso_handle error
H. J. Lu
hjl@lucon.org
Mon Jan 26 20:30:00 GMT 2004
On Mon, Jan 26, 2004 at 02:52:26PM -0500, Kenneth McNamara wrote:
> I've seen some indication that this may be an 'ld' (Gnu Linker) bug -
> if not, please excuse this email.
>
> Fresh download and local compile of binutils 2.14 over the last
> weekend. This is a Redhat 8.0 system with a locally compiled 2.4.20
> real time (rtai) kernel.
>
> Compiling a medium complex product named EMC (which has been compiled
> successfully by other people - but not on this system).
>
> Error is:
>
> /usr/local/bin/ld: /usr/local/emc/plat/linux_rtai/bin/testppt : hidden
> symbol '__dso_handle' in
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/crtbegin.o is referenced by DSO
>
>
You may have created a shared library without using "gcc -shared".
H.J.
More information about the Binutils
mailing list