title: C++ binary gives error FATAL: kernel too old
body: <p>I did compiled a C++ statically linked program on Archlinux and try to run it on CentOS 7 and I got</p>
  <pre><code>FATAL: kernel too old
  </code></pre>
  <p>Same happen if I use clang.</p>
  <p>However, on same Archlinux I have container with CentOS 7. It uses same kernel, but older version of gcc.</p>
  <p>If I do so, I do not get such message, so problem not seems to be with the kernel.</p>
  <p>Is there a way to compile it with some option so it will run on CentOS 7?</p>
  <h3>Versions:</h3>
  <pre><code>__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
  </code></pre>