Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10
I changed the path to use all the new versions, as version is 2.23.52.0.1-10.el6 20130226 but it still fails at the same place. They are not assembler error but C++ error like before. See the log in attachment and the error displayed at the bottom of my message. If nobody has an idea how to correct it, then I will have to tell my users that we can't have Sage on our Linux systems, they still can use Matlab or Maple. Thanks! Daniel [fflas_ffpack-2.3.2] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -O2 -Wall -g -I/usr/local/soft/sage-8.4/local/include -fabi-version=6 -mavx -mavx2 -mfma -msse -msse2 -msse3 -msse4.1 -msse4.2 -mssse3 -std=gnu++11 -MT fflas_L1_inst.lo -MD -MP -MF .deps/fflas_L1_inst.Tpo -c fflas_L1_inst.C -fPIC -DPIC -o .libs/fflas_L1_inst.o [fflas_ffpack-2.3.2] In file included from ../../../fflas-ffpack/fflas/fflas_simd.h:208:0, [fflas_ffpack-2.3.2] from ../../../fflas-ffpack/fflas/fflas_freduce.h:33, [fflas_ffpack-2.3.2] from ../../../fflas-ffpack/fflas/fflas.h:104, [fflas_ffpack-2.3.2] from fflas_L1_inst.C:34: [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl: In static member function 'static Simd256i_base::vect_t Simd256i_base::sll128(Simd256i_base::vect_t)': [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:102:85: error: there are no arguments to '_mm256_bslli_epi128' that depend on a template parameter, so a declaration of '_mm256_bslli_epi128' must be available [-fpermissive] [fflas_ffpack-2.3.2] static INLINE CONST vect_t sll128(const vect_t a) { return _mm256_bslli_epi128(a, s); } [fflas_ffpack-2.3.2] ^ [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:102:85: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl: In static member function 'static Simd256i_base::vect_t Simd256i_base::srl128(Simd256i_base::vect_t)': [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:110:85: error: there are no arguments to '_mm256_bsrli_epi128' that depend on a template parameter, so a declaration of '_mm256_bsrli_epi128' must be available [-fpermissive] [fflas_ffpack-2.3.2] static INLINE CONST vect_t srl128(const vect_t a) { return _mm256_bsrli_epi128(a, s); } [fflas_ffpack-2.3.2] ^ [fflas_ffpack-2.3.2] make[8]: *** [fflas_L1_inst.lo] Error 1 [fflas_ffpack-2.3.2] make[8]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack/interfaces/libs' [fflas_ffpack-2.3.2] make[7]: *** [all-recursive] Error 1 [fflas_ffpack-2.3.2] make[7]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack/interfaces' [fflas_ffpack-2.3.2] make[6]: *** [all-recursive] Error 1 [fflas_ffpack-2.3.2] make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack' [fflas_ffpack-2.3.2] make[5]: *** [all-recursive] Error 1 [fflas_ffpack-2.3.2] make[5]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src' [fflas_ffpack-2.3.2] make[4]: *** [all] Error 2 [fflas_ffpack-2.3.2] make[4]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src' [fflas_ffpack-2.3.2] [fflas_ffpack-2.3.2] Error building fflas_ffpack-2.3.2 [fflas_ffpack-2.3.2] [fflas_ffpack-2.3.2] [fflas_ffpack-2.3.2] real0m38.796s [fflas_ffpack-2.3.2] user0m3.396s [fflas_ffpack-2.3.2] sys0m2.572s [fflas_ffpack-2.3.2] [fflas_ffpack-2.3.2] Error installing package fflas_ffpack-2.3.2 [fflas_ffpack-2.3.2] -- 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 fflas_ffpack-2.3.2 Using cached file /usr/local/soft/sage-8.4/upstream/fflas_ffpack-2.3.2.tar.bz2 fflas_ffpack-2.3.2 Setting up build directory for fflas_ffpack-2.3.2 Finished extraction Applying patches from ../patches... Applying
Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10
as --version GNU assembler version 2.20.51.0.2-5.48.el6 20100205 There is another as installed in /opt but how to use it with the Make? in the configure options, there is no place to change the assembler! I changed the compiler with the CC variable and CXX, but is there a variable for the assembler? Le mercredi 7 novembre 2018 17:36:20 UTC-5, Dima Pasechnik a écrit : > > Your assembler is very old, still. > The compiler was not a problem, it is the assembler. > Please run at the terminal prompt > > as --version > > And post the result here. E.g. if I run this I see > > $ as --version > GNU assembler (GNU Binutils for Debian) 2.28 > Copyright (C) 2017 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License version 3 or later. > This program has absolutely no warranty. > This assembler was configured for a target of `x86_64-linux-gnu'. > > Presumably you need to upgrade your binutils, as was already explained... > > On Wed, Nov 7, 2018 at 3:56 PM Daniel Ouimet > > wrote: > > > > I did what you suggest: > > installing a newer version. The newest I could find for my CentOS is: > > gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15) > > > > Then for the first time it goes further and further. Took hours! but > it finally stopped there (also in attachment the log file): > > > > [fflas_ffpack-2.3.2] In file included from > ../../../fflas-ffpack/fflas/fflas_simd.h:208:0, > > [fflas_ffpack-2.3.2] from > ../../../fflas-ffpack/fflas/fflas_freduce.h:33, > > [fflas_ffpack-2.3.2] from > ../../../fflas-ffpack/fflas/fflas.h:104, > > [fflas_ffpack-2.3.2] from fflas_L1_inst.C:34: > > [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl: > In static member function 'static Simd256i_base::vect_t > Simd256i_base::sll128(Simd256i_base::vect_t)': > > [fflas_ffpack-2.3.2] > ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:102:85: error: there are > no arguments to '_mm256_bslli_epi128' that depend on a template parameter, > so a declaration of '_mm256_bslli_epi128' must be available [-fpermissive] > > [fflas_ffpack-2.3.2] static INLINE CONST vect_t sll128(const vect_t a) > { return _mm256_bslli_epi128(a, s); } > > [fflas_ffpack-2.3.2] > ^ > > [fflas_ffpack-2.3.2] > ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:102:85: note: (if you > use '-fpermissive', G++ will accept your code, but allowing the use of an > undeclared name is deprecated) > > [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl: > In static member function 'static Simd256i_base::vect_t > Simd256i_base::srl128(Simd256i_base::vect_t)': > > [fflas_ffpack-2.3.2] > ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:110:85: error: there are > no arguments to '_mm256_bsrli_epi128' that depend on a template parameter, > so a declaration of '_mm256_bsrli_epi128' must be available [-fpermissive] > > [fflas_ffpack-2.3.2] static INLINE CONST vect_t srl128(const vect_t a) > { return _mm256_bsrli_epi128(a, s); } > > [fflas_ffpack-2.3.2] > ^ > > [fflas_ffpack-2.3.2] make[8]: *** [fflas_L1_inst.lo] Error 1 > > [fflas_ffpack-2.3.2] make[8]: Leaving directory > `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack/interfaces/libs' > > > > [fflas_ffpack-2.3.2] make[7]: *** [all-recursive] Error 1 > > [fflas_ffpack-2.3.2] make[7]: Leaving directory > `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack/interfaces' > > > > [fflas_ffpack-2.3.2] make[6]: *** [all-recursive] Error 1 > > [fflas_ffpack-2.3.2] make[6]: Leaving directory > `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack' > > > > [fflas_ffpack-2.3.2] make[5]: *** [all-recursive] Error 1 > > [fflas_ffpack-2.3.2] make[5]: Leaving directory > `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src' > > [fflas_ffpack-2.3.2] make[4]: *** [all] Error 2 > > [fflas_ffpack-2.3.2] make[4]: Leaving directory > `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src' > > [fflas_ffpack-2.3.2] > > > > > [fflas_ffpack-2.3.2] Error building fflas_ffpack-2.3.2 > > [fflas_ffpack-2.3.2] >
Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10
I did what you suggest: installing a newer version. The newest I could find for my CentOS is: gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15) Then for the first time it goes further and further. Took hours! but it finally stopped there (also in attachment the log file): [fflas_ffpack-2.3.2] In file included from ../../../fflas-ffpack/fflas/fflas_simd.h:208:0, [fflas_ffpack-2.3.2] from ../../../fflas-ffpack/fflas/fflas_freduce.h:33, [fflas_ffpack-2.3.2] from ../../../fflas-ffpack/fflas/fflas.h:104, [fflas_ffpack-2.3.2] from fflas_L1_inst.C:34: [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl: In static member function 'static Simd256i_base::vect_t Simd256i_base::sll128(Simd256i_base::vect_t)': [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:102:85: error: there are no arguments to '_mm256_bslli_epi128' that depend on a template parameter, so a declaration of '_mm256_bslli_epi128' must be available [-fpermissive] [fflas_ffpack-2.3.2] static INLINE CONST vect_t sll128(const vect_t a) { return _mm256_bslli_epi128(a, s); } [fflas_ffpack-2.3.2] ^ [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:102:85: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl: In static member function 'static Simd256i_base::vect_t Simd256i_base::srl128(Simd256i_base::vect_t)': [fflas_ffpack-2.3.2] ../../../fflas-ffpack/fflas/fflas_simd/simd256.inl:110:85: error: there are no arguments to '_mm256_bsrli_epi128' that depend on a template parameter, so a declaration of '_mm256_bsrli_epi128' must be available [-fpermissive] [fflas_ffpack-2.3.2] static INLINE CONST vect_t srl128(const vect_t a) { return _mm256_bsrli_epi128(a, s); } [fflas_ffpack-2.3.2] ^ [fflas_ffpack-2.3.2] make[8]: *** [fflas_L1_inst.lo] Error 1 [fflas_ffpack-2.3.2] make[8]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack/interfaces/libs' [fflas_ffpack-2.3.2] make[7]: *** [all-recursive] Error 1 [fflas_ffpack-2.3.2] make[7]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack/interfaces' [fflas_ffpack-2.3.2] make[6]: *** [all-recursive] Error 1 [fflas_ffpack-2.3.2] make[6]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src/fflas-ffpack' [fflas_ffpack-2.3.2] make[5]: *** [all-recursive] Error 1 [fflas_ffpack-2.3.2] make[5]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src' [fflas_ffpack-2.3.2] make[4]: *** [all] Error 2 [fflas_ffpack-2.3.2] make[4]: Leaving directory `/usr/local/soft/sage-8.4/local/var/tmp/sage/build/fflas_ffpack-2.3.2/src' [fflas_ffpack-2.3.2] [fflas_ffpack-2.3.2] Error building fflas_ffpack-2.3.2 [fflas_ffpack-2.3.2] Any other suggestions 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 fflas_ffpack-2.3.2 Using cached file /usr/local/soft/sage-8.4/upstream/fflas_ffpack-2.3.2.tar.bz2 fflas_ffpack-2.3.2 Setting up build directory for fflas_ffpack-2.3.2 Finished extraction Applying patches from ../patches... Applying ../patches/25353-fflasffpack-constvoid.patch patching file fflas-ffpack/fflas/fflas_simd/simd256_int16.inl patching file fflas-ffpack/fflas/fflas_simd/simd256_int32.inl patching file fflas-ffpack/fflas/fflas_simd/simd256_int64.inl 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: /opt/rh/devtoolset-2/root/usr/bin/gcc C compiler version: Using built-in specs. COLLECT_GCC=/opt/rh/devtoolset-2/root/usr/bin/gcc COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/opt/rh/devtoolset-2/root/usr --mandir=/opt/rh/devtoolset-2/root/usr/share/man
[sage-devel] Sage 8.4 does not compile / CentOS 6.10
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.