Not really. sage configure script was happy with givaro from
my system. This givaro is compiled with gcc and the option
"-fabi-version=6". The linbox configure script makes a query to
givaro to get these options. I can not change them.

I did force the compilation of givaro during the sage build and now
linbox compilation just works.

Shouldn't we check this compatibility in the givaro configure
script? Should we ask givaro to not use this "-fabi-version=6"?

Vincent

Le 09/07/2021 à 18:54, Isuru Fernando a écrit :
You can replace `-fabi-version=6` with `-D__GXX_ABI_VERSION=1006`.

Isuru

On Fri, Jul 9, 2021 at 4:51 AM Vincent Delecroix <20100.delecr...@gmail.com>
wrote:

Dear all,

I tried to build sage 9.4.beta4 using clang 12.0.0. It failed for
linbox with

/usr/bin/bash ../../libtool  --tag=CXX   --mode=compile clang++
-std=gnu++11 -DHAVE_CONFIG_H -I. -I../..  -I../.. -fopenmp
-DFFLAS_COMPILED -DFFPACK_COMPILED -fabi-version=6 -fabi-version=6
-O2   -Wall -g -DNDEBUG -U_LB_DEBUG -DDISABLE_COMMENTATOR  -O2 -g
-march=native  -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx
-mavx2 -mfma -c -o error.lo error.C
libtool: compile:  clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../..
-I../.. -fopenmp -DFFLAS_COMPILED -DFFPACK_COMPILED -fabi-version=6
-fabi-version=6 -O2 -Wall -g -DNDEBUG -U_LB_DEBUG -DDISABLE_COMMENTATOR
-O2 -g -march=native -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx
-mavx2 -mfma -c error.C  -fPIC -DPIC -o .libs/error.o
clang-12: error: unknown argument: '-fabi-version=6'
clang-12: error: unknown argument: '-fabi-version=6'

Does someone know a way around?

Best
Vincent

--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/eb2be09e-d824-5840-6da6-b41d0bdcfc3c%40gmail.com
.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/846460a8-d480-48a4-73fb-2f7344e7e63d%40gmail.com.

Reply via email to