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 ?

Thanks
-Khem

On Sat, Aug 15, 2020 at 6:56 PM Khem Raj <raj.k...@gmail.com> wrote:
>
> On Sat, Aug 15, 2020 at 3:10 PM Richard Purdie
> <richard.pur...@linuxfoundation.org> wrote:
> >
> > On Tue, 2020-08-04 at 23:17 -0700, Khem Raj wrote:
> > > here is a recent build with clang11 which also switched to using
> > > -fno-common and errors are pretty much same you will see with gcc10
> > > with this patch to revert the -fcommon defaults.
> > >
> > > https://errors.yoctoproject.org/Errors/Build/107234/?limit=100
> > >
> > > I was waiting for upstream packages to get fixed before switching the
> > > defaults back to -fno-common.
> >
> > Khem requested I revisit this. I see at least:
> >
> > a) perf failures pretty much everywhere
>
> This is interesting
>
> | x86_64-poky-linux-gcc: error: unrecognized command-line option
> '-m64/include/uapi/asm-generic/errno.h'
>
> I wonder if its some kernel update which is causing this, it seems to
> be missing a space in commandline somewhere
>
> > b) kexec-tools in no-x11 build
>
> I think I dealt with this in meta-oe perhaps we need to use -fcommon in 
> cflags.
>
> > c) cpio build failures in testimage
> >
> cpio needs a patch to build see
> https://git.openembedded.org/openembedded-core/commit/?id=ca6e5511b59b585de793ff6424c7c6ccfcd8e61e
> I guess we need to either patch cpio with this patch on target before
> building or pass -fcommon to the test so this patch is not needed
>
> Thanks for the run, I will try to look into it, I think for cpio build
> failure perhaps we need to pass
>
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1264
> >
> > the world builds haven't completed yet.
> >
> > So looks much better but still a few things need fixes.
> >
> > Cheers,
> >
> > Richard
> >
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141470): 
https://lists.openembedded.org/g/openembedded-core/message/141470
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to