Config checks using address-model=32
in Linux don't use the right flags
#368
Labels
bug
Something isn't working
address-model=32
in Linux don't use the right flags
#368
Make sure you completed the following tasks
Environment and version details
ghcr.io/anarthal-containers/build-clang16-i386
b2 -v
andb2 --version
:B2 5.1.0 (OS=LINUX, jobs=8)
b2 --debug-configuration
in your project.Please note:
fail_if_no_openssl
is a Boost.MySQL target that is not yet in the development branch.Brief problem description
When building in Linux specifying
address-model=32
in the command line, configuration checks seem to ignore the setting, which causes libraries to appear as not found.Steps to reproduce the issue
repro/Jamfile
file in the Boost root with the following, to force a config check on the OpenSSL library:-m32
flag, which is causing the test executables to not build. Here's the log:Running the check
"clang++" -fvisibility-inlines-hidden -fPIC -pthread -O0 -fno-inline -Wall -g -fvisibility=hidden -c -o "bin.v2/standalone/ac/clang-linux-16/debug/address-model-32/threading-multi/visibility-hidden/openssl/ssl_h.o" "bin.v2/standalone/ac/openssl/ssl_h.cpp"
adding the-m32
flag succeeds.libssl-dev:i386
is installed on the machine, but notlibssl-dev:i686
../b2 address-model=32 toolset=clang architecture=x86 repro
succeeds.Actual behavior summary
Expected behavior summary
We shouldn't need to specify
architecture=x86
for config checks to succeed, since we don't need it for the code to build.The text was updated successfully, but these errors were encountered: