Red Hat Bugzilla – Bug 822981
binutils 126.96.36.199.1 miscompiles the kernel
Last modified: 2013-08-01 01:39:02 EDT
Description of problem:
A change in binutils 188.8.131.52.1 causes empty sections that are relative to be absolute instead. This causes some problems when building a 32-bit kernel and having it relocated as sections that are supposed to be relative are marked absolute and break the boot.
Version-Release number of selected component (if applicable):
Always from what I can tell.
Steps to Reproduce:
1. Build a kernel with the above binutils
2. Look at system.map and see if __init_begin and __init_end are absolute symbols (among others)
3. Have something relocate the kernel and watch it crash
Symbols are absolute
symbols are relative
We've not seen anything along the lines of actual bug reports in the kernel because of this to my knowledge. Peter Jones mentioned that we don't normally relocate kernels on BIOS machines, but we do on EFI so this might be important.
H.J. suggests that 184.108.40.206.2 is similarly broken. The upstream binutils report is here:
While the problem exhibits itself on 32-bit kernels because we postprocess them, it isn't strictly limited to 32-bit. An x86_64 kernel built with the same version of binutils also has the same section being marked as absolute.
If the only practical impact of this would be booting a 32-bit kernel EFI, then I'm -1 blocker, because we don't support that. If this is all theoretically Bad and Scary but does not in actual fact break anything noticeable for any supported use case (32-bit BIOS boot, 64-bit BIOS and EFI boots) then there's no reason to block release for it.
Fedora Bugzappers volunteer triage team
Well, 32-bit EFI isn't a concern since we don't ship that at all. The cases where we'd hit this appear to be: 1) 32-bit BIOS + kdump (which I doubt if there are that many users of) and 2) some 32-bit BIOS systems with really strange memory maps. I don't think these are very common either, since we didn't relocate for *years* and it wasn't a big problem on BIOS systems.
So I'm also -1 on blocker status, but I could be +1 for NTH if there's a clean fix. Note that the fix mentioned on irc won't help case #2, since the hardware in question would still not work.
Discussed in the 2012-05-18 blocker bug review meeting. Rejected as a blocker for Fedora 17 final because the only way that a user could hit this on a configuration supported by Fedora is using kdump with a 32-bit kernel or using uncommon hardware. As such, it can be fixed with an update and not a blocker.
Created attachment 586057 [details]
Import of fix for PR14052
This patch replaces binutils-220.127.116.11.1-ld-13621.patch. It is an import of the fix for the upstream PR 14052, and will be applied to the F17 binutils once the release is out.
The rawhide binutils do not need this patch.
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.