compile Fehler bei x64 System und gentoo – liveCD
beim compile eines neuen Kernels eines bestehenden Systems (32bit) über die gentoo-live CD (bei einem hardware update) kann folgender Fehler erfolgen:
arch/x86_64/kernel/asm-offsets.c:1: error: code model 'kernel' not supported in the 32 bit mode
Das Problem liegt scheinbar an der x64 Umgebung und kann folgendermaßen umgangen werden:
linux32 chroot /mnt/gentoo /bin/bash
Kurze Erklärung zu “linux32”:
the linux32 tools allows 64bit systems with support for 32 bit applications to set the personality to the 32 bit native type.
Categories: Work