Bug 20932 - pixman 0.14.0 fails compiling mmx intrsincs with sunpro compiler
Summary: pixman 0.14.0 fails compiling mmx intrsincs with sunpro compiler
Status: RESOLVED FIXED
Alias: None
Product: pixman
Classification: Unclassified
Component: pixman (show other bugs)
Version: other
Hardware: x86-64 (AMD64) Solaris
: medium normal
Assignee: Alan Coopersmith
QA Contact: Søren Sandmann Pedersen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-29 08:25 UTC by Jens Rehsack
Modified: 2009-04-04 10:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to enable pixman's MMX intrsincs with sunpro. (1.41 KB, patch)
2009-03-29 08:25 UTC, Jens Rehsack
Details | Splinter Review

Description Jens Rehsack 2009-03-29 08:25:27 UTC
Created attachment 24352 [details] [review]
Patch to enable pixman's MMX intrsincs with sunpro.

When compiling pixman with the sunpro compiler, a lot of definitions fail and conversion functions are unimplemented. It seems to be for everything except gcc and MSC (ICC, Watcom, XLC, ...), so a more generic fix is required IMHO.

I further strongly recommend to use ANSI C99 data types where possible (uint64_t instead of unsigned long long).

Further: only gcc supports -mmmx and -msse2 etc. - so trying those arguments during configuration phase and without linking and accept them will result in later compile errors. x86_64/amd64 architectures shall enable those instruction sets per default.
Comment 1 Alan Coopersmith 2009-04-03 08:37:14 UTC
I've been working on this too - see:
http://lists.x.org/archives/xorg-devel/2009-April/
Comment 2 Alan Coopersmith 2009-04-04 10:23:57 UTC
Patch pushed to git master now:
http://cgit.freedesktop.org/pixman/commit/?id=fd7449c4855e77d31770f9042ba43e186c541ce5


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.