When the test cases/nasm/1 configure file test is run on on a Linux system running a kernel with CONFIG_IA32_EMULATION disabled, the resulting program will be terminated with signal SIGSEGV.
This seems to occur because the kernel does not support the int 0x80 system call entry method.
Also, it's a little risky to use int 0x80 on a 64-bit binary, even if IA32 kernel support is enabled. This entry method only supports 32-bit pointers.
The hello.asm program should be updated to use the native syscall instruction on x86-64 systems to avoid this problem.
When the
test cases/nasm/1 configure file
test is run on on a Linux system running a kernel withCONFIG_IA32_EMULATION
disabled, the resulting program will be terminated with signalSIGSEGV
.This seems to occur because the kernel does not support the
int 0x80
system call entry method.Also, it's a little risky to use
int 0x80
on a 64-bit binary, even if IA32 kernel support is enabled. This entry method only supports 32-bit pointers.The hello.asm program should be updated to use the native
syscall
instruction on x86-64 systems to avoid this problem.See downstream bug report: https://bugs.gentoo.org/668070