x86_64-pc-linux-gnux32-gcc -Wall -Wextra -ggdb -march=native -pipe -O3 -fno-tree-vectorize -frecord-gcc-switches -nopie -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/x86_64/kexec-bzImage64.o kexec/arch/x86_64/kexec-bzImage64.c x86_64-pc-linux-gnux32-gcc -Wall -Wextra -ggdb -march=native -pipe -O3 -fno-tree-vectorize -frecord-gcc-switches -nopie -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -I/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include -c -MD -o purgatory/purgatory.o purgatory/purgatory.c purgatory/purgatory.c:1:0: error: code model ‘large’ not supported in x32 mode ^ make: *** [purgatory/purgatory.o] Error 1 * ERROR: sys-apps/kexec-tools-2.0.4-r1 failed (compile phase) Downstream bug at https://bugs.gentoo.org/show_bug.cgi?id=467118
Please try this bug with latest kernel image.