From: ("Christoph M. Becker")
Date:  29 Dec 2018 02:05:57 Hong Kong Time

--enable-native-intrinsics issue

NNTP-Posting-Host:  null


I've just noticed the --enable-native-intrinsics configure option, and
did the following on a machine which does not support AVX2:

  configure --disable-all --enable-cli --enable-debug

The build succeeds (without particular warning), but running `php -v`
crashes the program with:

  Exception thrown at 0x00007FFC7ED8F70A (php7ts_debug.dll) in php.exe:
0xC000001D: Illegal Instruction.

Wouldn't it be possible to somehow detect missing support for certain
required SIMD extension sets, and bail out gracefully (including
reporting the problem) if the executable can't run on the present machine?

Christoph M. Becker