I have an amd64 system that I've booted and I'm trying to create 2nd a chrooted setup for testing within the same system. I have unpacked the stage3-amd64-hardened.tar.bz2 into /var/lib/gentoo and chrooted into it, updated it and emerge hardened-sources and genkernel (Which, BTW, is the same as my running OS). When I get to compiling a kernel I am unable to compile one that is for the x86_64 arch as genkernel detects the arch as just x86. My booted OS works fine and genkernel creates an x86_64 kernel. Reproducible: Always Steps to Reproduce: 1. unpack a stage3 amd64 tarball 2. chroot into that new directory and update 3. run genkernel --menuconfig all
Let me guess...you were chrooting with linux32/setarch?
<whistling> yup, how'd you guess ;-) I forgot I'd put it in my chroot script!