meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Cairo fails to compile with musl #kirkstone #compilation
@ 2022-04-12 17:12 Ettore Chimenti
  2022-04-12 17:15 ` [meta-freescale] " Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Ettore Chimenti @ 2022-04-12 17:12 UTC (permalink / raw)
  To: meta-freescale; +Cc: natalia.kovalenko

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-freescale] Cairo fails to compile with musl #kirkstone #compilation
  2022-04-12 17:12 Cairo fails to compile with musl #kirkstone #compilation Ettore Chimenti
@ 2022-04-12 17:15 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2022-04-12 17:15 UTC (permalink / raw)
  To: Ettore Chimenti; +Cc: meta-freescale, natalia.kovalenko

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

Hello Ettore,

Em ter., 12 de abr. de 2022 às 14:12, Ettore Chimenti <
ek5.chimenti@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 1062 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-12 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 17:12 Cairo fails to compile with musl #kirkstone #compilation Ettore Chimenti
2022-04-12 17:15 ` [meta-freescale] " Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).