Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2019-06-26 17:58:56


I'm trying to run tests for Boost.Core with the following command:

bjam -j 8 toolset=gcc cxxstd=14 variant=release libs/core/test

Compilation fails with the following errors:

g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
cc1plus: error: bad value (‘v7’) for ‘-mtune=’ switch
cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2
nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i
haswell core-avx2 broadwell skylake skylake-avx512 cannonlake
icelake-client icelake-server bonnell atom silvermont slm knl knm intel
x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2
generic native

     "g++" -std=c++14 -fvisibility-inlines-hidden -fPIC -m64 -pthread
-O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden -mcpu=v7

...failed gcc.compile.c++

I'm not sure where that -mcpu=v7 comes from, but I don't have it in my
options, nether do I see it in the Jamfile.

Boost list run by bdawes at, gregod at, cpdaniel at, john at