Something in your toolchain still doesn't understand AVX. The easiest 
possiblity is probably to set CFLAGS, e.g.

CFLAGS=-O2 -m64 -march=core2 -mtune=core2
export CFLAGS
make

On Wednesday, May 16, 2012 7:43:04 PM UTC-4, abe wrote:
>
>
> Volker Braun wrote: 
> > Atlas will always generate compiler errors when it tries to find out 
> what kind of assembler is supported. The real error is 
> > somewhere else. Post the full log somewhere. 
> > 
> it's a core-i7 with  Scientific Linux SL (2.6.18-308.4.1.el5) 
>
>
> I installed the newest version of  binutils (2.22) and 
> now it fails later at mpir 
> I've attached the gzipped log. 
>
> thanks, Eiso 
>
>  > uname -a 
>  > Linux xxx.net <http://xxx.net> 2.6.18-274.el5 #1 SMP Thu Jul 21 
> 12:13:11 EDT 2011 x86_64 x86_64 
>  > x86_64 GNU/Linux 
>
>
> gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx  -MT yasm.o -MD -MP -MF .deps/yasm.Tpo -c -o 
> yasm.o `test -f 'frontends/yasm/yasm.c' || echo './'`frontends/yasm/yasm.c 
> mv -f .deps/yasm.Tpo .deps/yasm.Po 
> gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx  -MT yasm-options.o -MD -MP -MF 
> .deps/yasm-options.Tpo -c -o yasm-options.o `test -f 
> 'frontends/yasm/yasm-options.c' || echo './'`frontends/yasm/yasm-options.c 
> mv -f .deps/yasm-options.Tpo .deps/yasm-options.Po 
> gcc -std=gnu99  -O2 -m64 -march=corei7-avx -mtune=corei7-avx   
> -Wl,-z,noexecstack  -o yasm yasm.o yasm-options.o libyasm.a 
> gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx  -MT tasm.o -MD -MP -MF .deps/tasm.Tpo -c -o 
> tasm.o `test -f 'frontends/tasm/tasm.c' || echo './'`frontends/tasm/tasm.c 
> mv -f .deps/tasm.Tpo .deps/tasm.Po 
> gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx  -MT tasm-options.o -MD -MP -MF 
> .deps/tasm-options.Tpo -c -o tasm-options.o `test -f 
> 'frontends/tasm/tasm-options.c' || echo './'`frontends/tasm/tasm-options.c 
> mv -f .deps/tasm-options.Tpo .deps/tasm-options.Po 
> gcc -std=gnu99  -O2 -m64 -march=corei7-avx -mtune=corei7-avx   
> -Wl,-z,noexecstack  -o ytasm tasm.o tasm-options.o libyasm.a 
> gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx  -MT vsyasm.o -MD -MP -MF .deps/vsyasm.Tpo 
> -c -o vsyasm.o `test -f 'frontends/vsyasm/vsyasm.c' || echo 
> './'`frontends/vsyasm/vsyasm.c 
> mv -f .deps/vsyasm.Tpo .deps/vsyasm.Po 
> gcc -std=gnu99  -O2 -m64 -march=corei7-avx -mtune=corei7-avx   
> -Wl,-z,noexecstack  -o vsyasm vsyasm.o yasm-options.o libyasm.a 
> make[6]: Leaving directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/yasm' 
> make[5]: Leaving directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/yasm' 
> make[4]: Leaving directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/yasm' 
> Making all in mpn 
> make[4]: Entering directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/mpn' 
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99 
> -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo 
> dummy1 | sed 's/_$//'`    -O2 -m64 -march=corei7-avx -mtune=corei7-avx  -c 
> -o dummy1.lo dummy1.c 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_dummy1 -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx -c dummy1.c  -fPIC -DPIC -o .libs/dummy1.o 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_dummy1 -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx -c dummy1.c -o dummy1.o >/dev/null 2>&1 
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99 
> -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo 
> add | sed 's/_$//'`    -O2 -m64 -march=corei7-avx -mtune=corei7-avx  -c -o 
> add.lo add.c 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_add -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx -c add.c  -fPIC -DPIC -o .libs/add.o 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_add -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx -c add.c -o add.o >/dev/null 2>&1 
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99 
> -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo 
> add_1 | sed 's/_$//'`    -O2 -m64 -march=corei7-avx -mtune=corei7-avx  -c 
> -o add_1.lo add_1.c 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_1 -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx -c add_1.c  -fPIC -DPIC -o .libs/add_1.o 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. 
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_1 -O2 -m64 -march=corei7-avx 
> -mtune=corei7-avx -c add_1.c -o add_1.o >/dev/null 2>&1 
> /bin/sh ../libtool --mode=compile --tag=CC ../strip_fPIC.sh ../yasm/yasm 
> -I .. -f elf64  -o add_n.lo `test -f 'add_n.as' || echo 
> './'`add_n.as 
> libtool: compile:  ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 add_n.as 
> -fPIC -DPIC -o .libs/add_n.o 
> ../yasm/yasm -I .. -f elf64 add_n.as -D PIC -o .libs/add_n.o 
> ../libtool: line 1133: 24149 Illegal instruction     ../strip_fPIC.sh 
> ../yasm/yasm -I .. -f elf64 add_n.as -fPIC -DPIC -o 
> .libs/add_n.o 
> make[4]: *** [add_n.lo] Error 1 
> make[4]: Leaving directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/mpn' 
> make[3]: *** [all-recursive] Error 1 
> make[3]: Leaving directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src' 
> make[2]: *** [all] Error 2 
> make[2]: Leaving directory 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src' 
> Error building MPIR. 
>
> real    1m3.945s 
> user    0m32.968s 
> sys    0m24.110s 
> ************************************************************************ 
> Error installing package mpir-2.4.0.p3 
> ************************************************************************ 
> Please email sage-devel (http://groups.google.com/group/sage-devel) 
> explaining the problem and including the relevant part of the log file 
>    /data1/software/src/SAGE/sage-5.0/spkg/logs/mpir-2.4.0.p3.log 
> Describe your computer, operating system, etc. 
> If you want to try to fix the problem yourself, *don't* just cd to 
> /data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3 and type 'make' 
> or whatever is appropriate. 
> Instead, the following commands setup all environment variables 
> correctly and load a subshell for you to debug the error: 
>    (cd '/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3' && 
> '/data1/software/src/SAGE/sage-5.0/sage' -sh) 
> When you are done debugging, you can type "exit" to leave the subshell. 
> ************************************************************************ 
> make[1]: *** [installed/mpir-2.4.0.p3] Error 1 
> make[1]: Leaving directory `/data1/software/src/SAGE/sage-5.0/spkg' 
>
> real    64m10.251s 
> user    49m1.032s 
> sys    5m43.657s 
> Error building Sage. 
>
>
> Volker Braun wrote: 
> > Atlas will always generate compiler errors when it tries to find out 
> what kind of assembler is supported. The real error is 
> > somewhere else. Post the full log somewhere. 
> > 
> > 
> > 
> > On Wednesday, May 16, 2012 6:44:20 AM UTC-4, abe wrote: 
> > 
> >     sorry, I found that sage-support is the place to send this, 
> >     not sage-devel. 
> > 
> >     E 
> > 
> >     Eiso AB wrote: 
> >     > Dear list 
> >     > 
> >     > I'm trying to make sage-5.0 on my machine but it fails. 
> >     > 
> >     > First error I encounter in the log is: 
> >     > 
> >     > make[3]: Entering directory 
> >     > 
> `/data1/software/src/SAGE/sage-5.0/spkg/build/atlas-3.8.4.p1/ATLAS-build' 
> >     > cd 
> /data1/software/src/SAGE/sage-5.0/spkg/build/atlas-3.8.4.p1/ATLAS-build ; 
> >     > ./xprobe_comp -v 0 -o atlconf.txt -O 1 -A 19 -Si nof77 0 -C ic 
> 'gcc' -Fa ic 
> >     > '-fPIC' -C sm 'gcc' -Fa sm '-fPIC' -C dm 'gcc' -Fa dm '-fPIC' -C 
> sk 'gcc' -Fa sk 
> >     > '-fPIC' -C dk 'gcc' -Fa dk '-fPIC' -C xc 'gcc' -Fa xc '-fPIC' -C 
> if 
> >     > 'sage_fortran' -Fa if '-fPIC' -b 64 > config1.out 
> >     > as: unrecognized option `-msse2avx' 
> >     > make[4]: *** [IRunCComp] Error 1 
> >     > 
> >     > 
> >     > uname -a 
> >     > Linux xxx.net <http://xxx.net> 2.6.18-274.el5 #1 SMP Thu Jul 21 
> 12:13:11 EDT 2011 x86_64 x86_64 
> >     > x86_64 GNU/Linux 
> >     > 
> >     > as --version 
> >     > GNU assembler 2.17.50.0.6-14.el5 20061020 
> >     > Copyright 2005 Free Software Foundation, Inc. 
> >     > This program is free software; you may redistribute it under the 
> terms of 
> >     > the GNU General Public License. This program has absolutely no 
> warranty. 
> >     > This assembler was configured for a target of 
> `x86_64-redhat-linux'. 
> >     > 
> >     > 
> >     > 
> >     > Is my as version too old? 
> >     > 
> >     > 
> >     > kind regards, Eiso 
> >     > 
> > 
>
>

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to