Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296207 - make modules_install fails after kernel compile (without CROSS_COMPILE=sparc64-unknown-linux-gnu- )
Summary: make modules_install fails after kernel compile (without CROSS_COMPILE=sparc6...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: Sparc64 Linux
: High major (vote)
Assignee: nm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 16:59 UTC by Don Pine
Modified: 2009-12-29 18:56 UTC (History)
3 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 Don Pine 2009-12-08 16:59:50 UTC
(My first bug report, please be gentle.)

In the Sparc64 Handbook under 7.c Compiling and Installing, Code Listing 3.10: Compiling the kernel;

"# make CROSS_COMPILE=sparc64-unknown-linux-gnu- && make image modules_install"

results in failure in building modules_install.



Reproducible: Always

Steps to Reproduce:
1. # cd /usr/src/linux
2. # make CROSS_COMPILE=sparc64-unknown-linux-gnu- && make image modules_install
3. go have coffee while waiting on compile

Actual Results:  
make of modules_install failed (don't recall exact messages)

Expected Results:  
completion of make modules_install

I was able to complete kernel compile successfully with:

# make CROSS_COMPILE=sparc64-unknown-linux-gnu- && make CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules_install

I was building linux-gentoo-2.6.30-r8 (from gentoo-sources) on an Ultra 5.

(I did not try building image without the arg.)
Comment 1 nm (RETIRED) gentoo-dev 2009-12-08 17:39:10 UTC
Sounds more like a kernel build bug than a problem with the handbook. But without more information there's no way we can figure out what's going on.

CCing the Sparc team in case they know about kernel build failures, and marking this bug as NEEDINFO.
Comment 2 Don Pine 2009-12-11 15:50:49 UTC
Hate to be pesky, but this problem (and resolution) has also been discussed in the forum: http://forums.gentoo.org/viewtopic-t-696174.html

There are so few of us with this arch that we can't afford to loose a noob because a they can't even get the system up and running.

So the Sparc Handbook 7.c, Code Listing 3.10 needs to be changed from:

# make CROSS_COMPILE=sparc64-unknown-linux-gnu- && make image modules_install

to:

make CROSS_COMPILE=sparc64-unknown-linux-gnu- && make CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules_install

Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2009-12-29 18:23:55 UTC
Sorry this passed by.

Josh, please add what Don said. The CROSS_COMPILE thing is needed for everything kernel-related.

Thanks!

Don, good catch!
Comment 4 nm (RETIRED) gentoo-dev 2009-12-29 18:56:37 UTC
Fixed in CVS.