Subject: [Boost-bugs] [Boost C++ Libraries] #12496: clang 3.9 fails to generate precompiled headers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-02 08:15:41
#12496: clang 3.9 fails to generate precompiled headers
--------------------------------------+------------------------------
Reporter: Jörg Plate <patterner@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.62.0
Severity: Problem | Keywords:
--------------------------------------+------------------------------
Bootstrapping
{{{
./bootstrap.sh --with-toolset=clang --with-icu=/usr
--prefix=~/lib/boost_clang --with-python=python3
}}}
b2
{{{
./b2 toolset=clang variant=release link=shared threading=multi address-
model=64
cxxflags="-march=native -O3 -pipe -I~/lib -std=c++14 -libstd=libc++"
linkflags="-L~/lib -lc++ -lc++abi"
}}}
Result:
{{{
clang-linux.compile.c++.pch bin.v2/libs/math/build/clang-
linux-3.9.0/release/threading-multi/../src/tr1/pch.hpp.pth
clang-3.9: error: cannot specify -o when generating multiple output files
"clang++" -x c++-header -O3 -Wno-inline -Wall -pthread -fPIC -m64
-march=native
-O3 -pipe -I~/lib -std=c++14 -libstd=libc++
-DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
-DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -I"libs/math/src/tr1"
-Xclang -emit-pth -o
"bin.v2/libs/math/build/clang-linux-3.9.0/release/threading-
multi/../src/tr1/pch.hpp.pth"
"libs/math/build/../src/tr1/pch.hpp"
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12496> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC