Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195693 - add support for x86 generalized arch for genkernel
Summary: add support for x86 generalized arch for genkernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-13 12:36 UTC by Alexey Shvetsov
Modified: 2008-06-26 17:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2007-10-13 12:36:04 UTC
add support for generalized arch for kernels
>=git-sources-2.6.23
>=mm-sources-2.6.23
since this arch will be avalieble in 2.6.24
now it is avalieble via git-sources and mm-sources

Reproducible: Always
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-10-13 17:40:30 UTC
Any chance you want to provide some more details?  Links to more info?  Anything?

I have no clue what you are asking for here.
Comment 2 Alexey Shvetsov archtester gentoo-dev 2007-10-14 11:42:29 UTC
just look at current git-sources
there are no more separate i386 and x86_64 trees 
only x86 tree =)
http://kerneltrap.org/Linux/2.6.23_Kernel_Finally
"I want this to be what people look at for a few days, but expect the x86 
merge to go ahead after that. So far, all indications are still that it's 
going to be all smooth sailing, but hey, those indicators seem to always 
say that, and only after the fact do people notice any problems ;)"

and earlier posts

BTW arch ovverride dont working with genkernel
at least if i try to compile i386 kernel on x86_64
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2007-10-14 15:10:36 UTC
Thanks for the details. I assume this merge is similar to the ppc+ppc64->powerpc merge a year or so back.

For the arch override issue, please file a separate bug and give more details than "dont working"
Comment 4 Alexey Shvetsov archtester gentoo-dev 2007-10-27 07:45:10 UTC
http://kerneltrap.org/Linux/Removing_the_i386_and_x86_64_Directories

look at this i386 and x86_64 directories will be removed 
so genkernel cant work anymore for this arches
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2007-10-27 15:06:50 UTC
We will probably get to this in genkernel-3.5, but that won't come for a while, since we'll be making many other changes. Until then, genkernel can only be used with <={vanilla,gentoo}-sources-2.6.23.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-01-26 18:25:47 UTC
(In reply to comment #2)
> BTW arch ovverride dont working with genkernel at least if i try to compile i386 > kernel on x86_64

Is this amd64-specific issue or is this actually fixed? Because 3.4.9 compiles 2.6.24 kernel just fine on x86 without any overrides or whatnot.
Comment 7 Alexey Shvetsov archtester gentoo-dev 2008-01-26 20:28:03 UTC
(In reply to comment #6)
> (In reply to comment #2)
> > BTW arch ovverride dont working with genkernel at least if i try to compile i386 > kernel on x86_64
> 
> Is this amd64-specific issue or is this actually fixed? Because 3.4.9 compiles
> 2.6.24 kernel just fine on x86 without any overrides or whatnot.
> 

looks like it fixed
since i've been able to compile native 2.6.24 kernels o x86_64 and x86
crosscompile may be stil an issue
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2008-01-26 20:30:53 UTC
No, it's not "fixed". We didn't do anything for this bug.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-01-27 14:05:27 UTC
(In reply to comment #8)
> No, it's not "fixed". We didn't do anything for this bug.

Well, apparently there was never an issue with this... :) At least for 2.6.24 this is completely transparently handled by the kernel scripts.
Comment 10 Michael Spiegle 2008-02-14 21:33:34 UTC
I am using genkernel 3.4.9 and I appear to have the arch override issue.  Even though I specified --arch-override=x86 in genkernel and specified an x86 kernel config from /usr/share/genkernel, the resultant kernel still had CONFIG_64BIT=y.

My workaround for the time being was to pass "ARCH=i386" to --makeopts like so:



genkernel --arch-override=x86 --kernel-config=/usr/share/genkernel/x86/kernel-config-2.6 --menuconfig --clean --install --makeopts="-j8 ARCH=i386" --slowusb --bootloader=grub all
Comment 11 Andrew Gaffney (RETIRED) gentoo-dev 2008-03-14 02:27:50 UTC
This has been fixed in SVN.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2008-06-26 17:49:42 UTC
OK.  This is resolved in genkernel 3.4.10, which is now in the tree and stable.