* Aurelien Jarno:

> On 2025-12-06 22:05, Aurelien Jarno wrote:
>> On 2025-12-06 19:58, Adrian Bunk wrote:
>> > Doesn't this say that it is a bug when every single program picks up a 
>> > dependency on GLIBC_ABI_GNU_TLS?
>> 
>> Or rather, this is a limitation of the linker system which can't easily 
>> add a symbol depending if TLS is used or not in the binary.
>
> Well looking more into details, it could be a binutils bug. It is 
> supposed to add this "flag" only if input relocatable object files
> call ___tls_get_addr.

Yes, it's not supposed to do that.  I can reproduce with
binutils-2.45.1-1.fc43.x86_64 (with gcc -m32).

binutils: GLIBC_ABI_GNU_TLS produced for i386 binaries that do not need it
<https://bugzilla.redhat.com/show_bug.cgi?id=2419758>

Thanks,
Florian

Reply via email to