Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82846 - Using genkernel to build a x86 kernel on amd64 fails
Summary: Using genkernel to build a x86 kernel on amd64 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-02-21 10:39 UTC by Johan Verrept
Modified: 2005-03-30 07:14 UTC (History)
0 users

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


Attachments
patch (gen_compile.sh.patch,385 bytes, patch)
2005-02-21 10:41 UTC, Johan Verrept
Details | Diff
Dietlibc 0.27 patch (dietlibc-Makefile.patch,430 bytes, patch)
2005-02-21 10:51 UTC, Johan Verrept
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Verrept 2005-02-21 10:39:40 UTC
The --arch-override=x86 argument is not sufficient to build an x86 kernel on an amd64 machine. If --makeopts="ARCH=i386" is added it builds the kernel, but not the modules because of an overly restrictive MAKEOPTS protection. Fix attached.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Johan Verrept 2005-02-21 10:41:28 UTC
Created attachment 51799 [details, diff]
patch
Comment 2 Johan Verrept 2005-02-21 10:50:30 UTC
Also, dietlibc fails. Due to a makefile error.

Patch attached.
Comment 3 Johan Verrept 2005-02-21 10:51:08 UTC
Created attachment 51801 [details, diff]
Dietlibc 0.27 patch
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-03-30 07:14:28 UTC
3.1.5 doesn't build dietlibc at all so this isn't an issue any longer; closing bug.