php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81202 no rule for make_ppc_sysv_elf_gas.S
Submitted: 2021-06-26 07:36 UTC Modified: 2021-06-26 08:15 UTC
From: daniel at mariadb dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 8.1.0alpha2 OS: Linux (Debian) ppc64le
Private report: No CVE-ID: None
 [2021-06-26 07:36 UTC] daniel at mariadb dot org
Description:
------------
From https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/php/435/execution/node/55/log/?consoleFull

 ./configure --build=powerpc64le-linux-gnu --with-config-file-path=/usr/local/etc/php --with-config-file-scan-dir=/usr/local/etc/php/conf.d --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib --with-pear --with-libdir=lib/powerpc64le-linux-gnu --enable-embed
....


Actual result:
--------------
make: *** No rule to make target '/usr/src/php/Zend/asm/make_ppc_sysv_elf_gas.S', needed by 'Zend/asm/make_ppc_sysv_elf_gas.lo'.  Stop.
make: *** Waiting for unfinished jobs....

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-26 08:15 UTC] krakjoe@php.net
If you are able, please apply the following patch:

diff --git a/configure.ac b/configure.ac
index e63c0b969f..ff69417994 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1200,7 +1200,7 @@ AS_CASE([$host_cpu],
   [x86*|amd*|i?86*|pentium], [fiber_cpu="i386"],
   [aarch64*|arm64*], [fiber_cpu="arm64"],
   [arm*], [fiber_cpu="arm32"],
-  [ppc64*], [fiber_cpu="ppc64"],
+  [ppc64*|powerpc64*], [fiber_cpu="ppc64"],
   [powerpc*], [fiber_cpu="ppc32"],
   [s390x*], [fiber_cpu="s390x"],
   [mips64*], [fiber_cpu="mips64"],
 [2021-06-26 08:15 UTC] krakjoe@php.net
-Status: Open +Status: Feedback
 [2021-06-26 08:17 UTC] krakjoe@php.net
The following pull request has been associated:

Patch Name: Fix #81202 powerpc64 build fails on fibers
On GitHub:  https://github.com/php/php-src/pull/7198
Patch:      https://github.com/php/php-src/pull/7198.patch
 [2021-06-26 13:39 UTC] git@php.net
Automatic comment on behalf of krakjoe
Revision: https://github.com/php/php-src/commit/39a54e2c319e3fd39e8276d905d67608a0736567
Log: Fix #81202 powerpc64 build fails on fibers
 [2021-06-26 13:39 UTC] git@php.net
-Status: Feedback +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC