[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12356] [Regression] x86_64 kernel failed to link
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/12356] [Regression] x86_64 kernel failed to link |
Date: |
Tue, 11 Jan 2011 05:56:05 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12356
--- Comment #5 from Alan Modra <amodra at gmail dot com> 2011-01-11 05:56:00
UTC ---
The testcase does in fact have multiple definitions of "defined", one in an
object file, and one in the linker script. While it is true that we did not
previously give an error for this situation, there was a FIXME in the ld code
about exactly this..
So I think the testcase (and the x86_64 kernel script) is invalid. If we
revert http://sourceware.org/ml/binutils/2010-12/msg00557.html then that will
change one of the DEFINED() tests, ld-scripts/default-script2.d, which was
added exactly to test the interaction between --defsym and -T scripts.
That said, I'm not completely happy with my patch so will probably revert it;
I don't like needing expld.uses_defined.
--
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/12356] [Regression] x86_64 kernel failed to link, hjl.tools at gmail dot com, 2011/01/01
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, sedat.dilek at gmail dot com, 2011/01/02
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, sedat.dilek at gmail dot com, 2011/01/02
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, sedat.dilek at gmail dot com, 2011/01/02
- [Bug ld/12356] [Regression] x86_64 kernel failed to link,
amodra at gmail dot com <=
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, amodra at gmail dot com, 2011/01/11
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, sedat.dilek at gmail dot com, 2011/01/11
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, sedat.dilek at gmail dot com, 2011/01/11
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, cvs-commit at gcc dot gnu.org, 2011/01/13
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, cvs-commit at gcc dot gnu.org, 2011/01/13
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, cvs-commit at gcc dot gnu.org, 2011/01/13
- [Bug ld/12356] [Regression] x86_64 kernel failed to link, amodra at gmail dot com, 2011/01/13