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

 ID:                 61130
 Updated by:         ras...@php.net
 Reported by:        fscan at chilicode dot com
 Summary:            --with-iconv pulls in /usr/include
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   linux
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

How about if you set it to a path where there is no iconv installed?

eg. --with-iconv=/tmp


Previous Comments:
------------------------------------------------------------------------
[2012-02-18 01:16:56] fscan at chilicode dot com

Description:
------------
I'm cross compiling php for arm and want to use the glibc internal iconv 
implentation. when i specify --with-iconv configure pulls in the system 
/usr/include and the compilation fails.



Test script:
---------------
CC=arm-none-linux-gnueabi-gcc ./configure --disable-all --with-iconv
make


Expected result:
----------------
build succeeds


Actual result:
--------------
build fails because of incompatible asm directives from include files in 
/usr/include.
also, many warnings of including /usr/include path in cross compilation.



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



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

Reply via email to