Edit report at https://bugs.php.net/bug.php?id=65120&edit=1

 ID:                 65120
 User updated by:    php-bugs-2013 at ryandesign dot com
 Reported by:        php-bugs-2013 at ryandesign dot com
 Summary:            fpm build fails on ppc: #error Unsupported processor
-Status:             Feedback
+Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Mac OS X 10.5.8
 PHP Version:        5.5.0
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2013-06-25 15:56:54] fel...@php.net

Can you provide a patch that works on such architecture?

------------------------------------------------------------------------
[2013-06-25 08:55:27] 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).



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65120&edit=1

Reply via email to