Skip to content
  1. Feb 07, 2021
  2. Feb 06, 2021
  3. Feb 05, 2021
  4. Feb 04, 2021
    • Michael Heimpold's avatar
      php8: fix cross-compiling for x86_64 · 0119aa52
      Michael Heimpold authored
      
      
      The build process uses a minilua helper for code generation
      which must not be compiled with target cross-compiler but
      the host compiler.
      
      This error was spotted by buildbots:
      ext/opcache/minilua /builder/shared-workdir/build/sdk/build_dir/
       target-x86_64_musl/php-8.0.1/ext/opcache/jit/dynasm/dynasm.lua
       -D X64=1 -o ext/opcache/jit/zend_jit_x86.c /builder/shared-workdir
       /build/sdk/build_dir/target-x86_64_musl/php-8.0.1/ext/opcache/jit/zend_jit_x86.dasc
      /bin/bash: ext/opcache/minilua: No such file or directory
      Makefile:406: recipe for target 'ext/opcache/jit/zend_jit_x86.c' failed
      make[4]: *** [ext/opcache/jit/zend_jit_x86.c] Error 127
      
      Signed-off-by: default avatarMichael Heimpold <mhei@heimpold.de>
      0119aa52