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


Otavio Salvador
 

Hello Ettore,

Em ter., 12 de abr. de 2022 às 14:12, Ettore Chimenti <ek5.chimenti@...> escreveu:
When compiling `cairo_1.16.0` recipe with musl-1.2.2, linking fails
complaining missing references to `GLIBC_2.17`.

This isn't expect to work as this is a binary blob. I suggest you to move to Linux mainline if this is required.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750