Re: [PATCH] ARC: Strip libgcc debug information when generating BTF

From: Vineet Gupta

Date: Sun Nov 01 2026 - 13:39:17 EST


On 11/1/26 03:09, Arnd Bergmann wrote:
I'm working on getting rid of libgcc linking for ARC.
This requires adding some GENERIC_LIB_* routines, but as part of that
series I'll propose a revert of this and then the dropping the first link.
Don't intend to revert this per se, but revert just makes it cleaner.
Have you seen Simon's series?

No I didn't until now.

https://lore.kernel.org/all/20261030-nios2-remove-usage-of-libgcc-v1-3-4e341c66082e@xxxxxxxxxxxxxxxxxx/

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.

Thx,
-Vineet