ID:               42568
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jerry at scene-naturally dot dyndns dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: OS X 10.4.10
 PHP Version:      5.2.4
 New Comment:

What was the full configure line for PHP?


Previous Comments:
------------------------------------------------------------------------

[2007-09-05 16:47:35] jerry at scene-naturally dot dyndns dot org

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 this bug report at http://bugs.php.net/?id=42568&edit=1

Reply via email to