[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30063] inadequate error messages on wrong input file
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/30063] inadequate error messages on wrong input file |
Date: |
Tue, 31 Jan 2023 15:53:29 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30063
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Stas,
I think that this problem has already been fixed:
% ld-new -melf_i386 -shared --whole-archive libc.a
ld-new: libc.a: member libc.a(acos.O) in archive is not an object
% ld-new -melf_i386 -shared --whole-archive libc.a --version
GNU ld (GNU Binutils) 2.40.50.20230131
In fact I think that it has been fixed for a while now. I tested
as far back as 2.37 and it is fixed there.
However - it does look like it might be a distribution specific problem.
I checked Fedora rawhide (which uses binutils 2.39), and that certainly
does produce the errors:
% ld -melf_i386 -shared --whole-archive libc.a
ld: libc.a(acos.O):fake:(.text+0x49): undefined reference to `_errno'
[...]
% ld --version
GNU ld version 2.39-9.fc38
So I suggest that you refile this bug with whichever distribution you are
using.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/30063] New: inadequate error messages on wrong input file, stsp at users dot sourceforge.net, 2023/01/31
- [Bug ld/30063] inadequate error messages on wrong input file,
nickc at redhat dot com <=
- [Bug ld/30063] inadequate error messages on wrong input file, stsp at users dot sourceforge.net, 2023/01/31
- [Bug ld/30063] inadequate error messages on wrong input file, nickc at redhat dot com, 2023/01/31
- [Bug ld/30063] inadequate error messages on wrong input file, stsp at users dot sourceforge.net, 2023/01/31
- [Bug ld/30063] inadequate error messages on wrong input file, nickc at redhat dot com, 2023/01/31
- [Bug ld/30063] inadequate error messages on wrong input file, hjl.tools at gmail dot com, 2023/01/31
- [Bug ld/30063] inadequate error messages on wrong input file, stsp at users dot sourceforge.net, 2023/01/31