pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] x11/pixman: also disable ssse3 when disabling sse2



On Mon, Dec 08, 2014 at 07:24:24PM +0100, Thomas Orgis wrote:
> x11/pixman does not build on an aging GNU/Linux system with gcc 4.1.x
> because, while SSE2 is disabled correctly, it still tries to build
> SSSE3 stuff:
> 
> 	Making all in pixman
> 	--- libpixman_ssse3_la-pixman-ssse3.lo ---
> 	  CC       libpixman_ssse3_la-pixman-ssse3.lo
> 	/tmp/ccUavzLg.s: Assembler messages:
> 	/tmp/ccUavzLg.s:210: Error: no such instruction: `pmaddubsw %xmm1,%xmm0'
> 	/tmp/ccUavzLg.s:211: Error: no such instruction: `pabsw %xmm0,%xmm0'
> 	*** [libpixman_ssse3_la-pixman-ssse3.lo] Error code 1
> 
> The attached patch also disables ssse3 for old gcc and that works.

Committed, thanks.
 Thomas


Home | Main Index | Thread Index | Old Index