This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: undefined reference when mixing a.out and ELF object files ?
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