Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106092 - linux-mod should set the proper kernel ARCH
Summary: linux-mod should set the proper kernel ARCH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 12:15 UTC by Alin Năstac (RETIRED)
Modified: 2005-09-29 14:35 UTC (History)
1 user (show)

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


Attachments
linux-mod.eclass (linux-mod.eclass,13.92 KB, text/plain)
2005-09-18 10:50 UTC, John Mylchreest (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2005-09-15 12:15:14 UTC
linux-mod_src_compile should pass an ARCH argument on make command line when it
builds the kernel modules (for instance, if the arch is x86, the emake command
line should contain ARCH=i386).

I use an amd64 machine to build binary packages (in a chrooted env) for several
server configurations using x86 architecture, which now fails to build the
kernel module of the media-libs/svgalib-1.9.21-r1 package.
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2005-09-18 10:50:15 UTC
Created attachment 68744 [details]
linux-mod.eclass

Can you please try this eclass out and let me know if it works for you.
Please test in both the chrooted x86 env. and also the x86_64 host env.

Thanks
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-09-19 00:13:21 UTC
You've made a mistake. You should use tc-arch-kernel function, not tc-arch.

Given the above correction, the results of the tests are:
 - in chrooted x86 env, I have upgraded to media-libs/svgalib-1.9.21-r1 successfully
 - in normal amd64 env, I managed to merge net-dialup/eagle-usb successfully
(svgalib is masked by -*)
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2005-09-19 10:39:41 UTC
So I did :)

OK, I'll get these in tonight.
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2005-09-29 14:35:59 UTC
in cvs