Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595432 - =sys-kernel/genkernel-3.4.52.3: attempts to build AMD64 kernel on x86 hardware, fails
Summary: =sys-kernel/genkernel-3.4.52.3: attempts to build AMD64 kernel on x86 hardwar...
Status: RESOLVED DUPLICATE of bug 582318
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
: 597630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-28 17:39 UTC by Scott Alfter
Modified: 2016-11-14 22:15 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 Scott Alfter 2016-09-28 17:39:51 UTC
I'm bringing up Gentoo on an old notebook with a Core Duo (not Core 2 Duo) processor.  I figured I'd let genkernel build the kernel image, but it sets CONFIG_64BIT.  This, of course, won't work on a 32-bit processor.

As a workaround, I used make menuconfig in the kernel-source directory to disable CONFIG_64BIT and restarted genkernel with the --oldconfig option.
Comment 1 Ben Kohler gentoo-dev 2016-10-20 17:11:31 UTC
*** Bug 597630 has been marked as a duplicate of this bug. ***
Comment 2 abma 2016-11-14 22:06:30 UTC
i hit this bug, too. As workarround i changed the default config file of genkernel:

cat <<DATAEOF >> "/usr/share/genkernel/arch/x86/generated-config"
CONFIG_64BIT=n
DATAEOF


genkernel --arch-override=x86 works fine after this change!
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-11-14 22:15:55 UTC
https://gitweb.gentoo.org/proj/genkernel.git/commit/?h=v3.5.0.2&id=8a78287818c1179a08d521c66355e193523a699f

This is fixed in v3.5.0.2.

*** This bug has been marked as a duplicate of bug 582318 ***