[cairo] on making cairo & pixman build with intel c/c++ compiler
Serhat
ubunturk at gmail.com
Fri Apr 11 16:10:32 PDT 2008
greetings. im trying to make cairo & pixman build (and pass their
tests) with intel c/c++ compiler 10.1.015. so far it is trivial for
pixman with the attached patches (just a 2nd patch to better mimic gcc
inline parameters, notice that these patches do not affect any non-icc
build; also im attaching the output of pixman's build if u wanna take
a look at icc's warnings about pixman source, i worked on the latest
pixman trunk as of now).
however, icc is having good trouble compiling cairo, and i managed to
find the root cause: the relocation trick that is used in cairo source
(which is a good thing for performance and dso loading, as i learned
and found out; it is icc's bad/inability after all afaik).
for instance, the difference between the outputs of
./ppo_derle 2 gcc
./ppo_derle 2 gcc r
is the relocation trick. however the difference between the outputs
./ppo_derle 2 icc
./ppo_derle 2 icc r
shows that icc is unable to the trick, and in fact it skips one of the
myfunc's (with icc build, final cairo library was missing many cairo
api, including cairo_create/destroy, and check-def.sh was failing).
with icc, i have tried -f[no-][fn]alias and none helped. if there is
anybody familiar with icc, i would appreciate a hand. any comments and
suggestions?
thx..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-build-with-intel-c-c-compiler.patch
Type: text/x-patch
Size: 2424 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080411/3663bb21/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-better-mimic-gcc-inline-options-for-icc.patch
Type: text/x-patch
Size: 1511 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080411/3663bb21/attachment-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b_icc_pixman.7z
Type: application/x-7z-compressed
Size: 19496 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080411/3663bb21/attachment-0001.7z
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppo2.c
Type: text/x-csrc
Size: 1124 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080411/3663bb21/attachment-0001.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppo_derle
Type: application/octet-stream
Size: 280 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080411/3663bb21/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nmr
Type: application/octet-stream
Size: 50 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080411/3663bb21/attachment-0003.obj
More information about the cairo
mailing list