I get an autobuilder failure on core-image-mingw-sdktest, details here: https://errors.yoctoproject.org/Errors/Details/585665/
Perhaps we need additional patch/patches from master? Steve On Thu, May 27, 2021 at 7:16 AM Alejandro Hernandez Samaniego <[email protected]> wrote: > > From: Khem Raj <[email protected]> > > gcc needs -mmusl option to be passed in SDK since we ship crossdk compiler > configured for glibc by default, this helps in creating correct > compiler defaults for musl based SDK compilers > > [YOCTO #13459] > > (From OE-Core rev: e6fbac7aeabe00d8fb734992012dd629a8527b25) > > Signed-off-by: Khem Raj <[email protected]> > Cc: Leon Woestenberg <[email protected]> > Signed-off-by: Richard Purdie <[email protected]> > --- > .../gcc/gcc-cross-canadian.inc | 23 +++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc > b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc > index 553ef7fe62..c5935b978d 100644 > --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc > +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc > @@ -139,6 +139,29 @@ do_install () { > chown -R root:root ${D} > > cross_canadian_bindirlinks > + > + for i in linux ${CANADIANEXTRAOS} > + do > + for v in ${CANADIANEXTRAVENDOR} > + do > + d=${D}${bindir}/../${TARGET_ARCH}$v-$i > + install -d $d > + for j in ${TARGET_PREFIX}gcc${EXEEXT} > ${TARGET_PREFIX}g++${EXEEXT} > + do > + p=${TARGET_ARCH}$v-$i-`echo $j | sed -e > s,${TARGET_PREFIX},,` > + case $i in > + *musl*) > + rm -rf $d/$p > + echo "#!/usr/bin/env sh" > $d/$p > + echo "exec \`dirname > \$0\`/../${TARGET_SYS}/$j -mmusl \$@" >> $d/$p > + chmod 0755 $d/$p > + ;; > + *) > + ;; > + esac > + done > + done > + done > } > > ELFUTILS = "nativesdk-elfutils" > -- > 2.25.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#152329): https://lists.openembedded.org/g/openembedded-core/message/152329 Mute This Topic: https://lists.openembedded.org/mt/83129672/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
