failed to use musl C library yocto project

Moderator: nferre

Posts: 30
Joined: Fri May 10, 2019 12:21 pm

failed to use musl C library yocto project

Sat May 25, 2019 8:08 pm

I'm using yocto project sumo branch to build linux kernel for my sama5d27 som1 board. I'm trying to reduce the size of the released kernel so I replaced sysVinit to busybox init and now I am trying to replace gClibrary with musl C library.

Under my Poky directory I cloned meta-musl layer using:

git clone git://

I added the layer to bblayers.conf and also added TCLIBC = "musl" to local.conf I initialized the environment and then run bitbake core-image-minimal

I got these errors:

ERROR: systemd-1_237-r0 do_compile: Function failed: do_compile (log file is located at /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846)

ERROR: Logfile of failure stored in: /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846

ERROR: Task (/home/gaston/linux4sam/poky/meta/recipes-core/systemd/ failed with exit code '1'

How can i fix this please ?

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 3 guests