[cairo] Linker errors when enabling MMX support in pixman

David Weiß David.Weiss at ptvgroup.com
Tue Sep 9 03:54:28 PDT 2014


Hey,

seems, there is a problem with inlining functions in pixman, as generally suggested by http://msdn.microsoft.com/en-us/library/78t98006%28v=vs.100%29.aspx

When turning on MMX, I get a ton of inlining warnings:

$ make -f Makefile.win32 CFG=release LDFLAGS='-MACHINE:X64'
Setting MMX flag to default value 'on'... (use MMX=on or MMX=off)
Setting SSE2 flag to default value 'on'... (use SSE2=on or SSE2=off)
Setting SSSE3 flag to default value 'on'... (use SSSE3=on or SSSE3=off)
pixman.c
s:\os\release\pixman-0.32.6\pixman\pixman.c(220) : warning C4710: 'clip_general_
image' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman.c(286) : warning C4710: 'clip_general_
image' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman.c(220) : warning C4710: 'clip_general_
image' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman.c(220) : warning C4710: 'clip_general_
image' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman.c(220) : warning C4710: 'clip_general_
image' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman.c(220) : warning C4710: 'clip_general_
image' : function not inlined
pixman-access.c
pixman-access-accessors.c
pixman-bits-image.c
pixman-combine32.c
s:\os\release\pixman-0.32.6\pixman\pixman-combine32.c(874) : warning C4710: 'ble
nd_soft_light' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-combine32.c(874) : warning C4710: 'ble
nd_soft_light' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-combine32.c(874) : warning C4710: 'ble
nd_soft_light' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-combine32.c(874) : warning C4710: 'ble
nd_soft_light' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-combine32.c(874) : warning C4710: 'ble
nd_soft_light' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-combine32.c(874) : warning C4710: 'ble
nd_soft_light' : function not inlined
pixman-combine-float.c
pixman-conical-gradient.c
pixman-filter.c
pixman-x86.c
pixman-mips.c
pixman-arm.c
pixman-ppc.c
pixman-edge.c
pixman-edge-accessors.c
pixman-fast-path.c
pixman-glyph.c
pixman-general.c
pixman-gradient-walker.c
pixman-image.c
pixman-implementation.c
pixman-linear-gradient.c
pixman-matrix.c
s:\os\release\pixman-0.32.6\pixman\pixman-matrix.c(279) : warning C4710: 'rounde
d_sdiv_128_by_49' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-matrix.c(283) : warning C4710: 'rounde
d_sdiv_128_by_49' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-matrix.c(294) : warning C4710: 'rounde
d_sdiv_128_by_49' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-matrix.c(298) : warning C4710: 'rounde
d_sdiv_128_by_49' : function not inlined
pixman-noop.c
pixman-radial-gradient.c
pixman-region16.c
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(894) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(896) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(912) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(915) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(942) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(975) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(980) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(994) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(999) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(1687) : warning C4710: 'pixma
n_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(1751) : warning C4710: 'pixma
n_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(2682) : warning C4710: 'bitma
p_addrect' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(2716) : warning C4710: 'bitma
p_addrect' : function not inlined
pixman-region32.c
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(894) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(896) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(912) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(915) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(942) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(975) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(980) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(994) : warning C4710: 'pixman
_region_append_non_o' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(999) : warning C4710: 'pixman
_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(1687) : warning C4710: 'pixma
n_coalesce' : function not inlined
s:\os\release\pixman-0.32.6\pixman\pixman-region.c(1751) : warning C4710: 'pixma
n_coalesce' : function not inlined
pixman-solid-fill.c
pixman-timer.c
pixman-trap.c
pixman-utils.c
pixman-mmx.c
pixman-sse2.c
pixman-ssse3.c

All of these go away with MMX=off.

But there I’m stuck, any ideas? 

Greetings,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20140909/afeb89f0/attachment-0001.html>


More information about the cairo mailing list