i don't think it's really helpful opening everytime new bugreports and
so i changed our build to use "make --quiet" - collected output at the
bottom and flags/configure at begin to provide some context
they are not at a really high count and probably worse to get silenced
first "prof-gen" and the "prof-use" which enables implicit optimizations
where i am not sure if it makes a difference
-
CXX='gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively
-fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8
-fstrict-aliasing -ftree-loop-distribution -ftree-loop-if-convert
-ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse
-fno-math-errno -fuse-ld=gold -fuse-linker-plugin -Wformat
-Werror=format-security -Wno-stack-protector -Wstrict-aliasing
-Wa,--noexecstack' -
SH_LDFLAGS='-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack
-Wl,-z,nodump -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively
-fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8
-fstrict-aliasing -ftree-loop-distribution -ftree-loop-if-convert
-ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse
-fno-math-errno -fuse-ld=gold -fuse-linker-plugin -Wformat
-Werror=format-security -Wno-stack-protector -Wstrict-aliasing
-Wa,--noexecstack' -
LDFLAGS='-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack
-Wl,-z,nodump -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -fdevirtualize-speculatively
-fgraphite-identity -fipa-pta -fira-loop-pressure -fivopts -floop-block
-floop-unroll-and-jam -fmerge-all-constants -fomit-frame-pointer
-fsemantic-interposition -fstack-protector --param=ssp-buffer-size=8
-fstrict-aliasing -ftree-loop-distribution -ftree-loop-if-convert
-ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon
-fvariable-expansion-in-unroller -fvect-cost-model=unlimited -fwrapv -g0
-minline-all-stringops -pipe -fno-align-labels -fno-exceptions -fno-gcse
-fno-math-errno -fuse-ld=gold -fuse-linker-plugin -Wformat
-Werror=format-security -Wno-stack-protector -Wstrict-aliasing
-Wa,--noexecstack -pie -fPIE'
- ./configure --host=x86_64-redhat-linux --build=x86_64-redhat-linux
--target=x86_64-redhat-linux --prefix=/usr --program-prefix=
--libdir=/usr/lib64/php --disable-all --disable-dependency-tracking
--enable-bcmath=shared --enable-calendar=shared --enable-cli
--enable-ctype=shared --enable-dom=shared --enable-exif=shared
--enable-fileinfo=shared --enable-filter --enable-hash=shared
--enable-huge-code-pages --enable-inline-optimization
--enable-intl=shared --enable-json=shared --enable-libxml
--enable-mbregex --enable-mbstring=shared --enable-mysqlnd=shared
--enable-opcache=shared --enable-opcache-jit --enable-pcntl=shared
--enable-pdo=shared --enable-phar=shared --enable-posix=shared
--enable-re2c-cgoto --enable-session=shared --enable-shared
--enable-simplexml=shared --enable-soap=shared --enable-sockets=shared
--enable-tokenizer=shared --enable-xml=shared --enable-xmlreader=shared
--enable-xmlwriter=shared --enable-zip=shared --with-apxs2=/usr/bin/apxs
--with-bz2=shared,/usr --with-config-file-path=/etc
--with-config-file-scan-dir=/etc/php.lounge.d --with-curl=shared,/usr
--with-freetype-dir=/usr --with-gd=shared,/usr
--with-gettext=shared,/usr --with-iconv=shared --with-imap-ssl=/usr
--with-imap=shared,/usr --with-kerberos=/usr --with-layout=GNU
--with-libdir=lib64 --with-libedit=shared,/usr --with-libxml-dir=/usr
--with-libzip=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock
--with-mysqli=shared,mysqlnd --with-openssl=shared,/usr --with-pcre-jit
--with-pcre-regex=/usr --with-pdo-mysql=shared,mysqlnd --with-pic
--with-system-ciphers --with-system-tzdata --with-tidy=shared,/usr
--with-zlib=shared --with-zlib-dir=/usr --disable-cgi --disable-dmalloc
--disable-dtrace --disable-gcov --disable-gd-jis-conv --disable-ipv6
--disable-mysqlnd-compression-support --disable-opcache-file
--disable-phpdbg --disable-rpath --disable-short-tags --disable-static
--enable-gcc-global-regs --disable-debug
- make --quiet -j8 prof-gen
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha512.c: In
function 'sha512_finish_ctx':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha512.c:267:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3);
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha512.c:268:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) |
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha256.c: In
function 'sha256_finish_ctx':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha256.c:240:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3);
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha256.c:241:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) |
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php_ini.c: In function
'php_init_config':
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php_ini.c:699:5: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
strlcat(php_ini_scanned_files, *(char **)element->data, total_l);
^~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/streams/plain_wrapper.c:
In function 'php_plain_files_dirstream_read':
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/streams/plain_wrapper.c:908:2:
warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
if (php_readdir_r(dir, (struct dirent *)entry, &result) == 0 && result) {
^~
In file included from
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_virtual_cwd.h:91:0,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php.h:411,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/streams/plain_wrapper.c:21:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR __restrict __dirp,
^~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_execute_API.c: In
function 'zend_timeout_handler':
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_execute_API.c:1231:4:
warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
write(2, log_buffer, MIN(output_len, sizeof(log_buffer)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/sapi/apache2handler/sapi_apache2.c:
In function 'php_ap2_register_hook':
/home/builduser/rpmbuild/BUILD/php-7.1.8/sapi/apache2handler/sapi_apache2.c:755:21:
warning: passing argument 1 of 'ap_hook_child_init' from incompatible
pointer type [-Wincompatible-pointer-types]
ap_hook_child_init(zend_signal_init, NULL, NULL, APR_HOOK_MIDDLE);
^~~~~~~~~~~~~~~~
In file included from /usr/include/httpd/ap_hooks.h:40:0,
from /usr/include/httpd/ap_config.h:25,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/sapi/apache2handler/sapi_apache2.c:41:
/usr/include/httpd/ap_hooks.h:75:35: note: expected 'void ()(apr_pool_t
*, server_rec ) {aka void ()(struct apr_pool_t *, struct server_rec
)}' but argument is of type 'void ()(void)'
APR_DECLARE_EXTERNAL_HOOK(ap,AP,ret,name,args)
^
/usr/include/apr-1/apr_hooks.h:120:22: note: in definition of macro
'APR_DECLARE_EXTERNAL_HOOK'
link##_DECLARE(void) ns##hook##name(ns##HOOK##name##_t *pf,
^~
/usr/include/httpd/http_config.h:1312:1: note: in expansion of macro
'AP_DECLARE_HOOK'
AP_DECLARE_HOOK(void,child_init,(apr_pool_t *pchild, server_rec *s))
^~~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c: In
function 'TigerFinalize':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:151:3:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((uint64_t *) context->buffer),
context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:169:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((uint64_t *) context->buffer),
context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c: In
function 'PHP_TIGERUpdate':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:209:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((const uint64_t )
context->buffer), context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:216:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((const uint64_t )
context->buffer), context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c: In function
'_php_iconv_strpos':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1055:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1055:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(&ZSTR_VAL(ndl_buf)[j],
&ZSTR_VAL(ndl_buf)[i],
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, &ZSTR_VAL(ndl_buf)[i], sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1096:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1096:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(&ZSTR_VAL(ndl_buf)[j], &ZSTR_VAL(ndl_buf)[i],
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, &ZSTR_VAL(ndl_buf)[i], sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c: In function
'php_intl_idn_to':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:229:4:
warning: 'uidna_IDNToASCII_57' is deprecated [-Wdeprecated-declarations]
converted_ret_len = uidna_IDNToASCII(ustring, ustring_len,
converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/unicode/platform.h:23:0,
from /usr/include/unicode/ptypes.h:50,
from /usr/include/unicode/umachine.h:44,
from /usr/include/unicode/utypes.h:36,
from /usr/include/unicode/uidna.h:20,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:28:
/usr/include/unicode/uidna.h:673:1: note: declared here
uidna_IDNToASCII( const UChar src, int32_t srcLength,
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:231:4:
warning: 'uidna_IDNToUnicode_57' is deprecated [-Wdeprecated-declarations]
converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len,
converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/unicode/platform.h:23:0,
from /usr/include/unicode/ptypes.h:50,
from /usr/include/unicode/umachine.h:44,
from /usr/include/unicode/utypes.h:36,
from /usr/include/unicode/uidna.h:20,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:28:
/usr/include/unicode/uidna.h:720:1: note: declared here
uidna_IDNToUnicode( const UChar src, int32_t srcLength,
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/phar/tar.c: In function
'phar_tar_flush':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/phar/tar.c:1249:3: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
PHAR_SET_32(sigbuf, phar->sig_flags);
^~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/session/mod_files.c: In
function 'ps_files_cleanup_dir':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/session/mod_files.c:315:2:
warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 &&
entry) {
^~~~~
In file included from
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_virtual_cwd.h:91:0,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php.h:411,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/session/mod_files.c:55:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
- make --quiet prof-clean
- make --quiet -j8 prof-use
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha512.c: In
function 'sha512_finish_ctx':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha512.c:267:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3);
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha512.c:268:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) |
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha256.c: In
function 'sha256_finish_ctx':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha256.c:240:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3);
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/standard/crypt_sha256.c:241:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
*(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) |
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php_ini.c: In function
'php_init_config':
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php_ini.c:699:5: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
strlcat(php_ini_scanned_files, *(char **)element->data, total_l);
^~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/streams/plain_wrapper.c:
In function 'php_plain_files_dirstream_read':
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/streams/plain_wrapper.c:908:2:
warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
if (php_readdir_r(dir, (struct dirent *)entry, &result) == 0 && result) {
^~
In file included from
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_virtual_cwd.h:91:0,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php.h:411,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/streams/plain_wrapper.c:21:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR __restrict __dirp,
^~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_execute_API.c: In
function 'zend_timeout_handler':
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_execute_API.c:1231:4:
warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
write(2, log_buffer, MIN(output_len, sizeof(log_buffer)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/sapi/apache2handler/sapi_apache2.c:
In function 'php_ap2_register_hook':
/home/builduser/rpmbuild/BUILD/php-7.1.8/sapi/apache2handler/sapi_apache2.c:755:21:
warning: passing argument 1 of 'ap_hook_child_init' from incompatible
pointer type [-Wincompatible-pointer-types]
ap_hook_child_init(zend_signal_init, NULL, NULL, APR_HOOK_MIDDLE);
^~~~~~~~~~~~~~~~
In file included from /usr/include/httpd/ap_hooks.h:40:0,
from /usr/include/httpd/ap_config.h:25,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/sapi/apache2handler/sapi_apache2.c:41:
/usr/include/httpd/ap_hooks.h:75:35: note: expected 'void ()(apr_pool_t
*, server_rec ) {aka void ()(struct apr_pool_t *, struct server_rec
)}' but argument is of type 'void ()(void)'
APR_DECLARE_EXTERNAL_HOOK(ap,AP,ret,name,args)
^
/usr/include/apr-1/apr_hooks.h:120:22: note: in definition of macro
'APR_DECLARE_EXTERNAL_HOOK'
link##_DECLARE(void) ns##hook##name(ns##HOOK##name##_t *pf,
^~
/usr/include/httpd/http_config.h:1312:1: note: in expansion of macro
'AP_DECLARE_HOOK'
AP_DECLARE_HOOK(void,child_init,(apr_pool_t *pchild, server_rec *s))
^~~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c: In
function 'TigerFinalize':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:151:3:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((uint64_t *) context->buffer),
context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:169:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((uint64_t *) context->buffer),
context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c: In
function 'PHP_TIGERUpdate':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:209:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((const uint64_t )
context->buffer), context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/hash/hash_tiger.c:216:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
tiger_compress(context->passes, ((const uint64_t )
context->buffer), context->state);
^~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c: In function
'_php_iconv_strpos':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1055:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1055:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(&ZSTR_VAL(ndl_buf)[j],
&ZSTR_VAL(ndl_buf)[i],
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1073:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, &ZSTR_VAL(ndl_buf)[i], sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1083:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1096:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1096:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(&ZSTR_VAL(ndl_buf)[j], &ZSTR_VAL(ndl_buf)[i],
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1116:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (_php_iconv_memequal(buf, &ZSTR_VAL(ndl_buf)[i], sizeof(buf))) {
^~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/iconv/iconv.c:1126:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c: In function
'php_intl_idn_to':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:229:4:
warning: 'uidna_IDNToASCII_57' is deprecated [-Wdeprecated-declarations]
converted_ret_len = uidna_IDNToASCII(ustring, ustring_len,
converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/unicode/platform.h:23:0,
from /usr/include/unicode/ptypes.h:50,
from /usr/include/unicode/umachine.h:44,
from /usr/include/unicode/utypes.h:36,
from /usr/include/unicode/uidna.h:20,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:28:
/usr/include/unicode/uidna.h:673:1: note: declared here
uidna_IDNToASCII( const UChar src, int32_t srcLength,
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:231:4:
warning: 'uidna_IDNToUnicode_57' is deprecated [-Wdeprecated-declarations]
converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len,
converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/unicode/platform.h:23:0,
from /usr/include/unicode/ptypes.h:50,
from /usr/include/unicode/umachine.h:44,
from /usr/include/unicode/utypes.h:36,
from /usr/include/unicode/uidna.h:20,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/intl/idn/idn.c:28:
/usr/include/unicode/uidna.h:720:1: note: declared here
uidna_IDNToUnicode( const UChar src, int32_t srcLength,
^
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/phar/tar.c: In function
'phar_tar_flush':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/phar/tar.c:1249:3: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
PHAR_SET_32(sigbuf, phar->sig_flags);
^~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/session/mod_files.c: In
function 'ps_files_cleanup_dir':
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/session/mod_files.c:315:2:
warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 &&
entry) {
^~~~~
In file included from
/home/builduser/rpmbuild/BUILD/php-7.1.8/Zend/zend_virtual_cwd.h:91:0,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/main/php.h:411,
from
/home/builduser/rpmbuild/BUILD/php-7.1.8/ext/session/mod_files.c:55:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~