Opened 5 years ago
Last modified 5 years ago
#13454 new Bugs
universal 32/64 bits build broken on macOS (worked until 1.65.1)
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.66.0 | Severity: | Problem |
Keywords: | Cc: | boost@… |
Description
Since boost 1.66.0, when configured with architecture=x86 address-model=32_64
, the build system forgets to add -arch i386 -arch x86_54
to the compilation flags (although they are still present in the link flags).
The resulting libraries thus contain only the build arch.
Boost 1.65.1 correctly builds universal libraries.
to reproduce:
./bootstrap.sh --without-libraries=mpi --without-libraries=context --without-libraries=coroutine ./b2 -d2 --debug-configuration architecture=x86 address-model=32_64
see also: https://trac.macports.org/ticket/55857
Note:
See TracTickets
for help on using tickets.