This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Release 2.26 - Next week ?
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, Tristan Gingold <gingold at adacore dot com>
- Cc: Matthias Klose <doko at ubuntu dot com>, binutils <binutils at sourceware dot org>
- Date: Thu, 14 Jan 2016 09:52:49 +1030
- Subject: Re: Release 2.26 - Next week ?
- Authentication-results: sourceware.org; auth=none
- References: <568FF162 dot 5000801 at ubuntu dot com> <828FEF00-284A-48C3-9395-2295167002EA at adacore dot com> <20160113010412 dot GB1270 at bubble dot grove dot modra dot org> <CAMe9rOpPPFuAwR-vif32KvDnjHRy5p4ushrvhrVso43681E+3Q at mail dot gmail dot com> <20160113015844 dot GC1270 at bubble dot grove dot modra dot org> <CAMe9rOqyLdTz5FiiMVTukDnQwby+Kx_wzmHtWtNu6n3ZOXfEDA at mail dot gmail dot com> <20160113034534 dot GD1270 at bubble dot grove dot modra dot org> <CAMe9rOrOaGWKS7me-v8AqUPKpKg=JxHcFdePBFPVtOEkKXGiuw at mail dot gmail dot com> <20160113061824 dot GE1270 at bubble dot grove dot modra dot org> <CAMe9rOqtizKXd87rRDDSGQiQ55pFjXRSf_2c1jwg6w45xx9x2g at mail dot gmail dot com>
On Wed, Jan 13, 2016 at 05:26:09AM -0800, H.J. Lu wrote:
> On Tue, Jan 12, 2016 at 10:18 PM, Alan Modra <amodra@gmail.com> wrote:
> My x86-64 kernel has
>
> # CONFIG_MODVERSIONS is not set
> CONFIG_RELOCATABLE=y
>
> Will I see the problem if I turn on CONFIG_MODVERSIONS and turn
> off CONFIG_RELOCATABLE?
No. The Linux kernel problem is specific to ppc64 ELFv2, and the
.TOC. symbol.
> > The important question is: Was PR4317 just cosmetic?
> >
>
> I don't remember what triggered me to open the bug.
So, Tristan, should I revert my PR4317 patch for 2.26?
The argument for this action is that we have a presumed cosmetic fix
that causes a known regression. The regression failure has been
analyzed sufficiently to know the exact cause. There is also some
small chance that other projects that post-process a final-linked
executable might similarly fail when undefined symbols are removed.
Against that is the fact that the PR4317 patch has been applied for
quite a while, and the kernel or anything else that depends on
undefined symbols in an executable is quite fragile if not downright
buggy.
I'm inclined to revert the patch for 2.26 but leave it in for 2.27.
--
Alan Modra
Australia Development Lab, IBM