Bug #78769 [NEW]: BREAKAGE: Remove configure checks for supported instruction sets
| From: | bugreports1 at gmail dot com | Date: | Fri, 01 Nov 2019 02:44:31 +0000 |
| Subject: | Bug #78769 [NEW]: BREAKAGE: Remove configure checks for supported instruction sets | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223543@lists.php.net to get a copy of this message | ||
From: bugreports1 at gmail dot com
Operating system: Linux
PHP version: 7.4Git-2019-11-01 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:BREAKAGE: Remove configure checks for supported instruction sets
Description:
------------
https://git.php.net/?p=php-src.git;a=commitdiff;h=edccf32f7f36a8bc759b9482737e0c3efcb3a005
breaks build on sandybridge (export 'CFLAGS=-m64 -O3 -mfpmath=sse
-msse2avx -mavx -march=sandybridge -mtune=sandybridge..')
--------------------
the last working 7.4 commit:
Fix bug #77930: Remove mmap limit commit | commitdiff | tree | snapshot
(zip tar.gz)
--------------------
smells like the binary contains AVX2 code which is called at runtime
+ /usr/bin/bash /rpmbuild/PHP-PGO/profile.sh --php_build
/home/builduser/rpmbuild/BUILD/php-7.4.0
-----------------------------------------------------------------------------------------
COLLECT DATA FOR PROFILE-GUIDED-OPTIMIZATION
HTTPD-BINARY: /usr/sbin/httpd
PHP-MODULE:
/home/builduser/rpmbuild/BUILD/php-7.4.0/libs/libphp7.so
PHP-EXTENSIONS: /home/builduser/rpmbuild/BUILD/php-7.4.0/modules
PHP-CLI: /home/builduser/rpmbuild/BUILD/php-7.4.0/sapi/cli/php
-----------------------------------------------------------------------------------------
/rpmbuild/PHP-PGO/profile.sh: line 174: 750493 Segmentation fault
(core dumped) $HTTPD_BINARY -X -f "$PROFILE_ROOT/httpd.conf"
NO WEBSERVER PID-FILE
/rpmbuild/PHP-PGO/profile.sh: line 240: 750596 Segmentation fault
(core dumped) $HTTPD_BINARY -X -f "$PROFILE_ROOT/httpd.conf" -k stop 2>
'/dev/null'
PROFILING ERROR
error: Bad exit status from /var/tmp/rpm-tmp.RfcsMd (%build)
--
Edit bug report at https://bugs.php.net/bug.php?id=78769&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78769&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78769&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78769&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78769&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78769&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78769&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78769&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78769&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78769&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78769&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78769&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78769&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78769&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78769&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78769&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78769&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78769&r=mysqlcfg