Boost logo

Boost :

Subject: Re: [boost] [1.49.0] Beta 1 release candidates available
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2012-01-25 12:41:02


2012/1/25 Steven Watanabe <watanabesj_at_[hidden]>:
> The newline is expected. The problem is that "g++" is missing.
> Check the output of ./b2 --debug-configuration to figure
> out what's wrong.

Compiler is clang-2.9 (totaly forgot about user-config.jam, thought
that gcc.compile.c++ in output means gcc)
user-config.jam has a single line `using clang ;'

./b2 --debug-configuration gave me the following :

notice: found boost-build.jam at
/home/antoshkka/Downloads/boost_1_49_0_beta1/boost-build.jam
notice: loading Boost.Build from
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2
notice: Searching /etc /home/antoshkka
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2
/usr/share/boost-build /home/antoshkka/Down
loads/boost_1_49_0_beta1/tools/build/v2/kernel
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/util
/home/antoshkka/Downloads/boos
t_1_49_0_beta1/tools/build/v2/build
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/tools
/home/antoshkka/Downloads/boost_1_49_0_b
eta1/tools/build/v2/contrib
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/. for
site-config configuration file site-config.jam .
notice: Loading site-config configuration file site-config.jam from
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/site-config.ja
m .
notice: Searching /home/antoshkka
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2
/usr/share/boost-build /home/antoshkka/Downloads
/boost_1_49_0_beta1/tools/build/v2/kernel
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/util
/home/antoshkka/Downloads/boost_1_4
9_0_beta1/tools/build/v2/build
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/tools
/home/antoshkka/Downloads/boost_1_49_0_beta1/
tools/build/v2/contrib
/home/antoshkka/Downloads/boost_1_49_0_beta1/tools/build/v2/. for
user-config configuration file user-config.jam .
notice: Loading user-config configuration file user-config.jam from
/home/antoshkka/user-config.jam .
notice: will use 'clang++' for clang-linux, condition <toolset>clang-linux-2.9
notice: Searching for project-config configuration file project-config.jam .
notice: Loading project-config configuration file project-config.jam
from project-config.jam .

<...>

gcc.compile.c++
bin.v2/libs/regex/build/gcc/release/threading-multi/c_regex_traits.o
/bin/sh: -ftemplate-depth-128: not found

      -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pedantic -pthread -fPIC -DBOOST_ALL_NO_LIB=1
-DBOOST_REGEX_DYN_LINK=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/regex/build/gcc/release/threading-multi/c_regex_traits.o"
"libs/regex/build/../src/c_regex_traits.cpp"

...failed gcc.compile.c++
bin.v2/libs/regex/build/gcc/release/threading-multi/c_regex_traits.o...

<...>

Is it ok for clang-2.9 to use gcc.compile.c++ ?

Best regards,
Antony Polukhin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk