Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82846

Summary: Using genkernel to build a x86 kernel on amd64 fails
Product: Gentoo Linux Reporter: Johan Verrept <johan.verrept>
Component: [OLD] UnspecifiedAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch
Dietlibc 0.27 patch

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.