首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MUSL C库无法运行yocto项目

MUSL C库无法运行yocto项目
EN

Stack Overflow用户
提问于 2019-05-25 15:09:49
回答 1查看 1.4K关注 0票数 0

我正在使用yocto项目为我的sama5d27 som1板构建linux内核。我试图缩小已发布内核的大小,因此我将sysVinit替换为busybox init,现在我试图用musl库替换gClibrary。

在我的Poky目录下,我使用以下方法克隆了musl层:

git://github.com/kraj/meta-musl.git git克隆

我将该层添加到bblayers.conf中,并将TCLIBC = "musl"添加到local.conf中,我初始化了环境,然后运行了bitbake core-image-minimal

我发现了这些错误:

/home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846)错误: systemd-1_237-r0 do_compile:功能失败: do_compile (日志文件位于 错误:存储在: /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846中的失败的日志文件 (/home/gaston/linux4sam/poky/meta/recipes-core/systemd/systemd_237.bb:do_compile) 错误:退出代码'1‘的任务失败

你能帮帮我吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-05-25 16:04:23

我可能错了,但看起来meta-musl是在musl集成到项目之前为Yocto开发的。

您可以看到,元层已经4年没有更新。只需将TCLIBC = "musl"添加到项目的配置中,并使用Yocto现在可用的内容。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56306046

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档