php-src/build
Athos Ribeiro 813d942bac Fix detection of unknown gcc function attributes
As described in autoconf-archive upstream [1], from where
`build/ax_gcc_func_attribute.m4` is forked, the old unknown func attr
detection method would throw a false negative anytime an unrelated
warning was raised.

This results in `ax_cv_have_func_attribute_target` being set to `no`
whenever certain compiler Warning flags are switched on. Namely, having
`-Wall` on, which is a default CFLAG for some linux distributions, will
result in

```
warning: ‘bar’ declared ‘static’ but never defined [-Wunused-function]
```

when evaluating support for the `target` function attribute.

With that configuration value set to `no`, the compiled php binaries
will not support x86_64 v3 instructions such as avx2 and sse2, which
should speed up specific tasks ran by PHP.

This issue was originally reported in Ubuntu [2].

[1] http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=df0894ad1a8195df67a52108b931e07d708cec9a
[2] 1882279
Closes GH-8483.
2022-06-02 21:09:09 +01:00
..
ax_check_compile_flag.m4 Upgrade AX_CHECK_COMPILE_FLAG macro to serial 6 2018-07-28 01:40:02 +02:00
ax_func_which_gethostbyname_r.m4 Move Autoconf Archive macros to a common m4 dir 2019-04-23 20:37:31 +02:00
ax_gcc_func_attribute.m4 Fix detection of unknown gcc function attributes 2022-06-02 21:09:09 +01:00
config-stubs Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
config.guess Bump config.guess/config.sub in all supported branches to support Apple Silicon 2021-10-07 17:02:39 +01:00
config.sub Bump config.guess/config.sub in all supported branches to support Apple Silicon 2021-10-07 17:02:39 +01:00
gen_stub.php Verify generated files are up to date in CI 2022-04-21 23:25:47 +02:00
genif.sh Refactor genif.sh 2019-07-08 14:58:26 +02:00
libtool.m4 Merge branch 'PHP-7.4' into PHP-8.0 2020-11-24 15:27:43 +01:00
ltmain.sh Fix libtool to provide a simple way to generate only "shared" object files or libraries. 2020-04-27 23:31:54 +03:00
Makefile.gcov Unbundle ext/xmlrpc 2020-05-29 16:47:44 +02:00
Makefile.global Remove generated zend_jit_x86.c on make clean 2021-02-17 09:45:12 +01:00
order_by_dep.awk Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php.m4 fix #81656: GCC-11 silently ignores -R 2021-12-05 21:06:28 +01:00
php_cxx_compile_stdcxx.m4 Update bundled stdxx check macros 2020-02-08 10:13:46 +01:00
pkg.m4 Backport speling fix 2021-08-25 15:58:28 +01:00
print_include.awk
shtool fix bug #51076 (race condition in shtool's mkdir -p) 2013-10-08 08:37:08 +02:00