Summary: | sys-kernel/linux-headers-2.4.3*: Makefile: arch/x86/Makefile: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | hanetzer |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
linux-headers-2.4.33.3.build.log linux-headers-2.4.36.build.log |
Created attachment 528244 [details]
linux-headers-2.4.33.3.build.log
Created attachment 528246 [details]
linux-headers-2.4.36.build.log
I think it's a problem of linux kernel unifying a kernel a while ago from i386/x86_64 to x86 and eclass forgot about it: make -s mrproper ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu- Makefile:261: arch/x86/Makefile: No such file or directory This should be make -s mrproper ARCH=x64_64 CROSS_COMPILE=x86_64-pc-linux-gnu- Namely most of 2.4 support was broken by the following change: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c226e451be564a545696f93fc5880ebc160812 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50445ee7ca5c5a89f0bf7046ed62c58b7fd5e2ff commit 50445ee7ca5c5a89f0bf7046ed62c58b7fd5e2ff Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-04-27 21:41:29 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-04-27 21:41:44 +0000 sys-kernel/linux-headers: drop 2.4 linux-headers In June 2016 commit 81c226e451be564a545696f93fc5880ebc160812 broke support for kernel-version based ARCH detection for i386, x86_64, ppc and powerpc64. Not that many arches are left supporting these headers. All of them should work fine on hewer kernels and toolchains. Broken-by: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c226e451be564a545696f93fc5880ebc160812 Closes: https://bugs.gentoo.org/653852 Package-Manager: Portage-2.3.31, Repoman-2.3.9 sys-kernel/linux-headers/Manifest | 5 ----- sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild | 17 ----------------- sys-kernel/linux-headers/linux-headers-2.4.36.ebuild | 17 ----------------- 3 files changed, 39 deletions(-) |
Created attachment 528242 [details] emerge --info This could be a problem of having too new of a gcc, sys-devel/gcc-7.3.0-r1, but while doing some build testing against a modified kernel-2.eclass, I discovered these two versions of linux-headers do not build due to the same error, so I restored the original contents of kernel-2.eclass and tried again, same failure.