[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12496] Linker fails with "could not read symbols: Bad value" mes
From: |
d.g.gorbachev at gmail dot com |
Subject: |
[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message |
Date: |
Thu, 24 Feb 2011 16:28:06 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12496
--- Comment #10 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com>
2011-02-24 16:27:53 UTC ---
Yes, ld.gold and ld.dk silently use non-LTO part of div.o; it's a bug. However,
I don't think that an undefined reference error is not a bug.
1. The testcase compiles well without -flto or with -fno-use-linker-plugin.
2. Imagine a bare-metal program, such as a kernel. When building it, the
standard C library is not used, and compiler-generated calls to memcmp, etc.
are resolved within the program itself. To work around the bug, a library with
these functions must be compiled without -flto.
Again, an unpleasant thing is that the order of linking with LTO differ from
one without LTO, and linkers disagree with each other on this matter.
P.S.: Will ld.hjl be obsoleted by ld.dk? If yes, perhaps fixing it does not
worth a trouble...
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/12496] New: Linker fails with "could not read symbols: Bad value" message, d.g.gorbachev at gmail dot com, 2011/02/16
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/21
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, d.g.gorbachev at gmail dot com, 2011/02/22
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/22
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, d.g.gorbachev at gmail dot com, 2011/02/23
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/23
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/23
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, d.g.gorbachev at gmail dot com, 2011/02/24
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/24
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/24
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message,
d.g.gorbachev at gmail dot com <=
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/24
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, d.g.gorbachev at gmail dot com, 2011/02/24
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, hjl.tools at gmail dot com, 2011/02/24
- [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message, d.g.gorbachev at gmail dot com, 2011/02/24