在我的rootfs中,我需要musl支持。我在我的local.conf中添加了以下内容:
TCLIBC = "musl"
IMAGE_INSTALL_append = " musl"构建了core-image-full-cmdline。我的错误如下所示
> +++
>
> make[4]: Leaving directory
> '/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky-linux-musl/gas/po'
>
> Makefile:1260: recipe for target 'all-recursive' failed
>
> make[3]: *** [all-recursive] Error 1
>
> make[3]: Leaving directory
> '/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky-linux-musl/gas'
>
> Makefile:808: recipe for target 'all' failed
>
> make[2]: *** [all] Error 2
>
> make[2]: Leaving directory
> '/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky-linux-musl/gas'
>
> Makefile:4865: recipe for target 'all-gas' failed
>
> make[1]: *** [all-gas] Error 2
>
> make[1]: Leaving directory
> '/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky-linux-musl'
>
> Makefile:849: recipe for target 'all' failed
>
> make: *** [all] Error 2
>
> ERROR: oe_runmake failed
>
> WARNING: exit code 1 from a shell command.
>
> ERROR: Function failed: do_compile (log file is located at
> /home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/temp/log.do_compile.19779)
>
> +++这种方法构建musl是错误的吗?如能提供任何帮助,将不胜感激。
发布于 2020-03-09 13:19:26
能够解决这个问题。正在进行增量构建,之前选择了glibc。彻底的清理和重建解决了这个问题。
https://stackoverflow.com/questions/60596177
复制相似问题