#42568 [NEW]: Compile fials when using --with-gmp option
| From: | jerry at scene-naturally dot dyndns dot org | Date: | Wed, 05 Sep 2007 16:47:35 +0000 |
| Subject: | #42568 [NEW]: Compile fials when using --with-gmp option | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-117189@lists.php.net to get a copy of this message | ||
From: jerry at scene-naturally dot dyndns dot org
Operating system: OS X 10.4.10
PHP version: 5.2.4
PHP Bug Type: Compile Failure
Bug description: Compile fials when using --with-gmp option
Description:
------------
When PHP is compiled using the option --with-gmp=/usr/local (gmp being
installed in /usr/local) PHP will not compile, failing with the error as
noted below.
I have chatted with the developer for libgmp, and the gist of the result
of the discussion is that this is a PHP bug.
Reproduce code:
---------------
gmp is compiled using
./configure \
--prefix=/usr/local \
--enable-cxx \
--disable-shared \
ABI=mode32
as per the developer directions for installing libgmp on Mac OS X. (The
subsequent build of GMP passes all tests.)
Expected result:
----------------
The usual result of a successful compile.
Actual result:
--------------
/usr/bin/ld: /usr/local/lib/libgmp.a(popcount.o) has local relocation
entries in non-writable section (__TEXT,__text)
--
Edit bug report at http://bugs.php.net/?id=42568&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42568&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42568&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42568&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42568&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42568&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42568&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42568&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42568&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42568&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42568&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42568&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42568&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42568&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42568&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42568&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42568&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42568&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42568&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42568&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42568&r=mysqlcfg