diff options
| author | Yarny0 <41838844+Yarny0@users.noreply.github.com> | 2025-05-10 09:28:18 +0200 |
|---|---|---|
| committer | Yarny0 <41838844+Yarny0@users.noreply.github.com> | 2025-05-10 11:21:45 +0200 |
| commit | 1e6c4457678c650bf0577a019d825effe637641e (patch) | |
| tree | 1c50e7bf799699984eb1506681996bc9b7101afc /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | dda3dcd3fe03e991015e9a74b22d35950f264a54 (diff) | |
linux/common-config: disable OF_OVERLAY on x86_64 if version < 5.15
`OF_OVERLAY` breaks kernel compilation for version 5.10
(beginning with 5.10.236), but only on x86_64.
Luckily, `OF_OVERLAY` is of not real interest on x86_64,
so this commit unbreaks the build by just disabling that option
if the target is x86_64 *and* the kernel version is below 5.15.
v5.15 contains a patch that turns the compilation error into a
warning, so this measure is not needed from that version on:
https://git.kernel.org/linus/5aad03685185b5133a28e1ee1d4e98d3fd3642a3
The reasons for the build failure are not
fully clear at the time of this writing;
apparently, a change in `pahole` is the core cause.
For details see the issue and in particular this comment:
https://github.com/NixOS/nixpkgs/issues/403985#issuecomment-2863338895
If that is correct and `pahole` gets fixed,
we can probably revert the commit at hand.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
