This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference when mixing a.out and ELF object files ?


Nick Clifton wrote:
Tell you what - if you can put together a *small* and *simple* test case for me I will it out locally and see if I can find a fix. No promises though... :-)

I finally managed to reproduce it !
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 !


To be continued here:
http://sourceware.org/bugzilla/show_bug.cgi?id=6478

There is probably something wrong with N_WARNING...

--
Vincent Rivière


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]