[PATCH 0/1] htl: move pthread_spin_*

Samuel Thibault samuel.thibault@aquilenet.fr
Wed Nov 19 22:14:30 GMT 2025


gfleury, le mer. 19 nov. 2025 21:59:43 +0200, a ecrit:
> > gfleury, le mer. 19 nov. 2025 10:45:14 +0200, a ecrit:
> >
> > > - Add __pthread_spin_* symbols to GLIBC_2.2.6 as suggested by make
> > > check elf/check-abi-libc. This mirrors their existing export in sysdeps
> > > /htl/Versions libc GLIBC_2.2 i guess.
> >
> > Mmmm. These __ versions are not used at all outside libc.so actually. I
> > believe we'd rather want to just stop exposing them at all.
> >
> > And we'd rather remove sysdeps/mach/htl/bits/spin-lock-inline.h which
> > nobody is using, and shouldn't anyway.
>      
> It is used in sysdeps/htl/include/pthread.h. 
> which is them implementation of pthread_spin_*.

Ah, right, I thought there were other definitions for these.

>     Show we move the defininition from sysdeps/mach/htl/bits/spin-lock-inline.h
>     to sysdeps/htl/include/pthread.h

No, no need to, you can just remove the installation of
spin-lock-inline.h in htl/Makefile

Samuel


More information about the Libc-alpha mailing list