Cairo fails to compile with musl #kirkstone #compilation


Ettore Chimenti
 

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@...'
```

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

Join {meta-freescale@lists.yoctoproject.org to automatically receive all group messages.