1 year ago
#75309
Nick
C++ binary gives error FATAL: kernel too old
I did compiled a C++ statically linked program on Archlinux and try to run it on CentOS 7 and I got
FATAL: kernel too old
Same happen if I use clang.
However, on same Archlinux I have container with CentOS 7. It uses same kernel, but older version of gcc.
If I do so, I do not get such message, so problem not seems to be with the kernel.
Is there a way to compile it with some option so it will run on CentOS 7?
Versions:
__Archlinux__: (binary say: kernel too old)
Kernel 5.14.16
gcc version 11.1.0
clang version 13.0.0
__Archlinux container__: (binary works)
Kernel 5.14.16
gcc version 7.3.1
__CentOS 7__
kernel 3.10.0
gcc
linux-kernel
0 Answers
Your Answer