https://sourceware.org/bugzilla/show_bug.cgi?id=21931

--- Comment #2 from marc.balem...@c-s.fr ---
(In reply to Alan Modra from comment #1)
> I'm not sure why you think this is a binutils issue.  You said adding
> "-Wl,lc" (was that supposed to be "-Wl,-lc"?) resulted in a working
> executable, which says to me you have a configuration or installation
> problem if you need to search libc twice.


Yes, I made a mistake, it is "-Wl,-lc".

Since I'm not sure what is happening, I may very well be wrong, but shouldn't I
get an unresolved symbol/undefined reference error in the first case ?
I don't know why the linker would need to search the same lib twice (because it
missed the symbol the first time ?). Is there some (wrong)
configuration/installation that would cause this ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to