Hi, on a Linux CentOS 6.10, I have an error compiling: [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s: Assembler messages: [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:94: Error: no such instruction: `mulx (%rsi),%r9,%r8' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:95: Error: no such instruction: `mulx 8(%rsi),%r11,%r10' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:96: Error: no such instruction: `mulx 16(%rsi),%rcx,%r12' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:100: Error: no such instruction: `mulx (%rsi),%rcx,%r12' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:101: Error: no such instruction: `mulx 8(%rsi),%rbx,%rax' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:105: Error: no such instruction: `mulx 16(%rsi),%r9,%r8' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:113: Error: no such instruction: `mulx (%rsi),%rbx,%rax' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:117: Error: no such instruction: `mulx 8(%rsi),%r9,%r8' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:121: Error: no such instruction: `mulx (%rsi),%r11,%r10' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:122: Error: no such instruction: `mulx 8(%rsi),%rcx,%r12' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:123: Error: no such instruction: `mulx 16(%rsi),%rbx,%rax' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:134: Error: no such instruction: `mulx (%rsi),%r9,%r8' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:139: Error: no such instruction: `mulx 8(%rsi),%r11,%r10' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:141: Error: no such instruction: `mulx 16(%rsi),%rcx,%r12' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] tmp-mul_1.s:143: Error: no such instruction: `mulx 24(%rsi),%rbx,%rax' [mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0] make[5]: *** [mul_1.lo] Error 1 with this version of gcc: gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
In attachment, the log file. Is there a missing piece that I don't have? anybody wants to take a shot at a solution? Thanks, Daniel -- 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.
Found local metadata for mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Using cached file /usr/local/soft/sage-8.4/upstream/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.tar.bz2 mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 ==================================================== Setting up build directory for mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 Finished extraction Applying patches from ../patches... Applying ../patches/ticket-25858.patch patching file configure patching file cpuid.c patching file mpn/x86/fat/fat.c patching file mpn/x86_64/fat/fat.c patching file mpn/x86_64w/fat/fat.c **************************************************** Host system: Linux boole.CRM.UMontreal.CA 2.6.32-754.2.1.el6.x86_64 #1 SMP Fri Jul 13 12:50:12 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) **************************************************** No record that 'mpir' was ever installed; skipping uninstall Machine type (default): x86_64-unknown-linux-gnu Machine type (mpir): haswellavx-unknown-linux-gnu Building a 64-bit version of MPIR. Building a reduced version of MPIR to bootstrap GCC. MPIR will later get rebuilt (with the C++ interface and static libraries enabled) using the new compiler. ------------------------------------------------------------------------ Configuring MPIR with empty CFLAGS to determine the defaults: checking build system type... haswellavx-unknown-linux-gnu checking host system type... haswellavx-unknown-linux-gnu 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 whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -m64 ... yes checking compiler gcc -m64 -O2... yes checking compiler gcc -m64 -O2 -march=corei7-avx... no checking compiler gcc -m64 -O2 -march=corei7... no checking compiler gcc -m64 -O2 -march=core2... yes checking compiler gcc -m64 -O2 -march=core2 -mtune=corei7-avx... no checking compiler gcc -m64 -O2 -march=core2 -mtune=corei7... no checking compiler gcc -m64 -O2 -march=core2 -mtune=core2... yes 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 whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -E checking build system compiler gcc -std=gnu99... yes checking for build system preprocessor... gcc -std=gnu99 -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm Looking for a system-wide yasm... Checking yasm... checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes using ABI="64" CC="gcc -std=gnu99" CFLAGS="-m64 -O2 -march=core2 -mtune=core2" CPPFLAGS="" MPN_PATH=" x86_64/haswell/avx x86_64/haswell x86_64/sandybridge x86_64 generic" checking for ar... ar 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 how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... ld checking if the linker (ld) is GNU ld... yes checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking how to convert haswellavx-unknown-linux-gnu file names to haswellavx-unknown-linux-gnu format... func_convert_file_noop checking how to convert haswellavx-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 -std=gnu99 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... ld checking if the linker (ld) is GNU ld... yes checking whether the g++ linker (ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... yes checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... yes checking whether sys_nerr is declared... yes checking for intmax_t... yes checking for uintmax_t... yes checking for long double... yes checking for long long... yes checking for quad_t... yes checking for uint_least32_t... yes checking for preprocessor stringizing operator... yes checking for working volatile... yes checking whether <stdarg.h> exists and works... yes checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for clock_gettime... no checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for mmap... yes checking for nl_langinfo... yes checking for obstack_vprintf... yes checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for syssgi... no checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... yes checking for sysctlbyname... no checking for times... yes checking for mprotect... yes checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... m4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute... checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section .rodata checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... .L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the .align directive accepts an 0x90 fill in .text... yes checking size of unsigned short... 2 checking size of unsigned... 4 checking size of unsigned long... 8 checking size of uintmax_t... 8 checking size of mp_limb_t... 8 creating config.m4 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating longlong.h config.status: creating Makefile config.status: creating mpf/Makefile config.status: creating mpn/Makefile config.status: creating fft/Makefile config.status: creating mpq/Makefile config.status: creating mpz/Makefile config.status: creating printf/Makefile config.status: creating scanf/Makefile config.status: creating cxx/Makefile config.status: creating tests/Makefile config.status: creating tests/devel/Makefile config.status: creating tests/mpf/Makefile config.status: creating tests/mpn/Makefile config.status: creating tests/fft/Makefile config.status: creating tests/mpq/Makefile config.status: creating tests/mpz/Makefile config.status: creating tests/rand/Makefile config.status: creating tests/misc/Makefile config.status: creating tests/cxx/Makefile config.status: creating doc/Makefile config.status: creating tune/Makefile config.status: creating mpir.h config.status: creating gmp.h config.status: creating config.h config.status: linking mpn/generic/add.c to mpn/add.c config.status: linking mpn/generic/add_1.c to mpn/add_1.c config.status: linking mpn/x86_64/haswell/add_n.as to mpn/add_n.as config.status: linking mpn/generic/sub.c to mpn/sub.c config.status: linking mpn/generic/sub_1.c to mpn/sub_1.c config.status: linking mpn/x86_64/haswell/sub_n.as to mpn/sub_n.as config.status: linking mpn/x86_64/haswell/avx/mul_1.asm to mpn/mul_1.asm config.status: linking mpn/x86_64/haswell/avx/addmul_1.as to mpn/addmul_1.as config.status: linking mpn/x86_64/haswell/avx/submul_1.as to mpn/submul_1.as config.status: linking mpn/x86_64/haswell/avx/lshift.as to mpn/lshift.as config.status: linking mpn/x86_64/haswell/avx/rshift.as to mpn/rshift.as config.status: linking mpn/generic/addadd_n.c to mpn/addadd_n.c config.status: linking mpn/generic/addsub_n.c to mpn/addsub_n.c config.status: linking mpn/generic/subadd_n.c to mpn/subadd_n.c config.status: linking mpn/generic/comb_tables.c to mpn/comb_tables.c config.status: linking mpn/generic/divexact_1.c to mpn/divexact_1.c config.status: linking mpn/x86_64/divexact_by3c.as to mpn/divexact_by3c.as config.status: linking mpn/x86_64/sandybridge/divexact_byff.as to mpn/divexact_byff.as config.status: linking mpn/x86_64/divexact_byfobm1.as to mpn/divexact_byfobm1.as config.status: linking mpn/generic/divisible_p.c to mpn/divisible_p.c config.status: linking mpn/generic/divrem.c to mpn/divrem.c config.status: linking mpn/generic/divrem_1.c to mpn/divrem_1.c config.status: linking mpn/x86_64/divrem_2.as to mpn/divrem_2.as config.status: linking mpn/x86_64/divrem_euclidean_qr_1.as to mpn/divrem_euclidean_qr_1.as config.status: linking mpn/x86_64/divrem_euclidean_qr_2.as to mpn/divrem_euclidean_qr_2.as config.status: linking mpn/generic/divrem_euclidean_r_1.c to mpn/divrem_euclidean_r_1.c config.status: linking mpn/generic/divrem_hensel_qr_1.c to mpn/divrem_hensel_qr_1.c config.status: linking mpn/x86_64/sandybridge/divrem_hensel_qr_1_1.asm to mpn/divrem_hensel_qr_1_1.asm config.status: linking mpn/generic/divrem_hensel_qr_1_2.c to mpn/divrem_hensel_qr_1_2.c config.status: linking mpn/generic/divrem_hensel_r_1.c to mpn/divrem_hensel_r_1.c config.status: linking mpn/generic/divrem_hensel_rsh_qr_1.c to mpn/divrem_hensel_rsh_qr_1.c config.status: linking mpn/generic/rsh_divrem_hensel_qr_1.c to mpn/rsh_divrem_hensel_qr_1.c config.status: linking mpn/x86_64/sandybridge/rsh_divrem_hensel_qr_1_1.asm to mpn/rsh_divrem_hensel_qr_1_1.asm config.status: linking mpn/x86_64/sandybridge/rsh_divrem_hensel_qr_1_2.asm to mpn/rsh_divrem_hensel_qr_1_2.asm config.status: linking mpn/x86_64/add_err1_n.asm to mpn/add_err1_n.asm config.status: linking mpn/x86_64/add_err2_n.asm to mpn/add_err2_n.asm config.status: linking mpn/x86_64/sub_err1_n.asm to mpn/sub_err1_n.asm config.status: linking mpn/x86_64/sub_err2_n.asm to mpn/sub_err2_n.asm config.status: linking mpn/generic/fib2_ui.c to mpn/fib2_ui.c config.status: linking mpn/generic/mod_1.c to mpn/mod_1.c config.status: linking mpn/generic/mod_34lsub1.c to mpn/mod_34lsub1.c config.status: linking mpn/x86_64/modexact_1c_odd.as to mpn/modexact_1c_odd.as config.status: linking mpn/generic/preinv_mod_1.c to mpn/preinv_mod_1.c config.status: linking mpn/generic/dump.c to mpn/dump.c config.status: linking mpn/generic/gcd_subdiv_step.c to mpn/gcd_subdiv_step.c config.status: linking mpn/generic/gcdext_lehmer.c to mpn/gcdext_lehmer.c config.status: linking mpn/generic/gcdext_1.c to mpn/gcdext_1.c config.status: linking mpn/generic/hgcd.c to mpn/hgcd.c config.status: linking mpn/generic/matrix22_mul.c to mpn/matrix22_mul.c config.status: linking mpn/x86_64/haswell/hgcd2.c to mpn/hgcd2.c config.status: linking mpn/generic/hgcd2_jacobi.c to mpn/hgcd2_jacobi.c config.status: linking mpn/generic/hgcd_appr.c to mpn/hgcd_appr.c config.status: linking mpn/generic/hgcd_jacobi.c to mpn/hgcd_jacobi.c config.status: linking mpn/generic/hgcd_matrix.c to mpn/hgcd_matrix.c config.status: linking mpn/generic/hgcd_reduce.c to mpn/hgcd_reduce.c config.status: linking mpn/generic/hgcd_step.c to mpn/hgcd_step.c config.status: linking mpn/generic/matrix22_mul1_inverse_vector.c to mpn/matrix22_mul1_inverse_vector.c config.status: linking mpn/x86_64/sandybridge/mod_1_1.asm to mpn/mod_1_1.asm config.status: linking mpn/x86_64/sandybridge/mod_1_2.asm to mpn/mod_1_2.asm config.status: linking mpn/x86_64/sandybridge/mod_1_3.asm to mpn/mod_1_3.asm config.status: linking mpn/generic/tdiv_q.c to mpn/tdiv_q.c config.status: linking mpn/generic/mp_bases.c to mpn/mp_bases.c config.status: linking mpn/generic/fib_table.c to mpn/fib_table.c config.status: linking mpn/x86_64/mulmid_basecase.asm to mpn/mulmid_basecase.asm config.status: linking mpn/generic/mulmid.c to mpn/mulmid.c config.status: linking mpn/generic/mulmid_n.c to mpn/mulmid_n.c config.status: linking mpn/generic/toom42_mulmid.c to mpn/toom42_mulmid.c config.status: linking mpn/generic/mulmod_bexpp1.c to mpn/mulmod_bexpp1.c config.status: linking mpn/generic/mulmod_2expm1.c to mpn/mulmod_2expm1.c config.status: linking mpn/generic/mulmod_2expp1_basecase.c to mpn/mulmod_2expp1_basecase.c config.status: linking mpn/generic/mul_fft.c to mpn/mul_fft.c config.status: linking mpn/generic/mul.c to mpn/mul.c config.status: linking mpn/generic/mul_n.c to mpn/mul_n.c config.status: linking mpn/x86_64/haswell/avx/mul_basecase.as to mpn/mul_basecase.as config.status: linking mpn/x86_64/haswell/avx/sqr_basecase.asm to mpn/sqr_basecase.asm config.status: linking mpn/generic/random.c to mpn/random.c config.status: linking mpn/generic/random2.c to mpn/random2.c config.status: linking mpn/generic/pow_1.c to mpn/pow_1.c config.status: linking mpn/generic/powlo.c to mpn/powlo.c config.status: linking mpn/generic/powm.c to mpn/powm.c config.status: linking mpn/generic/binvert.c to mpn/binvert.c config.status: linking mpn/generic/urandomb.c to mpn/urandomb.c config.status: linking mpn/generic/urandomm.c to mpn/urandomm.c config.status: linking mpn/generic/randomb.c to mpn/randomb.c config.status: linking mpn/generic/rrandom.c to mpn/rrandom.c config.status: linking mpn/generic/invert.c to mpn/invert.c config.status: linking mpn/generic/rootrem.c to mpn/rootrem.c config.status: linking mpn/generic/sizeinbase.c to mpn/sizeinbase.c config.status: linking mpn/generic/sqrtrem.c to mpn/sqrtrem.c config.status: linking mpn/generic/get_str.c to mpn/get_str.c config.status: linking mpn/generic/set_str.c to mpn/set_str.c config.status: linking mpn/generic/scan0.c to mpn/scan0.c config.status: linking mpn/generic/scan1.c to mpn/scan1.c config.status: linking mpn/x86_64/sandybridge/popcount.asm to mpn/popcount.asm config.status: linking mpn/x86_64/sandybridge/hamdist.asm to mpn/hamdist.asm config.status: linking mpn/generic/cmp.c to mpn/cmp.c config.status: linking mpn/generic/perfect_square_p.c to mpn/perfect_square_p.c config.status: linking mpn/generic/bdivmod.c to mpn/bdivmod.c config.status: linking mpn/generic/gcd.c to mpn/gcd.c config.status: linking mpn/generic/gcd_1.c to mpn/gcd_1.c config.status: linking mpn/generic/gcdext.c to mpn/gcdext.c config.status: linking mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c config.status: linking mpn/generic/jacobi_base.c to mpn/jacobi_base.c config.status: linking mpn/generic/jacobi.c to mpn/jacobi.c config.status: linking mpn/generic/jacobi_2.c to mpn/jacobi_2.c config.status: linking mpn/generic/get_d.c to mpn/get_d.c config.status: linking mpn/generic/mullow_n.c to mpn/mullow_n.c config.status: linking mpn/generic/mulhigh_n.c to mpn/mulhigh_n.c config.status: linking mpn/x86_64/sandybridge/mullow_n_basecase.asm to mpn/mullow_n_basecase.asm config.status: linking mpn/generic/mullow_basecase.c to mpn/mullow_basecase.c config.status: linking mpn/x86_64/sandybridge/redc_1.as to mpn/redc_1.as config.status: linking mpn/generic/redc_2.c to mpn/redc_2.c config.status: linking mpn/generic/redc_n.c to mpn/redc_n.c config.status: linking mpn/generic/sb_divappr_q.c to mpn/sb_divappr_q.c config.status: linking mpn/generic/toom3_mul.c to mpn/toom3_mul.c config.status: linking mpn/generic/toom3_mul_n.c to mpn/toom3_mul_n.c config.status: linking mpn/generic/toom4_mul.c to mpn/toom4_mul.c config.status: linking mpn/generic/toom4_mul_n.c to mpn/toom4_mul_n.c config.status: linking mpn/generic/dc_div_q.c to mpn/dc_div_q.c config.status: linking mpn/generic/dc_divappr_q.c to mpn/dc_divappr_q.c config.status: linking mpn/generic/sb_div_q.c to mpn/sb_div_q.c config.status: linking mpn/generic/sb_div_qr.c to mpn/sb_div_qr.c config.status: linking mpn/generic/dc_div_qr.c to mpn/dc_div_qr.c config.status: linking mpn/generic/dc_div_qr_n.c to mpn/dc_div_qr_n.c config.status: linking mpn/generic/inv_divappr_q_n.c to mpn/inv_divappr_q_n.c config.status: linking mpn/generic/inv_divappr_q.c to mpn/inv_divappr_q.c config.status: linking mpn/generic/inv_div_q.c to mpn/inv_div_q.c config.status: linking mpn/generic/inv_div_qr.c to mpn/inv_div_qr.c config.status: linking mpn/generic/inv_div_qr_n.c to mpn/inv_div_qr_n.c config.status: linking mpn/generic/rootrem_basecase.c to mpn/rootrem_basecase.c config.status: linking mpn/generic/toom_eval_dgr3_pm1.c to mpn/toom_eval_dgr3_pm1.c config.status: linking mpn/generic/toom_eval_dgr3_pm2.c to mpn/toom_eval_dgr3_pm2.c config.status: linking mpn/generic/toom_eval_pm1.c to mpn/toom_eval_pm1.c config.status: linking mpn/generic/toom_eval_pm2.c to mpn/toom_eval_pm2.c config.status: linking mpn/generic/toom_eval_pm2exp.c to mpn/toom_eval_pm2exp.c config.status: linking mpn/generic/toom_eval_pm2rexp.c to mpn/toom_eval_pm2rexp.c config.status: linking mpn/generic/toom_interpolate_16pts.c to mpn/toom_interpolate_16pts.c config.status: linking mpn/generic/toom8_sqr_n.c to mpn/toom8_sqr_n.c config.status: linking mpn/generic/toom8h_mul.c to mpn/toom8h_mul.c config.status: linking mpn/generic/toom_couple_handling.c to mpn/toom_couple_handling.c config.status: linking mpn/generic/sb_bdiv_q.c to mpn/sb_bdiv_q.c config.status: linking mpn/generic/sb_bdiv_qr.c to mpn/sb_bdiv_qr.c config.status: linking mpn/generic/dc_bdiv_q_n.c to mpn/dc_bdiv_q_n.c config.status: linking mpn/generic/dc_bdiv_q.c to mpn/dc_bdiv_q.c config.status: linking mpn/generic/dc_bdiv_qr.c to mpn/dc_bdiv_qr.c config.status: linking mpn/generic/dc_bdiv_qr_n.c to mpn/dc_bdiv_qr_n.c config.status: linking mpn/generic/divexact.c to mpn/divexact.c config.status: linking mpn/generic/zero.c to mpn/zero.c config.status: linking mpn/x86_64/haswell/avx/copyi.as to mpn/copyi.as config.status: linking mpn/x86_64/haswell/avx/copyd.as to mpn/copyd.as config.status: linking mpn/x86_64/haswell/avx/com_n.as to mpn/com_n.as config.status: linking mpn/generic/neg_n.c to mpn/neg_n.c config.status: linking mpn/x86_64/sandybridge/and_n.asm to mpn/and_n.asm config.status: linking mpn/x86_64/sandybridge/andn_n.asm to mpn/andn_n.asm config.status: linking mpn/x86_64/sandybridge/nand_n.asm to mpn/nand_n.asm config.status: linking mpn/x86_64/sandybridge/ior_n.asm to mpn/ior_n.asm config.status: linking mpn/x86_64/sandybridge/iorn_n.asm to mpn/iorn_n.asm config.status: linking mpn/x86_64/sandybridge/nior_n.asm to mpn/nior_n.asm config.status: linking mpn/x86_64/sandybridge/xor_n.asm to mpn/xor_n.asm config.status: linking mpn/x86_64/sandybridge/xnor_n.asm to mpn/xnor_n.asm config.status: linking mpn/x86_64/haswell/avx/lshift1.as to mpn/lshift1.as config.status: linking mpn/x86_64/haswell/avx/rshift1.as to mpn/rshift1.as config.status: linking mpn/x86_64/sandybridge/lshift2.asm to mpn/lshift2.asm config.status: linking mpn/x86_64/sandybridge/mul_2.asm to mpn/mul_2.asm config.status: linking mpn/x86_64/sandybridge/store.asm to mpn/store.asm config.status: linking mpn/x86_64/haswell/karaadd.asm to mpn/karaadd.asm config.status: linking mpn/x86_64/haswell/karasub.as to mpn/karasub.as config.status: linking mpn/x86_64/sandybridge/addmul_2.as to mpn/addmul_2.as config.status: linking mpn/x86_64/haswell/addlsh1_n.as to mpn/addlsh1_n.as config.status: linking mpn/x86_64/haswell/sublsh1_n.as to mpn/sublsh1_n.as config.status: linking mpn/x86_64/haswell/sumdiff_n.as to mpn/sumdiff_n.as config.status: linking mpn/x86_64/sandybridge/lshiftc.asm to mpn/lshiftc.asm config.status: linking mpn/x86_64/haswell/nsumdiff_n.as to mpn/nsumdiff_n.as config.status: linking mpn/x86_64/haswell/avx/gmp-mparam.h to gmp-mparam.h config.status: linking yasm_mac.inc.nofat to yasm_mac.inc config.status: executing libtool commands ------------------------------------------------------------------------ Settings chosen by MPIR when configuring with CFLAGS unset: CC: gcc -std=gnu99 CFLAGS: -m64 -O2 -march=core2 -mtune=core2 Settings added by Sage to build MPIR, taking into account SAGE_DEBUG etc.: CFLAGS: -g LDFLAGS: ABI: 64 Settings from the "global" environment: CC: gcc CFLAGS: LDFLAGS: -L/usr/local/soft/sage-8.4/local/lib -Wl,-rpath,/usr/local/soft/sage-8.4/local/lib ABI: (CPP, CPPFLAGS, CXX and CXXFLAGS are listed below; these don't get modified.) Finally using the following settings: CC=gcc CFLAGS=-m64 -O2 -march=core2 -mtune=core2 -g CPP= CPPFLAGS= CXX=g++ CXXFLAGS= LDFLAGS= -L/usr/local/soft/sage-8.4/local/lib -Wl,-rpath,/usr/local/soft/sage-8.4/local/lib ABI=64 (These settings may still get overridden by 'configure' or Makefiles.) ------------------------------------------------------------------------ Configuring MPIR with the following options: --prefix="/usr/local/soft/sage-8.4/local" --libdir="/usr/local/soft/sage-8.4/local/lib" --enable-gmpcompat --enable-shared --disable-cxx --disable-static You can set MPIR_CONFIGURE to pass additional parameters. Configuring mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 checking build system type... haswellavx-unknown-linux-gnu checking host system type... haswellavx-unknown-linux-gnu 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 whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -m64 -O2 -march=core2 -mtune=core2 -g ... yes 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 whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -E checking build system compiler gcc -std=gnu99... yes checking for build system preprocessor... gcc -std=gnu99 -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm Looking for a system-wide yasm... Checking yasm... checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes using ABI="64" CC="gcc -std=gnu99" CFLAGS="-m64 -O2 -march=core2 -mtune=core2 -g " CPPFLAGS="" MPN_PATH=" x86_64/haswell/avx x86_64/haswell x86_64/sandybridge x86_64 generic" checking for ar... ar 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 how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... ld checking if the linker (ld) is GNU ld... yes checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking how to convert haswellavx-unknown-linux-gnu file names to haswellavx-unknown-linux-gnu format... func_convert_file_noop checking how to convert haswellavx-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 -std=gnu99 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... ld checking if the linker (ld) is GNU ld... yes checking whether the g++ linker (ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... yes checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... yes checking whether sys_nerr is declared... yes checking for intmax_t... yes checking for uintmax_t... yes checking for long double... yes checking for long long... yes checking for quad_t... yes checking for uint_least32_t... yes checking for preprocessor stringizing operator... yes checking for working volatile... yes checking whether <stdarg.h> exists and works... yes checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for clock_gettime... no checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for mmap... yes checking for nl_langinfo... yes checking for obstack_vprintf... yes checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for syssgi... no checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... yes checking for sysctlbyname... no checking for times... yes checking for mprotect... yes checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... m4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute... checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section .rodata checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... .L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the .align directive accepts an 0x90 fill in .text... yes checking size of unsigned short... 2 checking size of unsigned... 4 checking size of unsigned long... 8 checking size of uintmax_t... 8 checking size of mp_limb_t... 8 creating config.m4 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating longlong.h config.status: creating Makefile config.status: creating mpf/Makefile config.status: creating mpn/Makefile config.status: creating fft/Makefile config.status: creating mpq/Makefile config.status: creating mpz/Makefile config.status: creating printf/Makefile config.status: creating scanf/Makefile config.status: creating cxx/Makefile config.status: creating tests/Makefile config.status: creating tests/devel/Makefile config.status: creating tests/mpf/Makefile config.status: creating tests/mpn/Makefile config.status: creating tests/fft/Makefile config.status: creating tests/mpq/Makefile config.status: creating tests/mpz/Makefile config.status: creating tests/rand/Makefile config.status: creating tests/misc/Makefile config.status: creating tests/cxx/Makefile config.status: creating doc/Makefile config.status: creating tune/Makefile config.status: creating mpir.h config.status: creating gmp.h config.status: creating config.h config.status: config.h is unchanged config.status: linking mpn/generic/add.c to mpn/add.c config.status: linking mpn/generic/add_1.c to mpn/add_1.c config.status: linking mpn/x86_64/haswell/add_n.as to mpn/add_n.as config.status: linking mpn/generic/sub.c to mpn/sub.c config.status: linking mpn/generic/sub_1.c to mpn/sub_1.c config.status: linking mpn/x86_64/haswell/sub_n.as to mpn/sub_n.as config.status: linking mpn/x86_64/haswell/avx/mul_1.asm to mpn/mul_1.asm config.status: linking mpn/x86_64/haswell/avx/addmul_1.as to mpn/addmul_1.as config.status: linking mpn/x86_64/haswell/avx/submul_1.as to mpn/submul_1.as config.status: linking mpn/x86_64/haswell/avx/lshift.as to mpn/lshift.as config.status: linking mpn/x86_64/haswell/avx/rshift.as to mpn/rshift.as config.status: linking mpn/generic/addadd_n.c to mpn/addadd_n.c config.status: linking mpn/generic/addsub_n.c to mpn/addsub_n.c config.status: linking mpn/generic/subadd_n.c to mpn/subadd_n.c config.status: linking mpn/generic/comb_tables.c to mpn/comb_tables.c config.status: linking mpn/generic/divexact_1.c to mpn/divexact_1.c config.status: linking mpn/x86_64/divexact_by3c.as to mpn/divexact_by3c.as config.status: linking mpn/x86_64/sandybridge/divexact_byff.as to mpn/divexact_byff.as config.status: linking mpn/x86_64/divexact_byfobm1.as to mpn/divexact_byfobm1.as config.status: linking mpn/generic/divisible_p.c to mpn/divisible_p.c config.status: linking mpn/generic/divrem.c to mpn/divrem.c config.status: linking mpn/generic/divrem_1.c to mpn/divrem_1.c config.status: linking mpn/x86_64/divrem_2.as to mpn/divrem_2.as config.status: linking mpn/x86_64/divrem_euclidean_qr_1.as to mpn/divrem_euclidean_qr_1.as config.status: linking mpn/x86_64/divrem_euclidean_qr_2.as to mpn/divrem_euclidean_qr_2.as config.status: linking mpn/generic/divrem_euclidean_r_1.c to mpn/divrem_euclidean_r_1.c config.status: linking mpn/generic/divrem_hensel_qr_1.c to mpn/divrem_hensel_qr_1.c config.status: linking mpn/x86_64/sandybridge/divrem_hensel_qr_1_1.asm to mpn/divrem_hensel_qr_1_1.asm config.status: linking mpn/generic/divrem_hensel_qr_1_2.c to mpn/divrem_hensel_qr_1_2.c config.status: linking mpn/generic/divrem_hensel_r_1.c to mpn/divrem_hensel_r_1.c config.status: linking mpn/generic/divrem_hensel_rsh_qr_1.c to mpn/divrem_hensel_rsh_qr_1.c config.status: linking mpn/generic/rsh_divrem_hensel_qr_1.c to mpn/rsh_divrem_hensel_qr_1.c config.status: linking mpn/x86_64/sandybridge/rsh_divrem_hensel_qr_1_1.asm to mpn/rsh_divrem_hensel_qr_1_1.asm config.status: linking mpn/x86_64/sandybridge/rsh_divrem_hensel_qr_1_2.asm to mpn/rsh_divrem_hensel_qr_1_2.asm config.status: linking mpn/x86_64/add_err1_n.asm to mpn/add_err1_n.asm config.status: linking mpn/x86_64/add_err2_n.asm to mpn/add_err2_n.asm config.status: linking mpn/x86_64/sub_err1_n.asm to mpn/sub_err1_n.asm config.status: linking mpn/x86_64/sub_err2_n.asm to mpn/sub_err2_n.asm config.status: linking mpn/generic/fib2_ui.c to mpn/fib2_ui.c config.status: linking mpn/generic/mod_1.c to mpn/mod_1.c config.status: linking mpn/generic/mod_34lsub1.c to mpn/mod_34lsub1.c config.status: linking mpn/x86_64/modexact_1c_odd.as to mpn/modexact_1c_odd.as config.status: linking mpn/generic/preinv_mod_1.c to mpn/preinv_mod_1.c config.status: linking mpn/generic/dump.c to mpn/dump.c config.status: linking mpn/generic/gcd_subdiv_step.c to mpn/gcd_subdiv_step.c config.status: linking mpn/generic/gcdext_lehmer.c to mpn/gcdext_lehmer.c config.status: linking mpn/generic/gcdext_1.c to mpn/gcdext_1.c config.status: linking mpn/generic/hgcd.c to mpn/hgcd.c config.status: linking mpn/generic/matrix22_mul.c to mpn/matrix22_mul.c config.status: linking mpn/x86_64/haswell/hgcd2.c to mpn/hgcd2.c config.status: linking mpn/generic/hgcd2_jacobi.c to mpn/hgcd2_jacobi.c config.status: linking mpn/generic/hgcd_appr.c to mpn/hgcd_appr.c config.status: linking mpn/generic/hgcd_jacobi.c to mpn/hgcd_jacobi.c config.status: linking mpn/generic/hgcd_matrix.c to mpn/hgcd_matrix.c config.status: linking mpn/generic/hgcd_reduce.c to mpn/hgcd_reduce.c config.status: linking mpn/generic/hgcd_step.c to mpn/hgcd_step.c config.status: linking mpn/generic/matrix22_mul1_inverse_vector.c to mpn/matrix22_mul1_inverse_vector.c config.status: linking mpn/x86_64/sandybridge/mod_1_1.asm to mpn/mod_1_1.asm config.status: linking mpn/x86_64/sandybridge/mod_1_2.asm to mpn/mod_1_2.asm config.status: linking mpn/x86_64/sandybridge/mod_1_3.asm to mpn/mod_1_3.asm config.status: linking mpn/generic/tdiv_q.c to mpn/tdiv_q.c config.status: linking mpn/generic/mp_bases.c to mpn/mp_bases.c config.status: linking mpn/generic/fib_table.c to mpn/fib_table.c config.status: linking mpn/x86_64/mulmid_basecase.asm to mpn/mulmid_basecase.asm config.status: linking mpn/generic/mulmid.c to mpn/mulmid.c config.status: linking mpn/generic/mulmid_n.c to mpn/mulmid_n.c config.status: linking mpn/generic/toom42_mulmid.c to mpn/toom42_mulmid.c config.status: linking mpn/generic/mulmod_bexpp1.c to mpn/mulmod_bexpp1.c config.status: linking mpn/generic/mulmod_2expm1.c to mpn/mulmod_2expm1.c config.status: linking mpn/generic/mulmod_2expp1_basecase.c to mpn/mulmod_2expp1_basecase.c config.status: linking mpn/generic/mul_fft.c to mpn/mul_fft.c config.status: linking mpn/generic/mul.c to mpn/mul.c config.status: linking mpn/generic/mul_n.c to mpn/mul_n.c config.status: linking mpn/x86_64/haswell/avx/mul_basecase.as to mpn/mul_basecase.as config.status: linking mpn/x86_64/haswell/avx/sqr_basecase.asm to mpn/sqr_basecase.asm config.status: linking mpn/generic/random.c to mpn/random.c config.status: linking mpn/generic/random2.c to mpn/random2.c config.status: linking mpn/generic/pow_1.c to mpn/pow_1.c config.status: linking mpn/generic/powlo.c to mpn/powlo.c config.status: linking mpn/generic/powm.c to mpn/powm.c config.status: linking mpn/generic/binvert.c to mpn/binvert.c config.status: linking mpn/generic/urandomb.c to mpn/urandomb.c config.status: linking mpn/generic/urandomm.c to mpn/urandomm.c config.status: linking mpn/generic/randomb.c to mpn/randomb.c config.status: linking mpn/generic/rrandom.c to mpn/rrandom.c config.status: linking mpn/generic/invert.c to mpn/invert.c config.status: linking mpn/generic/rootrem.c to mpn/rootrem.c config.status: linking mpn/generic/sizeinbase.c to mpn/sizeinbase.c config.status: linking mpn/generic/sqrtrem.c to mpn/sqrtrem.c config.status: linking mpn/generic/get_str.c to mpn/get_str.c config.status: linking mpn/generic/set_str.c to mpn/set_str.c config.status: linking mpn/generic/scan0.c to mpn/scan0.c config.status: linking mpn/generic/scan1.c to mpn/scan1.c config.status: linking mpn/x86_64/sandybridge/popcount.asm to mpn/popcount.asm config.status: linking mpn/x86_64/sandybridge/hamdist.asm to mpn/hamdist.asm config.status: linking mpn/generic/cmp.c to mpn/cmp.c config.status: linking mpn/generic/perfect_square_p.c to mpn/perfect_square_p.c config.status: linking mpn/generic/bdivmod.c to mpn/bdivmod.c config.status: linking mpn/generic/gcd.c to mpn/gcd.c config.status: linking mpn/generic/gcd_1.c to mpn/gcd_1.c config.status: linking mpn/generic/gcdext.c to mpn/gcdext.c config.status: linking mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c config.status: linking mpn/generic/jacobi_base.c to mpn/jacobi_base.c config.status: linking mpn/generic/jacobi.c to mpn/jacobi.c config.status: linking mpn/generic/jacobi_2.c to mpn/jacobi_2.c config.status: linking mpn/generic/get_d.c to mpn/get_d.c config.status: linking mpn/generic/mullow_n.c to mpn/mullow_n.c config.status: linking mpn/generic/mulhigh_n.c to mpn/mulhigh_n.c config.status: linking mpn/x86_64/sandybridge/mullow_n_basecase.asm to mpn/mullow_n_basecase.asm config.status: linking mpn/generic/mullow_basecase.c to mpn/mullow_basecase.c config.status: linking mpn/x86_64/sandybridge/redc_1.as to mpn/redc_1.as config.status: linking mpn/generic/redc_2.c to mpn/redc_2.c config.status: linking mpn/generic/redc_n.c to mpn/redc_n.c config.status: linking mpn/generic/sb_divappr_q.c to mpn/sb_divappr_q.c config.status: linking mpn/generic/toom3_mul.c to mpn/toom3_mul.c config.status: linking mpn/generic/toom3_mul_n.c to mpn/toom3_mul_n.c config.status: linking mpn/generic/toom4_mul.c to mpn/toom4_mul.c config.status: linking mpn/generic/toom4_mul_n.c to mpn/toom4_mul_n.c config.status: linking mpn/generic/dc_div_q.c to mpn/dc_div_q.c config.status: linking mpn/generic/dc_divappr_q.c to mpn/dc_divappr_q.c config.status: linking mpn/generic/sb_div_q.c to mpn/sb_div_q.c config.status: linking mpn/generic/sb_div_qr.c to mpn/sb_div_qr.c config.status: linking mpn/generic/dc_div_qr.c to mpn/dc_div_qr.c config.status: linking mpn/generic/dc_div_qr_n.c to mpn/dc_div_qr_n.c config.status: linking mpn/generic/inv_divappr_q_n.c to mpn/inv_divappr_q_n.c config.status: linking mpn/generic/inv_divappr_q.c to mpn/inv_divappr_q.c config.status: linking mpn/generic/inv_div_q.c to mpn/inv_div_q.c config.status: linking mpn/generic/inv_div_qr.c to mpn/inv_div_qr.c config.status: linking mpn/generic/inv_div_qr_n.c to mpn/inv_div_qr_n.c config.status: linking mpn/generic/rootrem_basecase.c to mpn/rootrem_basecase.c config.status: linking mpn/generic/toom_eval_dgr3_pm1.c to mpn/toom_eval_dgr3_pm1.c config.status: linking mpn/generic/toom_eval_dgr3_pm2.c to mpn/toom_eval_dgr3_pm2.c config.status: linking mpn/generic/toom_eval_pm1.c to mpn/toom_eval_pm1.c config.status: linking mpn/generic/toom_eval_pm2.c to mpn/toom_eval_pm2.c config.status: linking mpn/generic/toom_eval_pm2exp.c to mpn/toom_eval_pm2exp.c config.status: linking mpn/generic/toom_eval_pm2rexp.c to mpn/toom_eval_pm2rexp.c config.status: linking mpn/generic/toom_interpolate_16pts.c to mpn/toom_interpolate_16pts.c config.status: linking mpn/generic/toom8_sqr_n.c to mpn/toom8_sqr_n.c config.status: linking mpn/generic/toom8h_mul.c to mpn/toom8h_mul.c config.status: linking mpn/generic/toom_couple_handling.c to mpn/toom_couple_handling.c config.status: linking mpn/generic/sb_bdiv_q.c to mpn/sb_bdiv_q.c config.status: linking mpn/generic/sb_bdiv_qr.c to mpn/sb_bdiv_qr.c config.status: linking mpn/generic/dc_bdiv_q_n.c to mpn/dc_bdiv_q_n.c config.status: linking mpn/generic/dc_bdiv_q.c to mpn/dc_bdiv_q.c config.status: linking mpn/generic/dc_bdiv_qr.c to mpn/dc_bdiv_qr.c config.status: linking mpn/generic/dc_bdiv_qr_n.c to mpn/dc_bdiv_qr_n.c config.status: linking mpn/generic/divexact.c to mpn/divexact.c config.status: linking mpn/generic/zero.c to mpn/zero.c config.status: linking mpn/x86_64/haswell/avx/copyi.as to mpn/copyi.as config.status: linking mpn/x86_64/haswell/avx/copyd.as to mpn/copyd.as config.status: linking mpn/x86_64/haswell/avx/com_n.as to mpn/com_n.as config.status: linking mpn/generic/neg_n.c to mpn/neg_n.c config.status: linking mpn/x86_64/sandybridge/and_n.asm to mpn/and_n.asm config.status: linking mpn/x86_64/sandybridge/andn_n.asm to mpn/andn_n.asm config.status: linking mpn/x86_64/sandybridge/nand_n.asm to mpn/nand_n.asm config.status: linking mpn/x86_64/sandybridge/ior_n.asm to mpn/ior_n.asm config.status: linking mpn/x86_64/sandybridge/iorn_n.asm to mpn/iorn_n.asm config.status: linking mpn/x86_64/sandybridge/nior_n.asm to mpn/nior_n.asm config.status: linking mpn/x86_64/sandybridge/xor_n.asm to mpn/xor_n.asm config.status: linking mpn/x86_64/sandybridge/xnor_n.asm to mpn/xnor_n.asm config.status: linking mpn/x86_64/haswell/avx/lshift1.as to mpn/lshift1.as config.status: linking mpn/x86_64/haswell/avx/rshift1.as to mpn/rshift1.as config.status: linking mpn/x86_64/sandybridge/lshift2.asm to mpn/lshift2.asm config.status: linking mpn/x86_64/sandybridge/mul_2.asm to mpn/mul_2.asm config.status: linking mpn/x86_64/sandybridge/store.asm to mpn/store.asm config.status: linking mpn/x86_64/haswell/karaadd.asm to mpn/karaadd.asm config.status: linking mpn/x86_64/haswell/karasub.as to mpn/karasub.as config.status: linking mpn/x86_64/sandybridge/addmul_2.as to mpn/addmul_2.as config.status: linking mpn/x86_64/haswell/addlsh1_n.as to mpn/addlsh1_n.as config.status: linking mpn/x86_64/haswell/sublsh1_n.as to mpn/sublsh1_n.as config.status: linking mpn/x86_64/haswell/sumdiff_n.as to mpn/sumdiff_n.as config.status: linking mpn/x86_64/sandybridge/lshiftc.asm to mpn/lshiftc.asm config.status: linking mpn/x86_64/haswell/nsumdiff_n.as to mpn/nsumdiff_n.as config.status: linking mpn/x86_64/haswell/avx/gmp-mparam.h to gmp-mparam.h config.status: linking yasm_mac.inc.nofat to yasm_mac.inc config.status: executing libtool commands Building mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 make[3]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src' echo "void dummy1(void){return;}" > mpn/dummy1.c make all-recursive make[4]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src' Making all in tests make[5]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests' Making all in . make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests' make[6]: Nothing to be done for `all-am'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests' Making all in devel make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/devel' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/devel' Making all in mpn make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpn' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpn' Making all in fft make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/fft' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/fft' Making all in mpz make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpz' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpz' Making all in mpq make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpq' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpq' Making all in mpf make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpf' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/mpf' Making all in rand make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/rand' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/rand' Making all in misc make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/misc' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/misc' Making all in cxx make[6]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/cxx' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests/cxx' make[5]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/tests' Making all in mpn make[5]: Entering directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/mpn' /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo dummy1 | sed 's/_$//'` -m64 -O2 -march=core2 -mtune=core2 -g -c -o dummy1.lo dummy1.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_dummy1 -m64 -O2 -march=core2 -mtune=core2 -g -c dummy1.c -fPIC -DPIC -o .libs/dummy1.o /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add | sed 's/_$//'` -m64 -O2 -march=core2 -mtune=core2 -g -c -o add.lo add.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add -m64 -O2 -march=core2 -mtune=core2 -g -c add.c -fPIC -DPIC -o .libs/add.o /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add_1 | sed 's/_$//'` -m64 -O2 -march=core2 -mtune=core2 -g -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 -m64 -O2 -march=core2 -mtune=core2 -g -c add_1.c -fPIC -DPIC -o .libs/add_1.o /bin/bash ../libtool --mode=compile --tag=CC ../strip_fPIC.sh /usr/local/soft/sage-8.4/local/bin/yasm -I .. -f elf64 -o add_n.lo `test -f 'add_n.as' || echo './'`add_n.as libtool: compile: ../strip_fPIC.sh /usr/local/soft/sage-8.4/local/bin/yasm -I .. -f elf64 add_n.as -fPIC -DPIC -o .libs/add_n.o /usr/local/soft/sage-8.4/local/bin/yasm -I .. -f elf64 add_n.as -D PIC -o .libs/add_n.o /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo sub | sed 's/_$//'` -m64 -O2 -march=core2 -mtune=core2 -g -c -o sub.lo sub.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_sub -m64 -O2 -march=core2 -mtune=core2 -g -c sub.c -fPIC -DPIC -o .libs/sub.o /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo sub_1 | sed 's/_$//'` -m64 -O2 -march=core2 -mtune=core2 -g -c -o sub_1.lo sub_1.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_sub_1 -m64 -O2 -march=core2 -mtune=core2 -g -c sub_1.c -fPIC -DPIC -o .libs/sub_1.o /bin/bash ../libtool --mode=compile --tag=CC ../strip_fPIC.sh /usr/local/soft/sage-8.4/local/bin/yasm -I .. -f elf64 -o sub_n.lo `test -f 'sub_n.as' || echo './'`sub_n.as libtool: compile: ../strip_fPIC.sh /usr/local/soft/sage-8.4/local/bin/yasm -I .. -f elf64 sub_n.as -fPIC -DPIC -o .libs/sub_n.o /usr/local/soft/sage-8.4/local/bin/yasm -I .. -f elf64 sub_n.as -D PIC -o .libs/sub_n.o /bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -std=gnu99 -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mul_1 | sed 's/_$//'` -m64 -O2 -march=core2 -mtune=core2 -g -I. -I.. `test -f 'mul_1.asm' || echo './'`mul_1.asm libtool: compile: ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_1 -m64 -O2 -march=core2 -mtune=core2 -g -I. -I.. mul_1.asm -fPIC -DPIC -o .libs/mul_1.o m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_mul_1 -DPIC mul_1.asm >tmp-mul_1.s gcc -std=gnu99 -c -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_1 -m64 -O2 -march=core2 -mtune=core2 -g -I. -I.. tmp-mul_1.s -fPIC -DPIC -o .libs/mul_1.o tmp-mul_1.s: Assembler messages: tmp-mul_1.s:94: Error: no such instruction: `mulx (%rsi),%r9,%r8' tmp-mul_1.s:95: Error: no such instruction: `mulx 8(%rsi),%r11,%r10' tmp-mul_1.s:96: Error: no such instruction: `mulx 16(%rsi),%rcx,%r12' tmp-mul_1.s:100: Error: no such instruction: `mulx (%rsi),%rcx,%r12' tmp-mul_1.s:101: Error: no such instruction: `mulx 8(%rsi),%rbx,%rax' tmp-mul_1.s:105: Error: no such instruction: `mulx 16(%rsi),%r9,%r8' tmp-mul_1.s:113: Error: no such instruction: `mulx (%rsi),%rbx,%rax' tmp-mul_1.s:117: Error: no such instruction: `mulx 8(%rsi),%r9,%r8' tmp-mul_1.s:121: Error: no such instruction: `mulx (%rsi),%r11,%r10' tmp-mul_1.s:122: Error: no such instruction: `mulx 8(%rsi),%rcx,%r12' tmp-mul_1.s:123: Error: no such instruction: `mulx 16(%rsi),%rbx,%rax' tmp-mul_1.s:134: Error: no such instruction: `mulx (%rsi),%r9,%r8' tmp-mul_1.s:139: Error: no such instruction: `mulx 8(%rsi),%r11,%r10' tmp-mul_1.s:141: Error: no such instruction: `mulx 16(%rsi),%rcx,%r12' tmp-mul_1.s:143: Error: no such instruction: `mulx 24(%rsi),%rbx,%rax' make[5]: *** [mul_1.lo] Error 1 make[5]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/mpn' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src' ******************************************************************************** Error building mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 ******************************************************************************** real 2m33.098s user 0m8.328s sys 0m9.567s ************************************************************************ Error installing package mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /usr/local/soft/sage-8.4/logs/pkgs/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 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 '/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0' && '/usr/local/soft/sage-8.4/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************