Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2026 09:04:35 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Jessica Clarke <jrtc27@freebsd.org>, John Baldwin <jhb@FreeBSD.org>
Cc:        "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: ee73475119ff - main - llvm: Link private LLVM libraries against compiler_rt for aarch64
Message-ID:  <41bf645c-b299-4a47-9f20-e7ff9c2de3aa@yahoo.com>
In-Reply-To: <E1734CF0-E6FC-40B8-BAD0-DE2269756E2E@freebsd.org>
References:  <698a0b1e.1d294.40e36519@gitrepo.freebsd.org> <E1734CF0-E6FC-40B8-BAD0-DE2269756E2E@freebsd.org>

index | next in thread | previous in thread | raw e-mail

On 2/9/26 08:40, Jessica Clarke wrote:
> On 9 Feb 2026, at 16:28, John Baldwin <jhb@FreeBSD.org> wrote:
>>
>> The branch main has been updated by jhb:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=ee73475119ff7aa98bd11828625d524f6ab87f06
>>
>> commit ee73475119ff7aa98bd11828625d524f6ab87f06
>> Author:     John Baldwin <jhb@FreeBSD.org>
>> AuthorDate: 2026-02-09 16:26:52 +0000
>> Commit:     John Baldwin <jhb@FreeBSD.org>
>> CommitDate: 2026-02-09 16:26:52 +0000
>>
>>    llvm: Link private LLVM libraries against compiler_rt for aarch64
>>
>>    This is required for GCC which uses libcalls for outlined atomics.
> 
> This doesn’t seem right, they’re provided by libgcc.a, so why aren’t
> they being pulled in? libcompiler_rt.a doesn’t even have the symbols.
> 
> Jessica
> . . . 
> 

I'm not sure it matters for the specific context but, for aarch64 and
armv7, the various libgcc* on freebsd tend to be incomplete as far as
covering what the g++* compilers output that is resolved by the
lang/gcc* libgcc* files when they are used instead. There are various
bugzilla reports based on examples.

(For at least aarch64, gcc* compiler outputs may all be covered, I'm not
sure.)


-- 
===
Mark Millard
marklmi at yahoo.com


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41bf645c-b299-4a47-9f20-e7ff9c2de3aa>