| Summary: | nspr-native with OE/Yocto build tools doesn't build [Ubuntu 16.04.6]: undefined reference to `__clock_getres@GLIBC_PRIVATE' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | David Abdurachmanov <david.abdurachmanov> |
| Component: | devtools / tool chain | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | akuster808, meta.mr.watcher, meta.watcher, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 3.3 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | backport? | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
David Abdurachmanov
2020-11-02 23:29:10 UTC
I noticed that my old builds are working fine, so I tested the last 3 versions of build tools: ./openembedded-core/scripts/install-buildtools -r yocto-3.2_M1 -t 20200617 ./openembedded-core/scripts/install-buildtools -r yocto-3.2_M2 -t 20200729 ./openembedded-core/scripts/install-buildtools -r yocto-3.2_M3 -t 20200923 M1 and M2 worked fine with oe-core & meta-oe being at master. M3 and my own built from the master do not work with nspr-native package. meta-oe did update the nspr package oct 19. I have tried to downgrade nspr version, but that was failing the same way. As mentioned in: https://patchwork.openembedded.org/patch/172346/ the real issue is that you likely need: https://patchwork.openembedded.org/patch/171584/ which is a patch for binutils. That should ensure it looks at librt from the sysroot before it looks at the one from host system and should resolve this issue. IIRC it did incl. this commit, but the patch didn't solve the problem. The patch was committed in April, and I was using oe-core master in November. Maybe I should give it another try as ~3 months have passed. |