Guys, what do you think about defaulting the build to use -prefer-non-pic
and having libtool build a non-pic libphp4.so when building the Apache
DSO?  That library isn't linked into other programs anyway, and Apache's
fork+exec model ensures the pages will be shared regardless of pic.  I
don't really see what we gain by building it pic, and we certainly lose
quite a bit by doing so.  In the order of 15-20% execution time on both
FreeBSD and Linux with gcc in my tests.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to