Package: mesa-legacy
Version: 6.2.1-8
Severity: important

Hi,

Your package is failing to build on amd64 and alpha because
you're using options to build it as i386.

cc -c -I../../include -I../../src/mesa -I../../src/mesa/main 
-I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl 
-I../../src/mesa/shader -I../../src/mesa/swrast -I../../src/mesa/swrast_setup 
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE 
-DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DFX -I/usr/include/glide3 -ansi 
-pedantic -Wall -fPIC -O3 -march=i686 -msse -mfpmath=387 -DUSE_X86_ASM 
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM main/api_arrayelt.c -o 
main/api_arrayelt.o

On amd64 this results in:
main/api_arrayelt.c:1: error: CPU you selected does not support x86-64 
instruction set
main/api_arrayelt.c:1: error: CPU you selected does not support x86-64 
instruction set

Please don't set things like -march=i686, since it would
try to generate i386 exectuable.

Note that on amd64 sse is the default, so there is no use
to set -msse, and afaik, using -mfpmath=387 disables the
use of sse and you need -mfpmath=sse instead.

On alpha:
cc1: error: invalid option 'arch=i686'
cc1: error: invalid option 'sse'
cc1: error: invalid option 'fpmath=387'
make[3]: *** [main/api_arrayelt.o] Error 1

I guess here you don't want any of the -march=i686 -msse
-mfpmath=387, and have to wonder about -DUSE_X86_ASM
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM too.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to