Boost logo

Boost :

From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2023-07-08 21:21:59


On Jul 7, 2023, at 9:30 AM, Ruben Perez <rubenperez038_at_[hidden]> wrote:
>
> Hi,
>
> Re-running the CIs on the master branch, that now has this commit
> merged, builds correctly Boost.Context, but the produced library seems
> to be missing the symbols required to build an executable with it. On
> ARM 64, under Linux, the build produces a warning message (see the
> bottom of the email). The linker then complains about undefined
> references to make_fcontext, jump_fcontext and ontop_fcontext.
>
> For reference, the executable is using Context through boost::asio::spawn.
>
> Full build log here: https://drone.cpp.al/boostorg/mysql/379/16/3
>
> error: No best alternative for libs/context/build/asm_sources with
> <abi>sysv <address-model>64 <architecture>arm <asynch-exceptions>off
> <binary-format>elf <boost.mysql.separate-compilation>on
> <context-impl>fcontext <coverage>off <cxxstd-dialect>iso <cxxstd>20
> <debug-symbols>on <deduced-address-model>64 <deduced-architecture>arm
> <exception-handling>on <extern-c-nothrow>off <inlining>off
> <link>shared <optimization>off <os>LINUX <pch>on
> <preserve-test-targets>on <profiling>off <python-debugging>off
> <python>3.10 <relevant>abi <relevant>address-model
> <relevant>architecture <relevant>binary-format <relevant>toolset
> <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native
> <strip>off <target-os>linux <testing.execute>on <threadapi>pthread
> <threading>multi <toolset-clang:platform>linux
> <toolset-clang:version>14 <toolset>clang <variant>debug <vectorize>off
> <visibility>hidden <warnings-as-errors>off <warnings>on

I got this warning before I applied the missing commit, and did not afterwards.

— Marshall


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