Bug #76172 [NEW]: current 7.2 HAED is broken (ext/intl)
| From: | spam2 at rhsoft dot net | Date: | Sat, 31 Mar 2018 20:45:49 +0000 |
| Subject: | Bug #76172 [NEW]: current 7.2 HAED is broken (ext/intl) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-214552@lists.php.net to get a copy of this message | ||
From: spam2 at rhsoft dot net
Operating system: Linux
PHP version: 7.2Git-2018-03-31 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:current 7.2 HAED is broken (ext/intl)
Description:
------------
https://git.php.net/?p=php-src.git;a=snapshot;h=aaae3637e026ca561a235321df68d8e7e36fefbd;sf=tgz
7.2.0 release and the 7.2 snapshots some days ago worked fine, nothing
else changed
libicu-57.1-9.fc27.x86_64
libicu-devel-57.1-9.fc27.x86_64
PHP::CodePointBreakIterator::~CodePointBreakIterator(): error: undefined
reference to 'icu_57::UMemory::operator delete(void*)'
ext/intl/breakiterator/.libs/rulebasedbreakiterator_methods.o:rulebasedbreakiterator_methods.cpp:function
zim_IntlRuleBasedBreakIterator___construct: error: undefined reference
to 'intl_parse_error_to_string'
ext/intl/breakiterator/.libs/rulebasedbreakiterator_methods.o:rulebasedbreakiterator_methods.cpp:function
zif_rbbi_get_rules: error: undefined reference to
'icu_57::UnicodeString::UnicodeString(icu_57::UnicodeString const&)'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::~CodePointBreakIterator(): error: undefined
reference to 'utext_close_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::getText() const: error: undefined reference
to 'icu_57::UCharCharacterIterator::UCharCharacterIterator(unsigned
short const*, int)'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::setText(icu_57::UnicodeString const&):
error: undefined reference to 'utext_openConstUnicodeString_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::adoptText(icu_57::CharacterIterator*):
error: undefined reference to 'utext_openCharacterIterator_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::first(): error: undefined reference to
'utext_setNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::last(): error: undefined reference to
'utext_nativeLength_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::last(): error: undefined reference to
'utext_setNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::previous(): error: undefined reference to
'utext_previous32_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::next(): error: undefined reference to
'utext_next32_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::following(int): error: undefined reference
to 'utext_next32From_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::preceding(int): error: undefined reference
to 'utext_previous32From_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::isBoundary(int): error: undefined reference
to 'utext_setNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::isBoundary(int): error: undefined reference
to 'utext_getNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::next(int): error: undefined reference to
'utext_moveIndex32_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::next(int): error: undefined reference to
'utext_current32_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::refreshInputText(UText*, UErrorCode&):
error: undefined reference to 'utext_getNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::refreshInputText(UText*, UErrorCode&):
error: undefined reference to 'utext_clone_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::refreshInputText(UText*, UErrorCode&):
error: undefined reference to 'utext_setNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::refreshInputText(UText*, UErrorCode&):
error: undefined reference to 'utext_getNativeIndex_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::operator==(icu_57::BreakIterator const&)
const: error: undefined reference to 'utext_equals_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::setText(UText*, UErrorCode&): error:
undefined reference to 'utext_clone_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::CodePointBreakIterator(): error: undefined
reference to 'icu_57::BreakIterator::BreakIterator()'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::CodePointBreakIterator(): error: undefined
reference to 'utext_openUChars_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::operator=(PHP::CodePointBreakIterator
const&): error: undefined reference to 'utext_clone_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::getUText(UText*, UErrorCode&) const: error:
undefined reference to 'utext_clone_57'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::~CodePointBreakIterator(): error: undefined
reference to 'icu_57::BreakIterator::~BreakIterator()'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:function
PHP::CodePointBreakIterator::~CodePointBreakIterator(): error: undefined
reference to 'icu_57::UMemory::operator delete(void*)'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:typeinfo
for PHP::CodePointBreakIterator: error: undefined reference to 'typeinfo
for icu_57::BreakIterator'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:vtable
for PHP::CodePointBreakIterator: error: undefined reference to
'icu_57::BreakIterator::getRuleStatus() const'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:codepointiterator_internal.cpp:vtable
for PHP::CodePointBreakIterator: error: undefined reference to
'icu_57::BreakIterator::getRuleStatusVec(int*, int, UErrorCode&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:313: sapi/cli/php] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/builduser/rpmbuild/BUILD/php-7.2.5/Zend/zend_bitset.h:146:2: note:
loop vectorized
/home/builduser/rpmbuild/BUILD/php-7.2.5/Zend/zend_bitset.h:146:2: note:
loop versioned for vectorization because of possible aliasing
make: *** [Makefile:296: prof-gen] Error 2
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.BQIJgN (%build)
Test script:
---------------
[builduser@testserver:/rpmbuild/SPECS]$ rpmbuild -bb php.spec
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.Cu8ac4
+ umask 022
+ cd /home/builduser/rpmbuild/BUILD
+ export LANG=C
+ LANG=C
+ cd /home/builduser/rpmbuild/BUILD
+ rm -rf php-7.2.5
+ /usr/bin/xz -dc /home/builduser/rpmbuild/SOURCES/php-7.2.5.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd php-7.2.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (php-71-realpath-cache-openbasedir.patch):'
Patch #1 (php-71-realpath-cache-openbasedir.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .realpath-71
--fuzz=0
patching file main/main.c
Hunk #1 succeeded at 1667 (offset 21 lines).
Hunk #2 succeeded at 2270 (offset 34 lines).
+ echo 'Patch #3 (php-72-systzdata.patch):'
Patch #3 (php-72-systzdata.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systzdata-72
--fuzz=0
patching file ext/date/lib/parse_tz.c
patching file ext/date/lib/timelib.m4
+ tar xzf /rpmbuild/SOURCES/apcu-5.1.11.tgz
+ mv apcu-5.1.11 ./ext/apcu
+ '[' -f /usr/bin/php ']'
+ /usr/bin/php ext/fileinfo/create_data_file.php
/usr/share/misc/magic.mgc
+ '[' -f /usr/bin/php ']'
+ /usr/bin/php Zend/zend_vm_gen.php --with-vm-kind=HYBRID
zend_vm_opcodes.h generated successfully.
zend_vm_opcodes.c generated successfully.
zend_vm_execute.h generated successfully.
+ rm -f TSRM/tsrm_win32.h TSRM/tsrm_config.w32.h Zend/zend_config.w32.h
ext/mysqlnd/config-win.h ext/standard/winver.h
main/win32_internal_function_disabled.h main/win95nt.h
+ find . -name '*.[ch]' -exec chmod 644 '{}' ';'
+ xargs rm -f
+ rm -rf ext/openssl/tests/
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.BQIJgN
+ umask 022
+ cd /home/builduser/rpmbuild/BUILD
+ cd php-7.2.5
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
+ cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4
/usr/share/aclocal/lt~obsolete.m4
+ libtoolize --force --copy --quiet
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
++ aclocal --print-ac-dir
+ cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4
/usr/share/aclocal/lt~obsolete.m4
+ touch configure.ac
+ ./buildconf --force
Forcing buildconf
Removing configure caches
buildconf: checking installation...
buildconf: autoconf version 2.69 (ok)
rebuilding aclocal.m4
rebuilding configure
rebuilding main/php_config.h.in
+ QUIET_FLAG=--quiet
+ OPCACHE_JIT=
+ export 'CFLAGS=-m64 -O3 -mfpmath=sse -mavx -msse2avx
-march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -Wstrict-aliasing
-Wa,--noexecstack'
+ CFLAGS='-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack'
+ export 'CC=gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx
-march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -Wstrict-aliasing
-Wa,--noexecstack'
+ CC='gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack'
+ export 'CXXFLAGS=-m64 -O3 -mfpmath=sse -mavx -msse2avx
-march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -Wstrict-aliasing
-Wa,--noexecstack'
+ CXXFLAGS='-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack'
+ export 'CPPFLAGS=-m64 -O3 -mfpmath=sse -mavx -msse2avx
-march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -Wstrict-aliasing
-Wa,--noexecstack'
+ CPPFLAGS='-m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack'
+ export 'CXX=gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx
-march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -Wstrict-aliasing
-Wa,--noexecstack'
+ CXX='gcc -m64 -O3 -mfpmath=sse -mavx -msse2avx -march=sandybridge
-mtune=sandybridge -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack'
+ export '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
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -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 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack'
+ export '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
-D_GLIBCXX_ASSERTIONS -fgraphite-identity -floop-unroll-and-jam
-ftree-vectorize -fopt-info-vec-optimized -fsplit-loops
-fmerge-all-constants -fomit-frame-pointer -fsemantic-interposition
-fstack-protector-strong --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=dynamic
-fsimd-cost-model=dynamic -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 -Wno-deprecated-declarations -Wstrict-aliasing
-Wa,--noexecstack -pie -fPIE'
+ 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 -D_GLIBCXX_ASSERTIONS
-fgraphite-identity -floop-unroll-and-jam -ftree-vectorize
-fopt-info-vec-optimized -fsplit-loops -fmerge-all-constants
-fomit-frame-pointer -fsemantic-interposition -fstack-protector-strong
--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=dynamic -fsimd-cost-model=dynamic -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
-Wno-deprecated-declarations -Wstrict-aliasing -Wa,--noexecstack -pie
-fPIE'
+ export EXTENSION_DIR=/usr/lib64/php/modules
+ EXTENSION_DIR=/usr/lib64/php/modules
+ ./configure --quiet --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
--enable-apcu=shared --enable-bcmath=shared --enable-calendar=shared
--enable-cli --enable-ctype=shared --enable-dom=shared
--enable-exif=shared --enable-fileinfo=shared --enable-filter
--enable-gcc-global-regs --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-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-dir=/usr --with-zlib=shared --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
--disable-debug --without-valgrind --disable-valgrind-checks
This is the test message -- configure: WARNING: PHP is going to be
linked with an external PCRE, --with-pcre-valgrind has no effect
configure: WARNING: APCu has access to native rwlocks
configure: WARNING: Phar: sha256/sha512 signature support disabled if
ext/hash is built shared
creating main/internal_functions.c
creating main/internal_functions_cli.c
Expected result:
----------------
build of PHP 7.2.5-dev
Actual result:
--------------
build fails
--
Edit bug report at https://bugs.php.net/bug.php?id=76172&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76172&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76172&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76172&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76172&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76172&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76172&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76172&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76172&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76172&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76172&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76172&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76172&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76172&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76172&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76172&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76172&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76172&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76172&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76172&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76172&r=mysqlcfg