Boost logo

Boost :

From: Matthijs Möhlmann (matthijs_at_[hidden])
Date: 2023-11-16 16:02:29


On 16/11/2023 16:50, Andrey Semashev via Boost wrote:
> On 11/16/23 18:43, Matthijs Möhlmann via Boost wrote:
>> On 16/11/2023 16:32, Andrey Semashev via Boost wrote:
>>> On 11/16/23 18:28, Andrey Semashev wrote:
>>>> As for a workaround, I suspect the problem can be worked around by
>>>> manually adding linking with the standard library that defines those
>>>> missing symbols. For example, `operator delete` is defined in libc++abi,
>>>> so you may fix the problem by adding `linkflags=c++abi` to `b2` command
>>>> line.
>>> Sorry, the command line option should be `linkflags=-lc++abi`.
>>>
>> That didn't work either. Same error.
> Do you mean the error still lists `operator delete` and similar core
> language symbols as unresolved?
>
> If so then either the compiler is terminally broken, or there must be
> some issue with your installation. Perhaps, inconsistent libc++abi version?
>
> BTW, we do test clang-16 in CI, and it passes:
>
> https://github.com/boostorg/filesystem/actions/runs/6449121898
>
> so I'm leaning towards some installation or configuration issue.
>
>
> _______________________________________________
> Unsubscribe & other changes:http://lists.boost.org/mailman/listinfo.cgi/boost

Gotcha, when adding the flags as follows: linkflags="-lc++ -ldc++abi" it works
correctly and I have every library build on my system.

Then I guess it has to do with my library path. I have clang installed from the
debian repository here:https://apt.llvm.org/

I have an user-config.jam in the root of my home directory and it is as follows:
import toolset : using ;
using clang : 16 : clang-16 ;

option jobs : 8 ;

Maybe that interferes somehow with the ability to link to the correct library?

I am not sure where to look further to have this resolved.

Regards, Matthijs


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