| Summary: | musl package doesn't provide "libc-staticdev" | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Maxin B. John <maxin.john> |
| Component: | devtools / tool chain | Assignee: | Maxin B. John (inactive) <maxin.baby.john> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, raj.khem, randy.macleod, richard.purdie |
| Version: | 2.3 | ||
| Target Milestone: | 2.4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Maxin B. John
2017-06-15 08:09:38 UTC
Adding Khem in CC List bitbake <package> is not a supported syntax, it needs to be a recipe target. Also, we disable static libraries by default now. We can't stop glibc building some of them so we package those but musl is probably honouring the global settings more. We may therefore need more info here. See question above (In reply to comment #2) > bitbake <package> is not a supported syntax, it needs to be a recipe target. > > Also, we disable static libraries by default now. We can't stop glibc > building some of them so we package those but musl is probably honouring the > global settings more. We may therefore need more info here. musl does build .a files and puts them into musl-staticdev we probably just need a PROVIDES directive but you could also use ${TCLIBC}-staticdev to be libc agnostic then we dont need PROVIDES Hi RP, Khem, Thanks for commenting on this. This bug was created as part of a suggestion from this thread: https://lists.yoctoproject.org/pipermail/yocto/2017-June/036632.html " That should perhaps be "libc-staticdev" so the same instructions work for musl (although it looks like currently musl doesn't rprovide libc-staticdev so that would need to be fixed too). " As RP mentioned, we are disabling static libraries by default these days. So, we don't have to add PROVIDES in musl recipe. Instead, as Khem mentioned, add this line in local.conf : "TOOLCHAIN_TARGET_TASK += "${TCLIBC}-staticdev" and we will get required ".a" files for the libc (glibc or musl) in SDK. (In reply to comment #4) > (In reply to comment #2) > > bitbake <package> is not a supported syntax, it needs to be a recipe target. > > > > Also, we disable static libraries by default now. We can't stop glibc > > building some of them so we package those but musl is probably honouring the > > global settings more. We may therefore need more info here. > > musl does build .a files and puts them into musl-staticdev we probably just > need a PROVIDES directive but you could also use > > ${TCLIBC}-staticdev to be libc agnostic then we dont need PROVIDES |