https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124484

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, on Linux you can always link with -pthread -lrt or -lrt -lpthread etc.,
for glibc < 2.34 it will do something useful, for glibc 2.34+ it will add
nothing.
But there are certainly targets where -lrt and/or -lpthread don't exist.

Reply via email to