From: Operating system: FreeBSD 8.2-STABLE armeb PHP version: 5.4.0 Package: Compile Failure Bug Type: Bug Bug description:'--enable-fpm' makes gmake fail building in FreeBSD on a Sheevaplug
Description: ------------ I configured the php 5.4.0 source like this: ./configure --enable-fpm --enable-cgi --enable-fastcgi --prefix=/usr/local/php and then tried to compile with the gmake command. I expected it to complete compiling successfully so I could do a `gmake install'. What actually happened was a compile failure with this output at the end: ---ERROR MSG START--- In file included from /home/rasmus/php/php- 5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:15, from /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm.c:21: /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net). In file included from /home/rasmus/php/php- 5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:15, from /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm.c:21: /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_atomic.h:146: error: expected ')' before '*' token In file included from /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm.c:21: /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:22: error: expected specifier-qualifier-list before 'atomic_t' /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:51: error: expected specifier-qualifier-list before 'atomic_t' gmake: *** [sapi/fpm/fpm/fpm.lo] Error 1 ---ERROR MSG END--- Also, this happened on FreeBSD/arm on a Marvell Sheevaplug. If I remove `-- enable-fpm' from the configure command, make completes successfully; so this may be a FPM related problem. This is my complete `uname -a': FreeBSD frodo 8.2-STABLE FreeBSD 8.2-STABLE #7: Fri Feb 17 01:37:05 CET 2012 root@frodo:/usr/obj/usr/src/sys/FRODO arm -- Edit bug report at https://bugs.php.net/bug.php?id=61257&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61257&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61257&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61257&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61257&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61257&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61257&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61257&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61257&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61257&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61257&r=support Expected behavior: https://bugs.php.net/fix.php?id=61257&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61257&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61257&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61257&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61257&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61257&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61257&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61257&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61257&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61257&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61257&r=mysqlcfg