http://sourceware.org/bugzilla/show_bug.cgi?id=12163
Pawel Sikora <pluto at agmk dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.20 |2.21 --- Comment #2 from Pawel Sikora <pluto at agmk dot net> 2011-01-16 13:33:00 UTC --- with the latest binutils-2.21.51.0.5 bug still occurs: $ LANG=C make g++ t.cpp -fpic -c ar rc t.a t.o ld.bfd -z defs -shared -o t-bfd.so --start-group --whole-archive t.a --no-whole-archive --end-group -lc ld.gold -z defs -shared -o t-gold.so --start-group --whole-archive t.a --no-whole-archive --end-group -lc ld.gold: error: t.a(t.o): multiple definition of 'foo()' ld.gold: t.a(t.o): previous definition here ld.gold: warning: skipping incompatible /usr/lib/libc.so while searching for c ld.gold: error: cannot find -lc ld.gold: t.a(t.o): in function foo():t.cpp(.text+0xc): error: undefined reference to 'puts' ld.gold: t.a(t.o): in function foo():t.cpp(.text+0xc): error: undefined reference to 'puts' make: *** [all] Error 1 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils