FAQ

So the -m64 is lost. Looking at extg/curl/config.m4, again I see

save_CFLAGS="$CFLAGS"
CFLAGS="`$CURL_CONFIG --cflags`"

So running `curl-config --cflags` apparently doesn't contain the -m64
flag on your setup. In my opinion curl-config should return this, so
there is a curl issue. I don't know whether there is a good work-around
from PHP-side.
good catch !

Let me test that here :

$ which curl-config
/usr/local/bin/curl-config
$ curl-config --cflags
-I/usr/local/include


Well that is broken beyond belief.

yet this looks fine :

$ curl-config --configure
'--enable-shared' '--enable-static' '--with-libidn=/usr/local' '--enable-tls-srp' '--with-ssl' 'CC=/opt/solarisstudio12.3/bin/cc' 'CFLAGS=-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16' 'CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include -I/opt/mysql/mysql/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE'

odd ... I must go take this up with the curl folks.

I'll keep you posted if I see a good result.

Thank you for the awesome catch there.

Dennis

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 12 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedFeb 25, '13 at 6:59a
activeFeb 25, '13 at 6:46p
posts12
users3
websitephp.net

People

Translate

site design / logo © 2021 Grokbase