bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/1811] ELF linker loads member of archive for common symbol


From: hjl at lucon dot org
Subject: [Bug ld/1811] ELF linker loads member of archive for common symbol
Date: 4 Nov 2005 21:19:54 -0000

------- Additional Comments From hjl at lucon dot org  2005-11-04 21:19 -------
Created an attachment (id=744)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=744&action=view)
A testcase

I got

address@hidden archive]$ make
gcc    -c -o x.o x.c
gcc    -c -o foo.o foo.c
ar rv libfoo.a foo.o
ar: creating libfoo.a
a - foo.o
ld -r -o bar.o x.o libfoo.a
libfoo.a(foo.o):(.bss+0x4): multiple definition of `bar'
x.o:(.bss+0x0): first defined here
make: *** [bar.o] Error 1
rm foo.o


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1811

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]