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

--- Comment #3 from prathamesh3492 at gcc dot gnu.org ---
(In reply to Tamar Christina from comment #2)
> (In reply to prathamesh3492 from comment #1)
> > Hi Tamar,
> > Sorry for the breakage, will take a look. In the meantime, can you please
> > check if using -fno-link-libatomic works ?
> > 
> > Thanks,
> > Prathamesh
> 
> Hi Prathamesh,
> 
> To add some details, it seems to happen on systems with older libc.
> 
> So I can reproduce it on Ubuntu focal systems but it goes away with newer
> libc.

Hi,
I suspect this probably happens because the patch doesn't automatically link
against libpthread.so for glibc versions prior to 2.34, and results in link
failure, and I think Ubuntu Focal uses glibc-2.31 as system libc ? For glibc >=
2.34, libpthread.so was integrated into libc.so, so should work for that.

Reply via email to