Re: undefined symbol: shm_open (ppc64le and aarch64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, 07 February 2019 at 17:34, Florian Weimer wrote:
> * Tom Callaway:
> 
> > So, R links with rt if this configure check succeeds:
> >
> > AC_CHECK_LIB(rt, clock_gettime)
> >
> > Sure enough, on aarch64 and ppc64le, there is no clock_gettime in
> > librt.so.1. I'm not sure _why_, but there is probably a good reason.
> 
> Hah!
> 
> We moved clock_gettime to libc.so.6 in glibc 2.17, so that it is
> available without -lrt as well.  But we forgot to turn the legacy
> definitions into compatibility symbols, so they are still being picked
> up with -lrt.  This should be easy enough to fix.

clock_getres(2) confirms:
       Link with -lrt (only for glibc versions before 2.17).

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux