leif wrote: > chris wuthrich wrote: >> >> Trying to compile sage 7.3.beta8 on CentOS6.8, I ran into a problem >> compiling ntl 9.8.1. >> >> Not sure what to include. Just ask.
You may give us the output of 'as --version'. > Huh, dead old toolchain on a recent Intel machine. > > Update binutils (which include the GNU assember), or disable > '-march=native' in NTL. (There's some 'configure' flag to NTL to not > use it...) While you cannot pass options directly to NTL's 'configure' (without editing build/pkgs/ntl-*/spkg-install), you could for example do $ env SAGE_FAT_BINARY=yes ./sage -i ntl $ make # continue the build without "fat" binary enabled (I *thought* there was also an "experimental" binutils Sage package, but that doesn't seem to be the case, at least there isn't any on the official Sage mirrors.) > P.S.: That's a known bug (NTL not checking whether the assembler can > cope with GCC's output in case of '-march=native'), but this so far has > hit us only on MacOS X. Cf. https://trac.sagemath.org/ticket/20779#comment:4 ff. -leif >> Host system: >> Linux pmlapsag01 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 >> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux >> **************************************************** >> C compiler: gcc >> C compiler version: >> Using built-in specs. >> COLLECT_GCC=gcc >> COLLECT_LTO_WRAPPER=/home/sageadm/sage/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.3/lto-wrapper >> Target: x86_64-unknown-linux-gnu >> Configured with: ../src/configure --prefix=/home/sageadm/sage/local >> --with-local-prefix=/home/sageadm/sage/local >> --with-gmp=/home/sageadm/sage/local --with-mpfr=/home/sageadm/sage/local >> --with-mpc=/home/sageadm/sage/local --with-system-zlib >> --disable-multilib --disable-nls --enable-languages=c,c++,fortran >> --disable-libitm >> Thread model: posix >> gcc version 4.9.3 (GCC) >> **************************************************** >> >> Applying patches to NTL. >> >> .... >> >> config.status: executing libtool commands >> >> Configuring NTL. >> ***** checking for libtool ***** >> libtool (GNU libtool) 2.4.2 >> Written by Gordon Matzigkeit < ... >, 1996 >> >> Copyright (C) 2011 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> ***** libtool OK ***** >> >> *** checking -march=native flag >> CXXAUTOFLAGS=" -march=native" >> *** -march=native works >> CXXAUTOFLAGS=" -march=native" >> >> [ntl-9.8.1.p0] Tuning and building NTL. >> [ntl-9.8.1.p0] make[3]: Entering directory >> `/home/sageadm/sage/local/var/tmp/sage/build/ntl-9.8.1.p0/src/ntl/src' >> [ntl-9.8.1.p0] make setup1 >> [ntl-9..8.1.p0] make[4]: Entering directory >> `/home/sageadm/sage/local/var/tmp/sage/build/ntl-9.8.1.p0/src/ntl/src' >> [ntl-9.8.1.p0] g++ -I../include -I. -march=native -O2 -g -c MakeDescAux.c >> [ntl-9.8.1.p0] g++ -I../include -I. -march=native -O2 -g >> -L/home/sageadm/sage/local/lib -Wl,-rpath,/home/sageadm/sage/local/lib >> -o MakeDesc MakeDesc.c MakeDescAux.o -lm >> [ntl-9.8.1.p0] /tmp/ccPRNw4z.s: Assembler messages: >> [ntl-9.8.1.p0] /tmp/ccPRNw4z.s:873: Error: no such instruction: `shlx >> %r12,%rax,%rax' >> [ntl-9.8.1.p0] /tmp/ccPRNw4z.s:932: Error: no such instruction: `shlx >> %r12,%rax,%rax' >> >> ... >> >> [ntl-9.8.1.p0] /tmp/ccPRNw4z.s:4374: Error: no such instruction: `shlx >> %rax,%r15,%r15' >> [ntl-9.8.1.p0] /tmp/ccPRNw4z.s:4791: Error: no such instruction: `shlx >> %r13,%rdx,%rdx' >> [ntl-9.8.1.p0] make[4]: *** [setup1] Error 1 > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.