Bug #76654 [Opn]: Build failure on Mac OS X on 32-bit Intel

From: Date: Mon, 23 Jul 2018 09:41:06 +0000
Subject: Bug #76654 [Opn]: Build failure on Mac OS X on 32-bit Intel
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216405@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76654&edit=1 ID: 76654 Updated by: cmb@php.net Reported by: php-bugs-2018 at ryandesign dot com Summary: Build failure on Mac OS X on 32-bit Intel Status: Open Type: Bug Package: Compile Failure Operating System: Mac OS X 10.6.8 PHP Version: 7.3.0alpha4 Block user comment: N Private report: N New Comment: See <https://github.com/php/php-src/pull/3395>. Previous Comments: ------------------------------------------------------------------------ [2018-07-22 22:32:01] php-bugs-2018 at ryandesign dot com Description: ------------ PHP 7.3.0alpha4 fails to build on Mac OS X 10.6.8 running on a Mac with a 32-bit Intel processor. Here is a log from the MacPorts automated build system: https://build.macports.org/builders/ports-10.6_i386_legacy-builder/builds/45941/steps/install-port/logs/stdio The error is: Zend/zend_cpuinfo.c: In function ‘zend_cpu_startup’: Zend/zend_cpuinfo.c:33: error: can't find a register in class ‘BREG’ while reloading ‘asm’ Zend/zend_cpuinfo.c:33: error: can't find a register in class ‘BREG’ while reloading ‘asm’ Zend/zend_cpuinfo.c:33: error: can't find a register in class ‘BREG’ while reloading ‘asm’ Zend/zend_cpuinfo.c:33: error: ‘asm’ operand has impossible constraints Zend/zend_cpuinfo.c:33: error: ‘asm’ operand has impossible constraints Zend/zend_cpuinfo.c:33: error: ‘asm’ operand has impossible constraints {standard input}:27:non-relocatable subtraction expression, "_cpuinfo" minus "L00000000001$pb" {standard input}:27:symbol: "_cpuinfo" can't be undefined in a subtraction expression {standard input}:21:non-relocatable subtraction expression, "_cpuinfo" minus "L00000000001$pb" {standard input}:21:symbol: "_cpuinfo" can't be undefined in a subtraction expression {standard input}:13:non-relocatable subtraction expression, "_cpuinfo" minus "L00000000001$pb" {standard input}:13:symbol: "_cpuinfo" can't be undefined in a subtraction expression make: *** [Zend/zend_cpuinfo.lo] Error 1 This is a regression; PHP 7.2 and earlier built fine on Macs with 32-bit Intel processors. PHP 7.3.0alpha4 builds fine on Mac OS X 10.6.8 and later on a Mac with a 64-bit Intel processor, and on Mac OS X 10.5.8 on a Mac with a 32-bit PowerPC processor. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76654&edit=1

« previous php.bugs (#216405) next »