调整ICC for PHP的编译参数
S1上的PHP屡屡出现段违例,我怀疑是ICC的编译参数不当造成的,因为S6上的没有问题.作了下调整:
以前是
flags=”-O3 -cxxlib-icc -i-static -mp -unroll2 -axT”
现在使用以下参数:
flags=”-cxxlib-icc -i-static -unroll2 -xP -O3 -no-prec-div”
由于-fast在x86_64上相当于-xP -ipo -O3 -no-prec-div -static,但是-static导致PHP无法config(imap extension),也要禁用-ipo,所以只能将这几个可用的参数单独列出来。
编译时出现无法找到kerbose,我明明已经patch过了,应该可以找到阿,估计是缓存的问题:
rm ./configure
./buildconf –force
重新编译,ok了
Comments
Leave a Reply