I get a similar error, this time the instruction is Error: no such instruction: `shrx %eax,108(%rsp),%r9d'
and I am compiling on gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) with SAGE_INSTALL_GCC=yes. It seems to me this is due to sage using its own version of "gcc" but the system's version of "as" which does not understand some of the assembly instructions of a newer compiler. I keep running into this problem on old Linux'es and Mac's. Should sage also offer to provide its own "as"? On Monday, January 12, 2015 at 10:41:05 PM UTC-8, Shadab Zafar wrote: > > I am trying to build Sage from the current master branch but it errors in > installing ecm. > > The ending part of the log is: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64 > -I/home/dufferzafar/dev/sage/local/include > -I/home/dufferzafar/dev/sage/local/include -march=native -g -O3 -fPIC -MT > libecm_la-pp1.lo -MD -MP -MF .deps/libecm_la-pp1.Tpo -c pp1.c -o > libecm_la-pp1.o > mv -f .deps/libecm_la-pp1.Tpo .deps/libecm_la-pp1.Plo > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I./x86_64 -I/home/dufferzafar/dev/sage/local/include > -I/home/dufferzafar/dev/sage/local/include -march=native -g -O3 -fPIC -MT > libecm_la-getprime.lo -MD -MP -MF .deps/libecm_la-getprime.Tpo -c -o > libecm_la-getprime.lo `test -f 'getprime.c' || echo './'`getprime.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64 > -I/home/dufferzafar/dev/sage/local/include > -I/home/dufferzafar/dev/sage/local/include -march=native -g -O3 -fPIC -MT > libecm_la-getprime.lo -MD -MP -MF .deps/libecm_la-getprime.Tpo -c > getprime.c -o libecm_la-getprime.o > /tmp/ccp6Wox5.s: Assembler messages: > /tmp/ccp6Wox5.s:137: Error: no such instruction: `vfmadd312sd > offset(%rip),%xmm0,%xmm3' > /tmp/ccp6Wox5.s:713: Error: no such instruction: `vfmadd312sd > .LC12(%rip),%xmm0,%xmm2' > make[5]: *** [libecm_la-getprime.lo] Error 1 > make[5]: Leaving directory > `/home/dufferzafar/dev/sage/local/var/tmp/sage/build/ecm-6.4.4/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory > `/home/dufferzafar/dev/sage/local/var/tmp/sage/build/ecm-6.4.4/src' > make[3]: *** [all] Error 2 > make[3]: Leaving directory > `/home/dufferzafar/dev/sage/local/var/tmp/sage/build/ecm-6.4.4/src' > Error building GMP-ECM. > > > I have also attached the complete log file. > > System Info: > > Linux version 3.5.0-57-generic (buildd@tipua) (gcc version 4.6.3 > (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #84~precise1-Ubuntu SMP > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Found local metadata for ecm-6.4.4 Using cached file /projects/snapreg/sage-6.9/upstream/ecm-6.4.4.tar.bz2 ecm-6.4.4 ==================================================== Setting up build directory for ecm-6.4.4 Finished set up **************************************************** Host system: Linux math31184.math.gatech.edu 2.6.32-573.12.1.el6.x86_64 #1 SMP Mon Nov 23 12:55:32 EST 2015 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/projects/snapreg/sage-6.9/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../src/configure --prefix=/projects/snapreg/sage-6.9/local --with-local-prefix=/projects/snapreg/sage-6.9/local --with-gmp=/projects/snapreg/sage-6.9/local --with-mpfr=/projects/snapreg/sage-6.9/local --with-mpc=/projects/snapreg/sage-6.9/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm Thread model: posix gcc version 4.9.2 (GCC) **************************************************** patching file x86_64/mulredc10.asm patching file x86_64/mulredc11.asm patching file x86_64/mulredc12.asm patching file x86_64/mulredc13.asm patching file x86_64/mulredc14.asm patching file x86_64/mulredc15.asm patching file x86_64/mulredc16.asm patching file x86_64/mulredc17.asm patching file x86_64/mulredc18.asm patching file x86_64/mulredc19.asm patching file x86_64/mulredc1_10.asm patching file x86_64/mulredc1_11.asm patching file x86_64/mulredc1_12.asm patching file x86_64/mulredc1_13.asm patching file x86_64/mulredc1_14.asm patching file x86_64/mulredc1_15.asm patching file x86_64/mulredc1_16.asm patching file x86_64/mulredc1_17.asm patching file x86_64/mulredc1_18.asm patching file x86_64/mulredc1_19.asm patching file x86_64/mulredc1_2.asm patching file x86_64/mulredc1_20.asm patching file x86_64/mulredc1_3.asm patching file x86_64/mulredc1_4.asm patching file x86_64/mulredc1_5.asm patching file x86_64/mulredc1_6.asm patching file x86_64/mulredc1_7.asm patching file x86_64/mulredc1_8.asm patching file x86_64/mulredc1_9.asm patching file x86_64/mulredc2.asm patching file x86_64/mulredc20.asm patching file x86_64/mulredc3.asm patching file x86_64/mulredc4.asm patching file x86_64/mulredc5.asm patching file x86_64/mulredc6.asm patching file x86_64/mulredc7.asm patching file x86_64/mulredc8.asm patching file x86_64/mulredc9.asm Adding '-fPIC' to CFLAGS since we don't (also) build a shared library. Using additional host-specific CFLAGS: -march=native Settings from SAGE_LOCAL/include/gmp.h: CC=gcc -std=gnu99 CFLAGS=-m64 -O2 -march=corei7-avx -mtune=corei7-avx -g Settings found in /usr/include/gmp.h (currently not used): CC= CFLAGS= Finally using: CC=gcc CFLAGS=-march=native -g -O3 -fPIC CPP=cpp CPPFLAGS= LDFLAGS= ABI= M4= (These settings may still get overridden by 'configure' or Makefiles.) Now configuring GMP-ECM with the following options: --prefix="/projects/snapreg/sage-6.9/local" --libdir="/projects/snapreg/sage-6.9/local/lib" --with-gmp="/projects/snapreg/sage-6.9/local" You can set ECM_CONFIGURE to pass additional parameters, e.g. "--enable-shared" to also build a *shared* library, or "--disable-sse2" if you encounter problems on a Pentium III system. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking dependency style of gcc... (cached) gcc3 checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for int64_t... yes checking for uint64_t... yes checking for long long int... no checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for size_t... yes checking for suitable m4... m4 checking how to switch to text section... .text checking how to export a symbol... .globl checking what assembly label suffix to use... : checking if globals are prefixed by underscore... no checking how to switch to text section... (cached) .text checking how to export a symbol... (cached) .globl checking for assembler .type directive... checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/types.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for working strtod... yes checking for pow in -lm... yes checking for floor in -lm... yes checking for sqrt in -lm... yes checking for fmod in -lm... yes checking for cos in -lm... yes checking for cblas_dgemm in -lgslcblas... no checking for isascii... yes checking for memset... yes checking for strchr... yes checking for strlen... yes checking for strncasecmp... yes checking for strstr... yes checking for access... yes checking for unlink... yes checking for isspace... yes checking for isdigit... yes checking for isxdigit... yes checking for time... yes checking for ctime... yes checking for setpriority... yes checking for nice... yes checking for gethostname... yes checking for gettimeofday... yes checking for getrusage... yes checking for memmove... yes checking for signal... yes checking for fcntl... yes checking for fileno... yes checking for malloc_usable_size... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for recent GMP... yes checking if GMP is MPIR... yes checking whether we can link against GMP... yes checking if gmp.h version and libgmp version are the same... (5.1.3/5.1.3) yes checking for __gmpn_add_nc... no checking for __gmpn_mod_34lsub1... yes checking for __gmpn_redc_1... yes checking for __gmpn_redc_2... yes checking for __gmpn_mullo_n... no checking for __gmpn_redc_n... no checking for __gmpn_preinv_mod_1... yes checking whether compiler knows __attribute__((hot))... yes checking for xsltproc... xsltproc checking for docbook.xsl... yes checking for valgrind... valgrind -q --error-exitcode=1 creating config.m4 configure: creating ./config.status config.status: creating Makefile config.status: creating athlon/Makefile config.status: creating pentium4/Makefile config.status: creating x86_64/Makefile config.status: creating powerpc64/Makefile config.status: creating build.vc10/Makefile config.status: creating build.vc10/assembler/Makefile config.status: creating build.vc10/ecm/Makefile config.status: creating build.vc10/libecm/Makefile config.status: creating build.vc10/tune/Makefile config.status: creating build.vc10/bench_mulredc/Makefile config.status: creating config.h config.status: linking ecm-params.h.corei5 to ecm-params.h config.status: linking mul_fft-params.h.default to mul_fft-params.h config.status: executing depfiles commands config.status: executing libtool commands configure: Configuration: configure: Build for host type x86_64-unknown-linux-gnu configure: CC=gcc, CFLAGS=-march=native -g -O3 -fPIC configure: Linking GMP with /projects/snapreg/sage-6.9/local/lib/libgmp.a configure: Using asm redc code from directory x86_64 configure: Not using SSE2 instructions in NTT code configure: Assertions disabled configure: Shell command execution disabled configure: OpenMP disabled configure: Memory debugging disabled Now building GMP-ECM... make[3]: Entering directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src' make all-recursive make[4]: Entering directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src' Making all in x86_64 make[5]: Entering directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src/x86_64' m4 -I../ -DOPERATION_mulredc1 `test -f mulredc1.asm || echo './'`mulredc1.asm >mulredc1.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1.lo mulredc1.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1.s -o mulredc1.o m4 -I../ -DOPERATION_mulredc2 `test -f mulredc2.asm || echo './'`mulredc2.asm >mulredc2.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc2.lo mulredc2.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc2.s -o mulredc2.o m4 -I../ -DOPERATION_mulredc3 `test -f mulredc3.asm || echo './'`mulredc3.asm >mulredc3.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc3.lo mulredc3.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc3.s -o mulredc3.o m4 -I../ -DOPERATION_mulredc4 `test -f mulredc4.asm || echo './'`mulredc4.asm >mulredc4.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc4.lo mulredc4.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc4.s -o mulredc4.o m4 -I../ -DOPERATION_mulredc5 `test -f mulredc5.asm || echo './'`mulredc5.asm >mulredc5.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc5.lo mulredc5.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc5.s -o mulredc5.o m4 -I../ -DOPERATION_mulredc6 `test -f mulredc6.asm || echo './'`mulredc6.asm >mulredc6.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc6.lo mulredc6.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc6.s -o mulredc6.o m4 -I../ -DOPERATION_mulredc7 `test -f mulredc7.asm || echo './'`mulredc7.asm >mulredc7.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc7.lo mulredc7.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc7.s -o mulredc7.o m4 -I../ -DOPERATION_mulredc8 `test -f mulredc8.asm || echo './'`mulredc8.asm >mulredc8.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc8.lo mulredc8.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc8.s -o mulredc8.o m4 -I../ -DOPERATION_mulredc9 `test -f mulredc9.asm || echo './'`mulredc9.asm >mulredc9.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc9.lo mulredc9.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc9.s -o mulredc9.o m4 -I../ -DOPERATION_mulredc10 `test -f mulredc10.asm || echo './'`mulredc10.asm >mulredc10.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc10.lo mulredc10.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc10.s -o mulredc10.o m4 -I../ -DOPERATION_mulredc11 `test -f mulredc11.asm || echo './'`mulredc11.asm >mulredc11.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc11.lo mulredc11.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc11.s -o mulredc11.o m4 -I../ -DOPERATION_mulredc12 `test -f mulredc12.asm || echo './'`mulredc12.asm >mulredc12.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc12.lo mulredc12.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc12.s -o mulredc12.o m4 -I../ -DOPERATION_mulredc13 `test -f mulredc13.asm || echo './'`mulredc13.asm >mulredc13.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc13.lo mulredc13.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc13.s -o mulredc13.o m4 -I../ -DOPERATION_mulredc14 `test -f mulredc14.asm || echo './'`mulredc14.asm >mulredc14.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc14.lo mulredc14.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc14.s -o mulredc14.o m4 -I../ -DOPERATION_mulredc15 `test -f mulredc15.asm || echo './'`mulredc15.asm >mulredc15.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc15.lo mulredc15.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc15.s -o mulredc15.o m4 -I../ -DOPERATION_mulredc16 `test -f mulredc16.asm || echo './'`mulredc16.asm >mulredc16.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc16.lo mulredc16.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc16.s -o mulredc16.o m4 -I../ -DOPERATION_mulredc17 `test -f mulredc17.asm || echo './'`mulredc17.asm >mulredc17.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc17.lo mulredc17.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc17.s -o mulredc17.o m4 -I../ -DOPERATION_mulredc18 `test -f mulredc18.asm || echo './'`mulredc18.asm >mulredc18.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc18.lo mulredc18.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc18.s -o mulredc18.o m4 -I../ -DOPERATION_mulredc19 `test -f mulredc19.asm || echo './'`mulredc19.asm >mulredc19.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc19.lo mulredc19.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc19.s -o mulredc19.o m4 -I../ -DOPERATION_mulredc20 `test -f mulredc20.asm || echo './'`mulredc20.asm >mulredc20.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc20.lo mulredc20.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc20.s -o mulredc20.o m4 -I../ -DOPERATION_mulredc1_2 `test -f mulredc1_2.asm || echo './'`mulredc1_2.asm >mulredc1_2.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_2.lo mulredc1_2.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_2.s -o mulredc1_2.o m4 -I../ -DOPERATION_mulredc1_3 `test -f mulredc1_3.asm || echo './'`mulredc1_3.asm >mulredc1_3.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_3.lo mulredc1_3.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_3.s -o mulredc1_3.o m4 -I../ -DOPERATION_mulredc1_4 `test -f mulredc1_4.asm || echo './'`mulredc1_4.asm >mulredc1_4.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_4.lo mulredc1_4.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_4.s -o mulredc1_4.o m4 -I../ -DOPERATION_mulredc1_5 `test -f mulredc1_5.asm || echo './'`mulredc1_5.asm >mulredc1_5.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_5.lo mulredc1_5.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_5.s -o mulredc1_5.o m4 -I../ -DOPERATION_mulredc1_6 `test -f mulredc1_6.asm || echo './'`mulredc1_6.asm >mulredc1_6.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_6.lo mulredc1_6.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_6.s -o mulredc1_6.o m4 -I../ -DOPERATION_mulredc1_7 `test -f mulredc1_7.asm || echo './'`mulredc1_7.asm >mulredc1_7.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_7.lo mulredc1_7.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_7.s -o mulredc1_7.o m4 -I../ -DOPERATION_mulredc1_8 `test -f mulredc1_8.asm || echo './'`mulredc1_8.asm >mulredc1_8.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_8.lo mulredc1_8.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_8.s -o mulredc1_8.o m4 -I../ -DOPERATION_mulredc1_9 `test -f mulredc1_9.asm || echo './'`mulredc1_9.asm >mulredc1_9.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_9.lo mulredc1_9.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_9.s -o mulredc1_9.o m4 -I../ -DOPERATION_mulredc1_10 `test -f mulredc1_10.asm || echo './'`mulredc1_10.asm >mulredc1_10.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_10.lo mulredc1_10.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_10.s -o mulredc1_10.o m4 -I../ -DOPERATION_mulredc1_11 `test -f mulredc1_11.asm || echo './'`mulredc1_11.asm >mulredc1_11.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_11.lo mulredc1_11.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_11.s -o mulredc1_11.o m4 -I../ -DOPERATION_mulredc1_12 `test -f mulredc1_12.asm || echo './'`mulredc1_12.asm >mulredc1_12.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_12.lo mulredc1_12.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_12.s -o mulredc1_12.o m4 -I../ -DOPERATION_mulredc1_13 `test -f mulredc1_13.asm || echo './'`mulredc1_13.asm >mulredc1_13.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_13.lo mulredc1_13.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_13.s -o mulredc1_13.o m4 -I../ -DOPERATION_mulredc1_14 `test -f mulredc1_14.asm || echo './'`mulredc1_14.asm >mulredc1_14.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_14.lo mulredc1_14.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_14.s -o mulredc1_14.o m4 -I../ -DOPERATION_mulredc1_15 `test -f mulredc1_15.asm || echo './'`mulredc1_15.asm >mulredc1_15.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_15.lo mulredc1_15.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_15.s -o mulredc1_15.o m4 -I../ -DOPERATION_mulredc1_16 `test -f mulredc1_16.asm || echo './'`mulredc1_16.asm >mulredc1_16.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_16.lo mulredc1_16.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_16.s -o mulredc1_16.o m4 -I../ -DOPERATION_mulredc1_17 `test -f mulredc1_17.asm || echo './'`mulredc1_17.asm >mulredc1_17.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_17.lo mulredc1_17.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_17.s -o mulredc1_17.o m4 -I../ -DOPERATION_mulredc1_18 `test -f mulredc1_18.asm || echo './'`mulredc1_18.asm >mulredc1_18.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_18.lo mulredc1_18.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_18.s -o mulredc1_18.o m4 -I../ -DOPERATION_mulredc1_19 `test -f mulredc1_19.asm || echo './'`mulredc1_19.asm >mulredc1_19.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_19.lo mulredc1_19.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_19.s -o mulredc1_19.o m4 -I../ -DOPERATION_mulredc1_20 `test -f mulredc1_20.asm || echo './'`mulredc1_20.asm >mulredc1_20.s /bin/sh ../libtool --mode=compile gcc -march=native -g -O3 -fPIC -c -o mulredc1_20.lo mulredc1_20.s libtool: compile: gcc -march=native -g -O3 -fPIC -c mulredc1_20.s -o mulredc1_20.o /bin/sh ../libtool --tag=CC --mode=link gcc -march=native -g -O3 -fPIC -o libmulredc.la mulredc1.lo mulredc2.lo mulredc3.lo mulredc4.lo mulredc5.lo mulredc6.lo mulredc7.lo mulredc8.lo mulredc9.lo mulredc10.lo mulredc11.lo mulredc12.lo mulredc13.lo mulredc14.lo mulredc15.lo mulredc16.lo mulredc17.lo mulredc18.lo mulredc19.lo mulredc20.lo mulredc1_2.lo mulredc1_3.lo mulredc1_4.lo mulredc1_5.lo mulredc1_6.lo mulredc1_7.lo mulredc1_8.lo mulredc1_9.lo mulredc1_10.lo mulredc1_11.lo mulredc1_12.lo mulredc1_13.lo mulredc1_14.lo mulredc1_15.lo mulredc1_16.lo mulredc1_17.lo mulredc1_18.lo mulredc1_19.lo mulredc1_20.lo libtool: link: ar cru .libs/libmulredc.a mulredc1.o mulredc2.o mulredc3.o mulredc4.o mulredc5.o mulredc6.o mulredc7.o mulredc8.o mulredc9.o mulredc10.o mulredc11.o mulredc12.o mulredc13.o mulredc14.o mulredc15.o mulredc16.o mulredc17.o mulredc18.o mulredc19.o mulredc20.o mulredc1_2.o mulredc1_3.o mulredc1_4.o mulredc1_5.o mulredc1_6.o mulredc1_7.o mulredc1_8.o mulredc1_9.o mulredc1_10.o mulredc1_11.o mulredc1_12.o mulredc1_13.o mulredc1_14.o mulredc1_15.o mulredc1_16.o mulredc1_17.o mulredc1_18.o mulredc1_19.o mulredc1_20.o libtool: link: ranlib .libs/libmulredc.a libtool: link: ( cd ".libs" && rm -f "libmulredc.la" && ln -s "../libmulredc.la" "libmulredc.la" ) rm mulredc1_9.s mulredc1_6.s mulredc1_19.s mulredc1_8.s mulredc1_3.s mulredc14.s mulredc1_13.s mulredc8.s mulredc2.s mulredc5.s mulredc17.s mulredc1_5.s mulredc1_11.s mulredc6.s mulredc18.s mulredc11.s mulredc1_15.s mulredc7.s mulredc12.s mulredc13.s mulredc4.s mulredc1_20.s mulredc1_10.s mulredc1_16.s mulredc20.s mulredc1.s mulredc9.s mulredc1_17.s mulredc10.s mulredc1_2.s mulredc1_12.s mulredc16.s mulredc1_18.s mulredc1_4.s mulredc19.s mulredc1_14.s mulredc15.s mulredc1_7.s mulredc3.s make[5]: Leaving directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src/x86_64' make[5]: Entering directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/projects/snapreg/sage-6.9/local/include -I/projects/snapreg/sage-6.9/local/include -march=native -g -O3 -fPIC -MT libecm_la-ecm.lo -MD -MP -MF .deps/libecm_la-ecm.Tpo -c -o libecm_la-ecm.lo `test -f 'ecm.c' || echo './'`ecm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/projects/snapreg/sage-6.9/local/include -I/projects/snapreg/sage-6.9/local/include -march=native -g -O3 -fPIC -MT libecm_la-ecm.lo -MD -MP -MF .deps/libecm_la-ecm.Tpo -c ecm.c -o libecm_la-ecm.o In file included from ecm.c:25:0: ecm-impl.h:756:0: warning: "mpn_mul_fft" redefined #define mpn_mul_fft __ECM(mpn_mul_fft) ^ In file included from ecm.h:27:0, from ecm-impl.h:27, from ecm.c:25: /projects/snapreg/sage-6.9/local/include/gmp.h:1870:0: note: this is the location of the previous definition #define mpn_mul_fft __MPN(mul_fft) ^ mv -f .deps/libecm_la-ecm.Tpo .deps/libecm_la-ecm.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/projects/snapreg/sage-6.9/local/include -I/projects/snapreg/sage-6.9/local/include -march=native -g -O3 -fPIC -MT libecm_la-ecm2.lo -MD -MP -MF .deps/libecm_la-ecm2.Tpo -c -o libecm_la-ecm2.lo `test -f 'ecm2.c' || echo './'`ecm2.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/projects/snapreg/sage-6.9/local/include -I/projects/snapreg/sage-6.9/local/include -march=native -g -O3 -fPIC -MT libecm_la-ecm2.lo -MD -MP -MF .deps/libecm_la-ecm2.Tpo -c ecm2.c -o libecm_la-ecm2.o In file included from ecm2.c:25:0: ecm-impl.h:756:0: warning: "mpn_mul_fft" redefined #define mpn_mul_fft __ECM(mpn_mul_fft) ^ In file included from ecm.h:27:0, from ecm-impl.h:27, from ecm2.c:25: /projects/snapreg/sage-6.9/local/include/gmp.h:1870:0: note: this is the location of the previous definition #define mpn_mul_fft __MPN(mul_fft) ^ mv -f .deps/libecm_la-ecm2.Tpo .deps/libecm_la-ecm2.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/projects/snapreg/sage-6.9/local/include -I/projects/snapreg/sage-6.9/local/include -march=native -g -O3 -fPIC -MT libecm_la-pm1.lo -MD -MP -MF .deps/libecm_la-pm1.Tpo -c -o libecm_la-pm1.lo `test -f 'pm1.c' || echo './'`pm1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64 -I/projects/snapreg/sage-6.9/local/include -I/projects/snapreg/sage-6.9/local/include -march=native -g -O3 -fPIC -MT libecm_la-pm1.lo -MD -MP -MF .deps/libecm_la-pm1.Tpo -c pm1.c -o libecm_la-pm1.o In file included from pm1.c:25:0: ecm-impl.h:756:0: warning: "mpn_mul_fft" redefined #define mpn_mul_fft __ECM(mpn_mul_fft) ^ In file included from ecm.h:27:0, from ecm-impl.h:27, from pm1.c:25: /projects/snapreg/sage-6.9/local/include/gmp.h:1870:0: note: this is the location of the previous definition #define mpn_mul_fft __MPN(mul_fft) ^ /tmp/cc5w3Sp4.s: Assembler messages: /tmp/cc5w3Sp4.s:656: Error: no such instruction: `shrx %eax,108(%rsp),%r9d' make[5]: *** [libecm_la-pm1.lo] Error 1 make[5]: Leaving directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4/src' Error building GMP-ECM. real 0m36.403s user 0m5.618s sys 0m3.623s ************************************************************************ Error installing package ecm-6.4.4 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /projects/snapreg/sage-6.9/logs/pkgs/ecm-6.4.4.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4 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 '/projects/snapreg/sage-6.9/local/var/tmp/sage/build/ecm-6.4.4' && '/projects/snapreg/sage-6.9/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************