(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.)
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.
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
Sorry this passed by. Josh, please add what Don said. The CROSS_COMPILE thing is needed for everything kernel-related. Thanks! Don, good catch!
Fixed in CVS.