From: php-bugs-2010 at ryandesign dot com Operating system: Mac OS X 10.6.2 PHP version: 5.3.2RC1 PHP Bug Type: Compile Failure Bug description: gmp extension doesn't compile with gmp 5.0.1
Description: ------------ The gmp extension doesn't compile with gmp 5.0.1. This used to work with gmp 4.3.2. Reproduce code: --------------- 1. cd /path/to/php-5.3.2RC1 2. ./configure --disable-all --with-gmp=/opt/local 3. make Expected result: ---------------- successful compile Actual result: -------------- /bin/sh /path/to/php-5.3.2RC1/libtool --silent --preserve-dup-deps -- mode=compile gcc -Iext/gmp/ -I/path/to/php-5.3.2RC1/ext/gmp/ - DPHP_ATOM_INC -I/path/to/php-5.3.2RC1/include -I/path/to/php- 5.3.2RC1/main -I/path/to/php-5.3.2RC1 -I/path/to/php- 5.3.2RC1/ext/date/lib -I/path/to/php-5.3.2RC1/ext/ereg/regex - I/opt/local/include -I/path/to/php-5.3.2RC1/TSRM -I/path/to/php- 5.3.2RC1/Zend -no-cpp-precomp -g -O2 -fvisibility=hidden -c /path/to/php-5.3.2RC1/ext/gmp/gmp.c -o ext/gmp/gmp.lo /path/to/php-5.3.2RC1/ext/gmp/gmp.c: In function zif_gmp_random: /path/to/php-5.3.2RC1/ext/gmp/gmp.c:1377: error: __GMP_BITS_PER_MP_LIMB undeclared (first use in this function) /path/to/php-5.3.2RC1/ext/gmp/gmp.c:1377: error: (Each undeclared identifier is reported only once /path/to/php-5.3.2RC1/ext/gmp/gmp.c:1377: error: for each function it appears in.) -- Edit bug report at http://bugs.php.net/?id=50990&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50990&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50990&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50990&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50990&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50990&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50990&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50990&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50990&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50990&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50990&r=support Expected behavior: http://bugs.php.net/fix.php?id=50990&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50990&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50990&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50990&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50990&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50990&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50990&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50990&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50990&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50990&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50990&r=mysqlcfg