#20779: NTL 9.8.1 does not build on OS X versions 10.8 and 10.9, nor CentOS 6.8
-------------------------------------------------+------------------------
       Reporter:  dunfield                       |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-7.3
      Component:  algebra                        |   Resolution:
       Keywords:  MacOS AVX no such instruction  |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  N/A                            |  Work issues:
         Branch:                                 |       Commit:
   Dependencies:                                 |     Stopgaps:
-------------------------------------------------+------------------------

Comment (by leif):

 This now hits us on CentOS (6.8, with apparently ancient binutils) as
 well:
 {{{
 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
 }}}
 (From [http://permalink.gmane.org/gmane.comp.mathematics.sage.devel/87772
 sage-devel].)

--
Ticket URL: <https://trac.sagemath.org/ticket/20779#comment:41>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to