You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'++nothing+crc' is not a recognized feature for this target (ignoring feature)
'++nothing+crc' is not a recognized feature for this target (ignoring feature)
But I expected this output instead:
(displays nothing)
I think fix below on ext/standard/crc32.c line no 72, however I don't know well to #pragma target .
… macOS compile target (#11796)
#pragma GCC target("+nothing+crc") is means clear outs aarch64_isa_flags.
However, #pragma clang attribute push(__attribute__((target("+nothing+crc") is not means any, then displays ignore feature. (Not reproduce Linux on ARM (ex: Raspberry Pi))
Therefore, Add new #pragma when compiling on M1/M2 macOS.
jorgsowa
pushed a commit
to jorgsowa/php-src
that referenced
this issue
Aug 16, 2023
… M2 macOS compile target (php#11796)
#pragma GCC target("+nothing+crc") is means clear outs aarch64_isa_flags.
However, #pragma clang attribute push(__attribute__((target("+nothing+crc") is not means any, then displays ignore feature. (Not reproduce Linux on ARM (ex: Raspberry Pi))
Therefore, Add new #pragma when compiling on M1/M2 macOS.
Description
Displays
'++nothing+crc' is not a recognized feature for this target (ignoring feature)
when compiling ext/standard/crc32.c on M1 / M2 mac.Resulted in this output:
But I expected this output instead:
(displays nothing)
I think fix below on
ext/standard/crc32.c
line no 72, however I don't know well to#pragma target
.PHP Version
PHP 8.3 (master)
Operating System
macOS 13.4.1
The text was updated successfully, but these errors were encountered: