Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335361 - gentoo-sources requires mrproper to build nvidia-drivers on Arch 32
Summary: gentoo-sources requires mrproper to build nvidia-drivers on Arch 32
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 07:10 UTC by Roger
Modified: 2010-08-31 08:35 UTC (History)
0 users

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 Roger 2010-08-31 07:10:10 UTC
Trying to installing gentoo-sources, make oldconfig &&  make bzImage modules modules_install install, reboot and then trying to build nvidia-drivers fails with the following error when building on arch 32:

nvidia error: code model `kernel' not supported in the 32 bit mode

To fix, I did:

# cd /usr/src/linux
# mv .config ../
# make mrproper
# mv ../.config ./

And then the usual:
# make bzImage modules modules_install install

(reboot if needed)

# emerge nvidia-drivers

Everything appears to build just fine now without error.

I've seen this error/bug occur over the past two to four kernel upgrades.

Reproducible: Always




As I type this, I realize this might be either an upstream bug with the kernel source tarballs?  Or are files/ patches dirtying the /usr/src/linux folder up with 64 bit configurations files?

(I'll try to rule-out some of these scenarios on my 32 bit laptop when upgrading the kernel tonight/tomorrow.)