public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* /usr/bin/ld: bfd assertion fail elf32-i386.c:1816
@ 2001-08-01  5:18 José Mª Pérez Cáncer
  2001-08-01  6:32 ` Alan Modra
  2001-08-01  8:45 ` H . J . Lu
  0 siblings, 2 replies; 6+ messages in thread
From: José Mª Pérez Cáncer @ 2001-08-01  5:18 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-08  6:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-01  5:18 /usr/bin/ld: bfd assertion fail elf32-i386.c:1816 José Mª Pérez Cáncer
2001-08-01  6:32 ` Alan Modra
2001-08-01 11:05   ` José Mª Pérez Cáncer
2001-08-01 11:13     ` H . J . Lu
2001-08-01  8:45 ` H . J . Lu
2001-08-08  6:47   ` Harshad R Joglekar

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).