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

 ID:               51772
 Updated by:       tony2...@php.net
 Reported by:      vaskes at mail dot ru
 Summary:          php-fpm do not support PowerPC processors
 Status:           Analyzed
 Type:             Bug
 Package:          FPM related
 Operating System: RedHat Ent. server 5.4-ppc64
 PHP Version:      5.3.2
 Assigned To:      fat

 New Comment:

Please try the patch attached.


Previous Comments:
------------------------------------------------------------------------
[2010-06-08 11:45:48] tony2...@php.net

The following patch has been added/updated:

Patch Name: ppc-support
Revision:   1275990348
URL:       
http://bugs.php.net/patch-display.php?bug=51772&patch=ppc-support&revision=1275990348

------------------------------------------------------------------------
[2010-06-08 01:13:06] f...@php.net

I don't have a powerpc to test.



I'll get some code from nginx. Do you have time to test it ?

------------------------------------------------------------------------
[2010-06-07 11:44:26] vaskes at mail dot ru

changed package to FPM related

------------------------------------------------------------------------
[2010-05-08 15:44:04] vaskes at mail dot ru

Description:
------------
PHP-FPM sapi do not support PowerPC processor.

Build server IBM JS20 bladeserver

[r...@headnode ~]# uname -a

Linux headnode.tst.local 2.6.18-194.el5 #1 SMP Tue Mar 16 22:03:12 EDT
2010 ppc64 ppc64 ppc64 GNU/Linux





Test script:
---------------
svn co http://svn.php.net/repository/php/php-src/trunk/sapi/fpm
sapi/fpm

./buildconf --force



./configure --prefix=/opt/php --enable-fpm
--build=powerpc-redhat-linux-gnu --host=powerpc-redhat-linux-gnu
--target=ppc-redhat-linux-gnu

make

make install



Expected result:
----------------
Successfull compilation and php-fpm working

Actual result:
--------------
/bin/sh /home/php-5.3.2/libtool --silent --preserve-dup-deps
--mode=compile cc  -I/home/php-5.3.2/sapi/fpm -Isapi/fpm/
-I/home/php-5.3.2/sapi/fpm/ -DPHP_ATOM_INC -I/home/php-5.3.2/include
-I/home/php-5.3.2/main -I/home/php-5.3.2 -I/home/php-5.3.2/ext/date/lib
-I/home/php-5.3.2/ext/ereg/regex -I/usr/include/libxml2
-I/home/php-5.3.2/ext/sqlite3/libsqlite -I/home/php-5.3.2/TSRM
-I/home/php-5.3.2/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c
/home/php-5.3.2/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo

/bin/sh /home/php-5.3.2/libtool --silent --preserve-dup-deps
--mode=compile cc  -I/home/php-5.3.2/sapi/fpm -Isapi/fpm/
-I/home/php-5.3.2/sapi/fpm/ -DPHP_ATOM_INC -I/home/php-5.3.2/include
-I/home/php-5.3.2/main -I/home/php-5.3.2 -I/home/php-5.3.2/ext/date/lib
-I/home/php-5.3.2/ext/ereg/regex -I/usr/include/libxml2
-I/home/php-5.3.2/ext/sqlite3/libsqlite -I/home/php-5.3.2/TSRM
-I/home/php-5.3.2/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c
/home/php-5.3.2/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo

/bin/sh /home/php-5.3.2/libtool --silent --preserve-dup-deps
--mode=compile cc  -I/home/php-5.3.2/sapi/fpm -Isapi/fpm/
-I/home/php-5.3.2/sapi/fpm/ -DPHP_ATOM_INC -I/home/php-5.3.2/include
-I/home/php-5.3.2/main -I/home/php-5.3.2 -I/home/php-5.3.2/ext/date/lib
-I/home/php-5.3.2/ext/ereg/regex -I/usr/include/libxml2
-I/home/php-5.3.2/ext/sqlite3/libsqlite -I/home/php-5.3.2/TSRM
-I/home/php-5.3.2/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c
/home/php-5.3.2/sapi/fpm/fpm/fpm_children.c -o
sapi/fpm/fpm/fpm_children.lo

In file included from /home/php-5.3.2/sapi/fpm/fpm/fpm_shm_slots.h:8,

                 from /home/php-5.3.2/sapi/fpm/fpm/fpm_children.c:28:

/home/php-5.3.2/sapi/fpm/fpm/fpm_atomic.h:124:2: error: #error
unsupported processor. please write a patch and send it to me

In file included from /home/php-5.3.2/sapi/fpm/fpm/fpm_shm_slots.h:8,

                 from /home/php-5.3.2/sapi/fpm/fpm/fpm_children.c:28:

/home/php-5.3.2/sapi/fpm/fpm/fpm_atomic.h:128: error: expected
Б─≤)Б─≥ before Б─≤*Б─≥ token

In file included from /home/php-5.3.2/sapi/fpm/fpm/fpm_children.c:28:

/home/php-5.3.2/sapi/fpm/fpm/fpm_shm_slots.h:16: error: expected
specifier-qualifier-list before Б─≤atomic_tБ─≥

make: *** [sapi/fpm/fpm/fpm_children.lo] Error 1

/bin/sh /home/php-5.3.2/libtool --silent --preserve-dup-deps
--mode=compile cc  -I/home/php-5.3.2/sapi/fpm -Isapi/fpm/
-I/home/php-5.3.2/sapi/fpm/ -DPHP_ATOM_INC -I/home/php-5.3.2/include
-I/home/php-5.3.2/main -I/home/php-5.3.2 -I/home/php-5.3.2/ext/date/lib
-I/home/php-5.3.2/ext/ereg/regex -I/usr/include/libxml2
-I/home/php-5.3.2/ext/sqlite3/libsqlite -I/home/php-5.3.2/TSRM
-I/home/php-5.3.2/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c
/home/php-5.3.2/sapi/fpm/fpm/fpm_children.c -o
sapi/fpm/fpm/fpm_children.lo

In file included from /home/php-5.3.2/sapi/fpm/fpm/fpm_shm_slots.h:8,

                 from /home/php-5.3.2/sapi/fpm/fpm/fpm_children.c:28:

/home/php-5.3.2/sapi/fpm/fpm/fpm_atomic.h:124:2: error: #error
unsupported processor. please write a patch and send it to me

In file included from /home/php-5.3.2/sapi/fpm/fpm/fpm_shm_slots.h:8,

                 from /home/php-5.3.2/sapi/fpm/fpm/fpm_children.c:28:

/home/php-5.3.2/sapi/fpm/fpm/fpm_atomic.h:128: error: expected
Б─≤)Б─≥ before Б─≤*Б─≥ token

In file included from /home/php-5.3.2/sapi/fpm/fpm/fpm_children.c:28:

/home/php-5.3.2/sapi/fpm/fpm/fpm_shm_slots.h:16: error: expected
specifier-qualifier-list before Б─≤atomic_tБ─≥

make: *** [sapi/fpm/fpm/fpm_children.lo] Error 1




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



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

Reply via email to