This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

/usr/bin/ld: bfd assertion fail elf32-i386.c:1816


Hello. My name is Jose. I am trying to generate a shared library using
auto* toolset on a Linux machine. When the makefile runs the linker I
get the following message:

/bin/sh ./libtool --mode=link gcc  -Wall -W  -o libthinglass.la -rpath
/usr/local/lib/gtk/themes/engines -export-dynamic -avoid-version
thinglass_theme_draw.lo thinglass_theme_main.lo gtkbutton.lo
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXi -lXext -lX11 -lm 
rm -fr .libs/libthinglass.la .libs/libthinglass.* .libs/libthinglass.*
(cd . && ln -s gtkbutton.lo gtkbutton.o)
gcc -shared  thinglass_theme_draw.lo thinglass_theme_main.lo
gtkbutton.lo  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib  -L/usr/local/lib -L/usr/X11R6/lib
/usr/local/lib/libgtk.so /usr/local/lib/libgdk.so
/usr/local/lib/libgmodule.so /usr/local/lib/libglib.so -ldl -lXi -lXext
-lX11 -lm  -Wl,-soname -Wl,libthinglass.so -o .libs/libthinglass.so
/usr/bin/ld: bfd assertion fail elf32-i386.c:1816

and then it continues. The resulting shared object crashes ld.so.

Can anyone explain what is that assert detecting.

Thank you very much.

I am using these versions:
  GNU ld 2.11.2
  GNU assembler 2.11.2
  gcc version 2.95.2 19991024 (release)
  ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
to create a shared lib on a
  Linux jm 2.4.5-xfs-1.0.1 #1 jue jul 12 07:38:16 CEST 2001 i586
GenuineIntel machine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]