Cairo fails to compile with musl #kirkstone #compilation
Ettore Chimenti <[email protected]> Tue, 12 Apr 2022 19:12:05 +0200
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <20220412171205.d6wqqaizobj7bcp5@X1C7EK5> |
When compiling `cairo_1.16.0` recipe with musl-1.2.2, linking fails complaining missing references to `GLIBC_2.17`. e.g: ``` libGAL.so: undefined reference to `connect@GLIBC_2.17' ``` Seems that pre-compiled libraries from `imx-gpu-viv` are compiled against GLIBC libraries only. There is a known way to make the recipe compile with `musl` toolchain as well? Using meta-freescale `master` branch. Raw logs of a full bitbake build image for imx8mm target in Oniro Project: https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/jobs/12690 Thanks, Ettore