Seen suring qemux86-64 on centos7-ty-4: Compiling rustc_driver v0.0.0 (/home/pokybuild/yocto-worker/qemux86-64/build/build-st-52213/tmp/work/core2-64-poky-linux/rust-testsuite/1.60.0-r0/rustc-1.60.0-src/compiler/rustc_driver) error: linking with `cc` failed: exit status: 1 [...] = note: /home/pokybuild/yocto-worker/qemux86-64/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/11.2.0/../../../../x86_64-pokysdk-linux/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status error: could not compile `rustc_driver` due to previous error Build completed unsuccessfully in 0:05:36 https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/5222/steps/19/logs/stdio Rerun, it succeeded.
qemux86-64 on fedora35-ty-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/5239/steps/18/logs/stdio
qemux86 on fedora35-ty-2 https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/5254/steps/18/logs/stdio
This bug was never happening on master, it happened on my testing branch with this patch under test: https://lists.openembedded.org/g/openembedded-core/topic/91327291#166093 That patch never got merged to master, so this bug should just not have been opened. Closing as invalid.