[boost] Possible develop config issue on arm32

105 views
Skip to first unread message

Tom Kent via Boost

unread,
Jun 25, 2022, 9:00:35 AM6/25/22
to Boost Developers List, Tom Kent
I have a regression runner running on raspberry pi 32-bit architecture (in
addition to a one on 64-bit raspberry pi and tons of X86).

gcc-8 builds fine in both master and develop

clang-9 builds fine on master

clang-9 running the same command line, just on develop, has errors like
this [1], finding basic includes:

```
"clang++-9" -c -x c++ -Wno-c99-extensions -std=c++2a -O0 -fno-inline
-Wall -g --target=arm-pc-linux -Wno-deprecated-declarations
-DBOOST_ALL_NO_LIB=1 -DBOOST_BEAST_ALLOW_DEPRECATED
-DBOOST_BEAST_SEPARATE_COMPILATION -DBOOST_TEST_NO_AUTO_LINK=1 -I".." -o
"/mnt/fs1/teeks99-05/run/results/boost/bin.v2/libs/accumulators/test/count.test/clang-linux-9~c++2a/debug/link-static/count.o"
"../libs/accumulators/test/count.cpp"

clang: warning: unknown platform, assuming -mfloat-abi=soft
clang: warning: unknown platform, assuming -mfloat-abi=soft
In file included from ../libs/accumulators/test/count.cpp:6:
In file included from ../boost/test/unit_test.hpp:18:
In file included from ../boost/test/test_tools.hpp:17:
In file included from ../boost/config.hpp:44:
../boost/config/detail/select_stdlib_config.hpp:26:14: fatal error:
'cstddef' file not found
# include <cstddef>
^~~~~~~~~
1 error generated.

```

The relevant line of the user-config.jam is:
using clang : 9~c++2a : clang++-9 : <cxxflags>"-Wno-c99-extensions -std=c++2a" ;


The two command lines being run are:


run.py --runner=teeks99-05-mc9-2a-32onarmv7l --toolsets=clang-9~c++2a \
"--bjam-options=-j4 address-model=32 --remove-test-targets" \
--comment=info.html --tag=master

run.py --runner=teeks99-05-dc9-2a-32onarmv7l --toolsets=clang-9~c++2a \
"--bjam-options=-j4 address-model=32 --remove-test-targets" \
--comment=info.html --tag=develop


Any ideas why master and develop would be different in this regard?
Something with B2 changes?

Thanks,

Tom


[1] https://www.boost.org/development/tests/develop/developer/output/teeks99-05-dc9-2a-32onarmv7l-boost-bin-v2-libs-accumulators-test-count-test-clang-linux-9~c++2a-debug-link-static.html

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

René Ferdinand Rivera Morell via Boost

unread,
Jun 25, 2022, 10:14:34 AM6/25/22
to Boost Developers List, René Ferdinand Rivera Morell
On Sat, Jun 25, 2022 at 8:01 AM Tom Kent via Boost <bo...@lists.boost.org>
wrote:

>
> Something with B2 changes?
>

It can't be something with B2. As the master and develop always have the
same version of B2.

--
-- René Ferdinand Rivera Morell
-- Don't Assume Anything -- No Supone Nada
-- Robot Dreams - http://robot-dreams.net

John Maddock via Boost

unread,
Jun 25, 2022, 12:46:37 PM6/25/22
to René Ferdinand Rivera Morell via Boost, John Maddock
On 25/06/2022 15:14, René Ferdinand Rivera Morell via Boost wrote:
> On Sat, Jun 25, 2022 at 8:01 AM Tom Kent via Boost <bo...@lists.boost.org>
> wrote:
>
>> Something with B2 changes?
>>
> It can't be something with B2. As the master and develop always have the
> same version of B2.
>
Right, and Boost.Build isn't responsible for setting std lib include
paths: that's all down to the compiler installation?

Not helping much I'm afraid, John.

Reply all
Reply to author
Forward
0 new messages