tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ld --as-needed support incomplete?
On Mon, Aug 31, 2026 at 10:15:53PM +0100, RVP wrote:
> This is a GCC-16 issue. It should be installing a `libgcc_s_asneeded.so'
> linker script so that this works out.
>
> See:
> gcc-16.2.0/libgcc/config/t-slibgcc
>
> Maybe this linker script (and the `libatomic_asneeded' one) is created but just
> not been installed?
Ok, so I dug deeper.
The *asneeded* libraries are indeed installed by both gcc16 and
gcc16-libs. Letting gcc16-libjit depend on either of them is not
enough, because when compiling emacs against gcc16-libjit, the base
system compiler is used, and it doesn't have these libraries.
Requiring gcc16 just for that seems a bit too much for me, so I'll
change the comment in the patch to mark it as a workaround.
Thomas
Home |
Main Index |
Thread Index |
Old Index