Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-11 Thread chris wuthrich
My CentOS problems were all solved after I installed and used devtoolset as 
suggested in Isuru's reply.

Chris

-- 
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.


Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-10 Thread Dima Pasechnik
Perhaps the C++ compiler is still too old for this to work.
You might try building gcc supplied by Sage, by setting
 SAGE_INSTALL_GCC=yes before running configure

See
http://doc.sagemath.org/html/en/installation/source.html#environment-variables





On Fri, 9 Nov 2018 at 09:11, Daniel Ouimet 
wrote:

> 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.
>

-- 
You received this message because you are subscribed to 

Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-09 Thread Daniel Ouimet
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

2018-11-08 Thread Dima Pasechnik
On Thu, Nov 8, 2018 at 4:41 PM Daniel Ouimet
 wrote:
>
> 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?


Just modify your PATH so that /opt (I guess, /opt/bin ?) comes first, i.e.

export PATH=/opt/bin:$PATH

and then in the same shell run configure/make etc.
(One can also make the change in PATH permanent by modifying ~/.bashrc or
something like this --- this is a bog-standard way to change your
shell environment)

>
> 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 

Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-08 Thread Daniel Ouimet
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] 
> 
>  
>
> > 
> > 
> > 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+...@googlegroups.com . 
> > To post to this 

Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-07 Thread Daniel Ouimet
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 

Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-06 Thread François Bissey




On 7/11/18 4:41 AM, Daniel Ouimet wrote:

Here is the gcc --version :
# gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



I know about your version of gcc. I am interested in the
version of "as" the assembler which is the part that really
spouts out the errors. gcc calls "as" when processing .s files
which are in assembler.

Francois

--
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.


Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-06 Thread Samuel Lelievre
Le lundi 5 novembre 2018 23:41:18 UTC+1, François Bissey a écrit :
> Your compiler is very old and right now you are failing even 
bootstrapping 
> a better compiler. 
> Nevertheless trying to compile those instructions shouldn’t have 
happened. 
> Can you post the output of 
> as —version 
> please. 

What François is asking is the result of running the command

as --version

in the terminal (with a double-dash, not a long dash).



-- 
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.


Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-05 Thread François Bissey
Can you provide 
/usr/local/soft/sage-8.4/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/config.log
as well? Something looks strange in that log.

François

> On 6/11/2018, at 11:41, François Bissey  wrote:
> 
> Your compiler is very old and right now you are failing even bootstrapping
> a better compiler.
> Nevertheless trying to compile those instructions shouldn’t have happened.
> Can you post the output of 
> as —version
> please.
> 
> François
> 
>> On 6/11/2018, at 11:03, Daniel Ouimet  wrote:
>> 
>> 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.
>> 
> 

-- 
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.


Re: [sage-devel] Sage 8.4 does not compile / CentOS 6.10

2018-11-05 Thread François Bissey
Your compiler is very old and right now you are failing even bootstrapping
a better compiler.
Nevertheless trying to compile those instructions shouldn’t have happened.
Can you post the output of 
as —version
please.

François

> On 6/11/2018, at 11:03, Daniel Ouimet  wrote:
> 
> 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.
> 

-- 
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.