Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742530 - sys-devel/binutils-2.35 produces broken arm64 kernels
Summary: sys-devel/binutils-2.35 produces broken arm64 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-14 17:22 UTC by Jannik Glückert
Modified: 2020-09-24 21:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Glückert 2020-09-14 17:22:31 UTC
binutils 2.35 marks .text.ftrace_trampoline sections WAX, which due to a shortcoming in the arm64 module loader causes STRICT_MODULE_RWX to reject all module loading. The result is a kernel that can load none of the built modules.

The kernel patch seems to have already been merged, but we should wait until it lands in all keyworded arm64 kernels until we keyword binutils-2.35 for this arch.

Other architectures are (from what I've read) are not affected

See https://lkml.org/lkml/2020/9/7/923
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-14 22:08:58 UTC
> Assignee: bug-wranglers@gentoo.orgtoolchain@gentoo.org

Can you clarify what toolchain@ should do here?
Comment 2 Jannik Glückert 2020-09-14 22:42:07 UTC
Nothing to do here, this is just to keep track so we really don't accidentally keyword it until the patch lands in all kernels
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-15 07:13:58 UTC
Is there a bug against gentoo's kerne team to get patches in one way or another? We would set it as a blocker to this bug.
Comment 4 Jannik Glückert 2020-09-15 12:46:23 UTC
The bug has been acknowledged upstream and the patch will get backported to LTS kernels - should I still put up a bug on gentoo-sources anyways?
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-20 08:53:12 UTC
I think so. Otherwise how do we track the blocker action?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2020-09-24 21:36:52 UTC
New enough kernel is stable on arm64 in all branches.