php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76172 current 7.2 HAED is broken (ext/intl)
Submitted: 2018-03-31 20:45 UTC Modified: 2018-04-03 11:48 UTC
From: spam2 at rhsoft dot net Assigned: ab (profile)
Status: Closed Package: Compile Failure
PHP Version: 7.2Git-2018-03-31 (Git) OS: Linux
Private report: No CVE-ID: None
 [2018-03-31 20:45 UTC] spam2 at rhsoft dot net
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-02 12:02 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2018-04-02 12:02 UTC] ab@php.net
Thanks for the report. Looks like there are some old objects are laying around in the build dir, or some other ICU libs version is present on teh path. There was also some changes in the build scripts, so be sure you regenerate configure. The build issue of this kind doesn't seem new, furthermore i was able to build the current dev branch on F27 with no issue.

Thanks.
 [2018-04-02 12:14 UTC] spam2 at rhsoft dot net
would you be so kind and scroll donw to "test script" because as you can see it is a rpmbuold on a rpm system with no single package out-of-tree

"like there are some old objects are laying around in the build dir" is impossible, rpmbuild creates a freh builddir and buiuldroot

"some other ICU libs version is present on the path" is not possible on a rpm based system

"so be sure you regenerate configure" - snapshots don't contain ./configure and so thats mandatory anyways

"furthermore i was able to build the current dev branch on F27 with no issue" - well, that maybe possible with an ordinay "./configure && make" but again: look at the "Test script:" in the initial report beause you see there every compiler, falg, configure-param and so on and the rpm.spec build the 7.2 GA release as well as it built 7.2.5-dev tarballs in the past
 [2018-04-02 23:30 UTC] ab@php.net
-Assigned To: +Assigned To: ab
 [2018-04-03 09:25 UTC] ab@php.net
-Status: Feedback +Status: Closed
 [2018-04-03 09:25 UTC] ab@php.net
Thanks for the further info. The issue is fixed per 2bd299f7318492fd7e5cafffa562d76ba60e69d4. The issue was introduced with fixes to ICU 61.1 compatibility.

Thanks.
 [2018-04-03 09:48 UTC] spam2 at rhsoft dot net
confirmed, https://git.php.net/?p=php-src.git;a=snapshot;h=062f93c93e6aeeda4bedbfcd9a100ab8e01f2180;sf=tgz builds fine again "make profgen" finished and now PGO profiling is running
 [2018-04-03 11:48 UTC] ab@php.net
Thanks for the check!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 08:01:30 2024 UTC