On Tue, Aug 18, 2020 at 9:04 AM Martin Jansa <martin.ja...@gmail.com> wrote: > > The perf issue with find and cflags concatenation is fixed in upstream by: > https://github.com/torvalds/linux/commit/e4ffd066ff440a57097e9140fa9e16ceef905de8 >
this should fix it. thanks for nailing it, I guess older kernels will have tough time with gcc10 > Adding V=1 to perf's EXTRA_OEMAKE makes it easier to see, sending a patch now. > > On Tue, Aug 18, 2020 at 2:21 PM Bruce Ashfield <bruce.ashfi...@gmail.com> > wrote: >> >> >> >> On Tue, Aug 18, 2020 at 7:57 AM Martin Jansa <martin.ja...@gmail.com> wrote: >>> >>> Yes, I'm seeing this weird concatenation with raspberrypi builds as well: >>> >>> find: unknown predicate `-mthumb/arch' >>> arm-webos-linux-gnueabi-gcc: error: unrecognized command-line option >>> '-mthumb/include/uapi/asm-generic/errno.h' >>> arm-webos-linux-gnueabi-gcc: fatal error: no input files >>> compilation terminated. >> >> >> confirmed as the same with my beaglebone build that ran overnight. >> >> I'll have a closer look and send a fix (hopefully) .. but if anyone else is >> already doing this, please let me know and I'll work on something else! >> >> Cheers, >> >> Bruce >> >> >>> >>> >>> But in this case it isn't fatal for the perf build, I've noticed it only >>> because it was failing with 5.4.51 currently in meta-raspberrypi and after >>> upgrade to 5.4.58 perf built OK, but this error message is still there in >>> log.do_compile. >>> >>> On Mon, Aug 17, 2020 at 9:47 PM Khem Raj <raj.k...@gmail.com> wrote: >>>> >>>> On Mon, Aug 17, 2020 at 5:27 AM Richard Purdie >>>> <richard.pur...@linuxfoundation.org> wrote: >>>> > >>>> > On Sun, 2020-08-16 at 18:55 -0400, Bruce Ashfield wrote: >>>> > > >>>> > > >>>> > > On Sun, Aug 16, 2020 at 9:47 AM Richard Purdie < >>>> > > richard.pur...@linuxfoundation.org> wrote: >>>> > > > On Sat, 2020-08-15 at 19:41 -0700, Khem Raj wrote: >>>> > > > > Bruce, >>>> > > > > >>>> > > > > We need >>>> > > > > >>>> > > > https://github.com/torvalds/linux/commit/168200b6d6ea0cb5765943ec5da5b8149701f36a >>>> > > > > backported to 5.4 kernels for perf to build with -fno-common can >>>> > > > you >>>> > > > > queue this in your kernel updates as soon as you can ? >>>> > > > >>>> > > > I think we have other active kernels which will also need it as >>>> > > > even >>>> > > > with Khem's patch we still see failures: >>>> > > > >>>> > > >>>> > > I've taken care of linux-yocto now, I don't think there are any >>>> > > active use cases for those kernels that won't be covered. >>>> > >>>> > I bumped the meta-yocto BSPs with a quickly hacked up patch but we >>>> > still see: >>>> > >>>> > https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/2339 >>>> > >>>> > so I think there may be another patch we need somewhere... >>>> > >>>> > (which matches what we saw with Khem's _append which also failed). >>>> > >>>> >>>> there seems to be concaternation of compiler options without space >>>> >>>> | arm-poky-linux-gnueabi-gcc: error: unrecognized argument in option >>>> '-mfpu=neon/include/uapi/asm-generic/errno.h' >>>> | arm-poky-linux-gnueabi-gcc: note: valid arguments to '-mfpu=' are: >>>> auto crypto-neon-fp-armv8 fp-armv8 fpv4-sp-d16 fpv5-d16 fpv5-sp-d16 >>>> neon neon-fp-armv8 neon-fp16 neon-vfpv3 neon-vfpv4 vfp vfp3 vfpv2 >>>> vfpv3 vfpv3-d16 vfpv3-d16-fp16 vfpv3-fp16 vfpv3xd vfpv3xd-fp16 vfpv4 >>>> vfpv4-d16 >>>> | arm-poky-linux-gnueabi-gcc: fatal error: no input files >>>> >>>> but it also showed up on x86_64 in one of your prior builds, so I >>>> wonder if its something in kernel build system or is it processing >>>> TUNE_CCARGS in special ways. >>>> >>>> > There is still some piece of this we're missing, maybe on non-IA. >>>> > >>>> > Cheers, >>>> > >>>> > Richard >>>> > >>>> >> >> >> >> -- >> - Thou shalt not follow the NULL pointer, for chaos and madness await thee >> at its end >> - "Use the force Harry" - Gandalf, Star Trek II >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#141610): https://lists.openembedded.org/g/openembedded-core/message/141610 Mute This Topic: https://lists.openembedded.org/mt/75983138/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-