Re: [PATCH] ARC: Strip libgcc debug information when generating BTF
From: Arnd Bergmann
Date: Sun Nov 01 2026 - 14:46:09 EST
On Sun, Nov 1, 2026, at 19:38, Vineet Gupta wrote:
> On 11/1/26 03:09, Arnd Bergmann wrote:
>>> I'm working on getting rid of libgcc linking for ARC.
>>
>> I hope there is some overlap with what you need for arc in the
>> lib/*.c functions. I can take both through the asm-generic tree
>> to reduce the dependencies if that helps.
>
> Oh that fits the bill perfectly. Mine also switched the others (with
> build test using their cross tool-chains).
> Anyhow I'll wait for that to land. Would this need to wait full cycle ?
> If it can land in 7.4-rcX, I can hold off my existing patches for
> switching to current in-tree lib/* to also use the new ones and be done
> with libgcc.
If you need this to fix the regression, I think it's fine to merge
the shared lib/*.c files for for 7.4 along with whatever you need on
top. I suspect though based on Sasha's patch, the only thing we
actually need is to stop exporting the floating point functions
so the types don't leak into btf. If you can verify that this
is the case, I would do the full conversion for both nios2
and arc in 7.5.
Arnd