undefined reference when mixing a.out and ELF object files ?
Nick Clifton
nickc@redhat.com
Fri May 2 17:02:00 GMT 2008
Hi Vincent,
> I finally managed to reproduce it !
Yay.
> There was actually another important element: the problem occurs only
> when there is a stab warning in the a.out object file. I have been very
> unlucky, because I felt in that trap on my very first ELF test: I called
> the gets() function, which causes a linker warning in my libc because it
> is a dangerous function. Because of the bug the whole libc failed to link !
Which suggest a workaround - avoid all stabs warnings.
> To be continued here:
> http://sourceware.org/bugzilla/show_bug.cgi?id=6478
OK, I will look at this next week.
Cheers
Nick
More information about the Binutils
mailing list