Bug #78769 [Opn]: BREAKAGE: Remove configure checks for supported instruction sets

From: Date: Fri, 01 Nov 2019 09:42:39 +0000
Subject: Bug #78769 [Opn]: BREAKAGE: Remove configure checks for supported instruction sets
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223544@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78769&edit=1 ID: 78769 Updated by: nikic@php.net Reported by: bugreports1 at gmail dot com Summary: BREAKAGE: Remove configure checks for supported instruction sets Status: Open Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 7.4Git-2019-11-01 (Git) Block user comment: N Private report: N New Comment: Before reverting this, I'd like to understand why it causes a problem, because I really don't see it based on code inspection alone... Could you please provide your configure output, or at least what the result for these four queries are? checking for __builtin_cpu_init... yes checking for __builtin_cpu_supports... yes ... checking for __attribute__((ifunc))... yes checking for __attribute__((target))... yes Previous Comments: ------------------------------------------------------------------------ [2019-11-01 02:44:31] bugreports1 at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=78769&edit=1

« previous php.bugs (#223544) next »