On 2014-10-31, Volker Braun <[email protected]> wrote:
> ------=_Part_1806_1992617461.1414763378725
> Content-Type: text/plain; charset=UTF-8
>
> Can you post the log for the failed ecm compile? GCC 4.6 is a bit old in 
> the tooth now, of course..

I suppose the relevant parts are
(by the way, I notice it seems to be linking against a static libgpm...)

[...]
Host system:
Linux dima-cs 3.5.0-41-generic #64somerville8-Ubuntu SMP Wed Oct 2
09:57:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
****************************************************
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=k8 -mtune=k8  -g 
Finally using:
  CC=gcc
  CFLAGS=-march=native -g -O3  -fPIC
  CPP=
  CPPFLAGS=
  LDFLAGS=
  ABI=
  M4=
(These settings may still get overridden by 'configure' or Makefiles.)

Now configuring GMP-ECM with the following options:
  --prefix="/home/dima/software/sage/local"
  --libdir="/home/dima/software/sage/local/lib"
  --with-gmp="/home/dima/software/sage/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...
3458764513820540925
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... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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... yes
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... yes
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... yes
checking for gsl_blas_dgemm in -lgsl... yes
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.0.2/5.0.2) 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... no
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.athlon64 to ecm-params.h
config.status: linking mul_fft-params.h.athlon64 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 /home/dima/software/sage/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...
[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./x86_64
-I/home/dima/software/sage/local/include
-I/home/dima/software/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/ccds4jAD.s: Assembler messages:
/tmp/ccds4jAD.s:137: Error: no such instruction: `vfmadd312sd 
offset(%rip),%xmm0,%xmm3'
/tmp/ccds4jAD.s:713: Error: no such instruction: `vfmadd312sd 
.LC12(%rip),%xmm0,%xmm2'
make[5]: *** [libecm_la-getprime.lo] Error 1

.
>
> On Friday, October 31, 2014 12:24:47 PM UTC, Dima Pasechnik wrote:
>>
>> On 2014-10-30, Volker Braun <[email protected] <javascript:>> wrote: 
>> > ------=_Part_742_1112049983.1414678340265 
>> > Content-Type: text/plain; charset=UTF-8 
>> > 
>> > Notable changes are 
>> > 
>> > * OSX 10.10 support 
>> > * SageNB now can do 3d plots without Java, so it is usable again in 
>> chrome. 
>> > 
>> > Please test, especially if you are a notebook user! 
>>
>> building on Ubuntu 12.04 on an i7 Intel (that's  my 
>> new Dell laptob, shipped with Ubuntu (!)) runs into trouble at ECM 
>> (unknown assembler 
>> commands...), unless one forces the installation of gcc. 
>> The installed gcc is 
>>
>> -v 
>> Using built-in specs. 
>> COLLECT_GCC=gcc 
>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper 
>> Target: x86_64-linux-gnu 
>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
>> 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
>> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
>> --program-suffix=-4.6 --enable-shared --enable-linker-build-id 
>> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
>> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 
>> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
>> --enable-libstdcxx-debug --enable-libstdcxx-time=yes 
>> --enable-gnu-unique-object --enable-plugin --enable-objc-gc 
>> --disable-werror --with-arch-32=i686 --with-tune=generic 
>> --enable-checking=release --build=x86_64-linux-gnu 
>> --host=x86_64-linux-gnu --target=x86_64-linux-gnu 
>> Thread model: posix 
>> gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
>>
>> and the Sage-produced gcc is 
>>
>> $ gcc -v 
>> Using built-in specs. 
>> COLLECT_GCC=gcc 
>> COLLECT_LTO_WRAPPER=/home/dima/software/sage/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper
>>  
>>
>> Target: x86_64-unknown-linux-gnu 
>> Configured with: ../src/configure 
>> --prefix=/home/dima/software/sage/local 
>> --with-local-prefix=/home/dima/software/sage/local 
>> --with-gmp=/home/dima/software/sage/local 
>> --with-mpfr=/home/dima/software/sage/local 
>> --with-mpc=/home/dima/software/sage/local --with-system-zlib 
>> --disable-multilib --disable-nls --enable-languages=c,c++,fortran 
>> --disable-libitm   
>> Thread model: posix 
>> gcc version 4.9.1 (GCC) 
>>
>>
>> > As usual, pull the "develop" git branch or download the self-contained 
>> > tarball http://sage.sagedev.org/home/release/sage-6.4.rc0.tar.gz 
>> > 
>> > Mini-changelog: 
>> > 
>> > d990119 Updated Sage version to 6.4.rc0 
>> > b2092bb Trac #17020: Update jmol to the latest version 
>> > 2283698 Trac #16004: Update notebook to utilize pure javascript JSmol 
>> for 
>> > default live 3-D 
>> > de7c38e Trac #17242: Uniform random generation  of Composition of a 
>> given 
>> > size 
>> > 9d8dc84 Trac #15914: Add the option to compute the fox derivative in a 
>> > specific ring. 
>> > 3f8b3d0 Trac #17238: Increase Precision in Failing Doctests 
>> > ba493df Trac #17169: Upgrade to GCC 4.9.1 
>> > 94231d3 Trac #17199: doc cleanup in multi_polynomial_ideal 
>> > 93d3dbf Trac #17244: Add a doctest for closed ticket #8005 
>> > 522a6f8 Trac #17233: Uniform  random generation  of StandardTableau of a 
>> > given size 
>> > 05e978b Trac #17047: Isomorphism of incidence structures 
>> > 535c980 Trac #16983: Fix finite field modulus handling 
>> > 35ae4fd Trac #16706: Update IML to 1.0.4 
>> > e8696ab Trac #17241: Uniform random generation  of BinaryTree of a given 
>> > size 
>> > cbb76f8 Trac #17216: Poset / LatticePoset: [meet|join]matrix algorithm 
>> > 2524913 Trac #17179: TIDES interface should convert exact parameters to 
>> > floating points. 
>> > cb14c36 Trac #17204: OSX Yosemite libtool version detection 
>> > fb25c13 Trac #10843: Faster listing of number field homsets 
>> > 77cd34c Trac #16234: Assorted fixes and optimizations in sage-combinat 
>> > (mostly partitions and tableaux) 
>> > 5c934c4 Trac #17170: Sagenb graphics displayhook 
>> > a46bc25 Trac #16922: find_brouwer_van_rees_with_one_truncated_column 
>> > 59e5eec Trac #17224: Fix pickling of NC rings with weighted term order 
>> > edbd263 Trac #17196: Relax assumptions on bitset operations 
>> > a554edb Trac #16719: replace gap.eval with libgap calls in 
>> > combinat/combinat.py 
>> > d6feebb Trac #16313: easy-to-fix mistake in the stein-watkins optional 
>> > database docs 
>> > 91adf37 Trac #16493: Sage --dev tests broken for non-interactive shells 
>> > 1e1cc3b Trac #16278: MPFI's spkg-install overwrites CFLAGS 
>> > 7ae7117 Trac #17212: OSX zeromq testsuite 
>> > 93741be Trac #17154: Comparison of WeylGroups 
>> > 0718d27 Trac #17008: Give affine schemes unique representation (needed 
>> for 
>> > elliptic curves and forking) 
>> > 94164b6 Trac #17209: allow the use of distinct edgecolor and color for 
>> > polygons in 2D 
>> > 9ee40d7 Trac #16470: Add optional distance in BFS 
>> > 8bdc755 Trac #17157: Improve formula for Bell numbers 
>> > 4dc3c36 Trac #17203: Make sage -notebook=ipython land by default in pwd 
>> > 7f934ea Trac #17195: Upgrade Cython to 0.21.1 
>> > c7053a5 Trac #15300: Clifford algebras and differential Weyl algebras 
>> > 633b90e Trac #17202: IPython depends on pyzmq 
>> > 419ad8e Trac #17186: LatticePoset: faster is_modular 
>> > 311d9ef Trac #17189: Upon the first pass of the documentation 
>> compilation, 
>> > undefined label warnings should not trigger an exception 
>> > ca7cc5e Trac #16396: upgrade Sphinx to 1.2 
>> > b5ed445 Trac #16919: mistake in sage/src/bin/sage-bdist, OSX app is 
>> always 
>> > built 32-bit 
>> > 56543ca Trac #16568: remove desolve_system_strings() 
>> > 566d834 Trac #17112: Reorganize developer's manual table of contents 
>> > 56eec8a Trac #9827: Intermittent doctest failure in 
>> sage/interfaces/psage.py 
>> > 67ef668 Trac #17182: random spanning trees using the Aldous-Broder 
>> algorithm 
>> > f2ad04d Trac #17162: Error in semi-symmetric graph documentation 
>> > 27a6d50 Trac #17078: Fix documentation in partition.py 
>> > 810d34a Trac #16999: Fixing documentation typo. 
>> > 2062d9d Trac #17193: Adding a hash function to weak and strong tableaux 
>> > 2dbf16b Trac #16920: New V(m,t) vectors 
>> > be309e8 Trac #16911: Update sagenb 
>> > f68e873 Trac #16559: Brouwer-Van Rees version of Wilson's decomposition 
>> > c4e8674 Trac #17181: Poset.__repr__ should mention the linear extension 
>> > 309f6cd Trac #17140: Remove usage of deprecated scipy.linalg.expm2 and 
>> expm3 
>> > 050af2d Trac #16917: Deprecate cuspform_lseries() and modform_lseries() 
>> > a6e111e Trac #17103: Random failure in coercion/index.rst 
>> > de46432 Trac #17073: Documentation for Facade Sets 
>> > 7ea8673 Trac #17168: Fix Cython "except" values in various places 
>> > fe042ce Trac #17167: Fix Cython "except" values in matroids 
>> > 6b5ff95 Trac #17104: IncidenceStructure.relabel() (no arguments) 
>> > d9cd1a5 Trac #16233: Exceptions ignored by LeanMatrix operations 
>> > 9b0995d Trac #17118: Added multiplier computation to affine morphism 
>> > 22f3e28 Trac #17163: Speed improvement for DiGraph.in_degree 
>> > 669107e Trac #14019: equality is broken for Posets 
>> > 0270e9f Trac #17156: Creating a graph from a immutable digraph raises an 
>> > error 
>> > 402cfd8 Trac #11945: Throw exception instead of printing error in 
>> > c_graph.pyx 
>> > 6cb56e4 Trac #17152: Cython depends on setuptools 
>> > 2490136 Trac #17126: Floating-point precision issues fail matrix2.py 
>> > doctests 
>> > 7c12f2c Trac #17148: Update ATLAS to latest stable 3.10.2 
>> > 2407e08 Trac #17091: Update to git 2.1.2 
>> > 4a2b592 Trac #16428: Cleanup/reorganization of FLINT imports 
>> > f9f642c Trac #15203: error in LLL method with delta=1 
>> > d0f2e7d Trac #10668: Refactor category support for morphisms (Hom is not 
>> a 
>> > functorial construction!) 
>> > a4a6579 Trac #16340: Infrastructure for modelling full subcategories 
>> > dc64312 Trac #16998: Documentation conflict on is_graded() 
>> > bde9a75 Trac #16936: Hecke triangle groups (non-stub implementation) 
>> > bb85e22 Trac #17138: LatticePoset: complements() is broken 
>> > d82b80c Trac #17095: No documentation for random_element_plancherel() 
>> > 794df00 Trac #17023: Adding width() function to poset 
>> > 5e0c8d7 Trac #17119: Disallow pari(None) 
>> > 599d03e Trac #16933: Remove deprecated code 
>> > 
>>
>>
>

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

Reply via email to