comping linbox

12 views
Skip to first unread message

B Saunders

unread,
Nov 30, 2017, 3:26:29 PM11/30/17
to linbox...@googlegroups.com
I'm getting a gnu flag (-fabi-version=6) when compiling with clang.  What is the fix?

/bin/bash ../../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -fopenmp -std=gnu++11 -fabi-version=6 -std=c++11 -msse4.1 -mfma -mavx2 -mfpmath=sse -I/usa/saunders/sandbox/include      -O2   -Wall -g -DNDEBUG -U_LB_DEBUG   -std=c++11   -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.C
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -fopenmp -std=gnu++11 -fabi-version=6 -std=c++11 -msse4.1 -mfma -mavx2 -mfpmath=sse -I/usa/saunders/sandbox/include -O2 -Wall -g -DNDEBUG -U_LB_DEBUG -std=c++11 -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.C  -fPIC -DPIC -o .libs/error.o
clang: error: unknown argument: '-fabi-version=6'
Makefile:568: recipe for target 'error.lo' failed

Clement Pernet

unread,
Nov 30, 2017, 3:47:00 PM11/30/17
to linbox-devel
Hi Dave,
This is very likely because you are using a Givaro or a fflas-ffpack configured and compiled with gcc.
If you want to compile LinBox with clang, you should then reconfigure the whole stack with clang.
Cheers.
Clément
Reply all
Reply to author
Forward
0 new messages