Bug #81507 [PATCH]: Fiber does not compile

From: Date: Sun, 31 Oct 2021 04:16:39 +0000
Subject: Bug #81507 [PATCH]: Fiber does not compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237470@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81507&edit=1 ID: 81507 Patch added by: sample@email.tst Reported by: etienne dot guesnet at atos dot net Summary: Fiber does not compile Status: Open Type: Bug Package: Compile Failure Operating System: AIX PHP Version: 8.1.0RC3 Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: HcPcEgmp Revision: 1635653799 URL: https://bugs.php.net/patch-display.php?bug=81507&patch=HcPcEgmp&revision=1635653799 Previous Comments: ------------------------------------------------------------------------ [2021-10-15 07:19:45] chigot dot c at gmail dot com The following pull request has been associated: Patch Name: Zend/asm: adjust XCOFF asm files for AIX assembler On GitHub: https://github.com/php/php-src/pull/7579 Patch: https://github.com/php/php-src/pull/7579.patch ------------------------------------------------------------------------ [2021-10-11 07:58:25] etienne dot guesnet at atos dot net Build in 64 bits works with host as powerpc64-ibm-aix. However, it is not an official target: powerpc-ibm-aix is both 32 and 64 bits. As an example, GCC is built on 32 and 64 bits on AIX with the same host build. I confirm build in 32 bits is broken due to "make_ppc32_sysv_xcoff_gas.S", but the reason is more complex that I have expected. Our ASM expert will have a look. ------------------------------------------------------------------------ [2021-10-05 14:28:39] nikic@php.net I'm not familiar with PowerPC or AIX, but this sounds like it's effectively doing a cross-compile, in which case you need to specify a correct --build triple. Similar to how you need to set --build=i686-linux-gnu when using -m32 on a 64-bit system. Does it work if you specify a powerpc64-* triple? ------------------------------------------------------------------------ [2021-10-05 14:26:01] etienne dot guesnet at atos dot net Is there a way to tag @NattyNarwhal? ------------------------------------------------------------------------ [2021-10-05 14:24:03] etienne dot guesnet at atos dot net Description: ------------ I cannot build PHP 7.1.0RC3 on AIX 7.1 due to a bug in Fiber part. On 64 bits (-maix64 and OBJECT_MODE=64 used), host remains "powerpc-ibm-aix7.1.5.0", so "$fiber_os" is "ppc32", and 32 bits PPC asm is used "make_ppc32_sysv_xcoff_gas.S" (configure.ac, line 1200). Attempted behavior: if -maix64 used, 64 bits PPC asm used. On 32 bits, file "make_ppc32_sysv_xcoff_gas.S" does not compile, due to all "(r1)", not supported by AIX assembly. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81507&edit=1

« previous php.bugs (#237470) next »