Bug 57111

Summary: kexec-tools doesn't support x32 ABI
Product: Other Reporter: Alphat-PC (AlphatPC)
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: normal CC: jlec, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Alphat-PC 2013-04-25 16:53:59 UTC
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
Comment 1 Szőgyényi Gábor 2016-11-09 19:36:57 UTC
Please try this bug with latest kernel image.