php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65120 fpm build fails on ppc: #error Unsupported processor
Submitted: 2013-06-25 08:55 UTC Modified: 2013-10-15 11:54 UTC
From: php-bugs-2013 at ryandesign dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.5.0 OS: Mac OS X 10.5.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-06-25 08:55 UTC] php-bugs-2013 at ryandesign dot com
Description:
------------
Building the fpm sapi fails on a PowerBook G4 with Mac OS X 10.5.8 compiling 
with Apple's gcc 4.0.1 which comes with Xcode, with the following error:



:info:build /bin/sh 
/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_
lang_php/php55-fpm/work/php-5.5.0/libtool --silent --preserve-dup-deps --
mode=compile /usr/bin/gcc-4.0 -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/sapi/fpm -Isapi/fpm/ -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/ -DPHP_ATOM_INC -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/include -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/main -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0 -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/ext/date/lib -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/ext/ereg/regex -
I/Volumes/Data/macports/leopard/include/libxml2 -
I/Volumes/Data/macports/leopard/include -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/TSRM -
I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports
_lang_php/php55-fpm/work/php-5.5.0/Zend  -
I/Volumes/Data/macports/leopard/include -no-cpp-precomp  -pipe -O2 -arch ppc -
fvisibility=hidden  -c 
/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_
lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo 
:info:build In file included from 
/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_
lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm_scoreboard.h:15,
:info:build                  from 
/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_
lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm.c:21:
:info:build 
/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_
lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error 
Unsupported processor. Please open a bug report (bugs.php.net).


Previous bug reports about fpm sapi build failure on PowerPC or POWER processors 
include #51214 (closed as not a bug because fpm wasn't part of php at that 
time); #51772 (closed as no feedback; there was a patch attached but someone 
said it was unstable); #54273 (closed as won't fix because the person handling 
the bug had no access to PowerPC equipment).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-25 15:56 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2013-06-25 15:56 UTC] felipe@php.net
Can you provide a patch that works on such architecture?
 [2013-06-25 21:50 UTC] php-bugs-2013 at ryandesign dot com
-Status: Feedback +Status: Open
 [2013-06-25 21:50 UTC] php-bugs-2013 at ryandesign dot com
I am not a C programmer and I'm not familiar with your code, so I'm probably not 
the best candidate to fix this.
 [2013-07-03 22:01 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2013-07-03 22:01 UTC] felipe@php.net
Can you try the patch attached on bug #51772?
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 03:01:32 2024 UTC