/b2 hangs when building boost_1_80_0 on macos using --with-toolset=gcc

Lars Olsson via Boost-build <[email protected]> Fri, 30 Sep 2022 09:12:51 +0200
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
Hello,

I am trying to build boost_1_80_0 on macos. Everything works as expected when I use the default toolset, but when I run bootstrap.sh with --with-toolset=gcc:

. . .
 ###
 ###
 ### Using 'gcc' toolset.
 ###
 ###

 g++ (Homebrew GCC 12.2.0) 12.2.0
. . .

bootstrap finishes succesfully, but when I try to run the resulting b2 executable:

 $ ./b2

it seems to hang. I have tried to add temp logging to the b2 code, and as far as I can tell the program never returns from this call in startup.cpp:

 // Load the build system bootstrap file we found.
 parse_file(b2::jam::object{bootstrap_file}, frame);

What options do I have to debug this further?

The 'uname -a' command gives:

 Darwin lomac.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64

Thanks,

Lars

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build