[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZMIG6J+zqSIGVlAq@debian.me>
Date: Thu, 27 Jul 2023 12:55:52 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Ian Rogers <irogers@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Kajol Jain <kjain@...ux.ibm.com>,
Kan Liang <kan.liang@...ux.intel.com>,
John Garry <john.g.garry@...cle.com>,
Marcus Seyfarth <m.seyfarth@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Regressions <regressions@...ts.linux.dev>,
Linux Perf <linux-perf-users@...r.kernel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [perf] Build error when using LTO on 6.4
On Wed, Jul 26, 2023 at 09:20:33PM -0700, Ian Rogers wrote:
> On Wed, Jul 26, 2023 at 8:55 PM Bagas Sanjaya <bagasdotme@...il.com> wrote:
> >
> > Hi,
> >
> > I notice a build regression on Bugzilla [1]. Quoting from it:
> >
> > > Starting with Kernel 6.4, I see a build error when using "-flto" to build perf. This used to work fine with earlier Kernels when using either bfd or mold as linker when using GCC 13.1.1.
>
> Hmm.. strange I've never seen this work with GCC.
>
> > >
> > > This is the PKGBUILD I use as my build recipe: https://github.com/ms178/archpkgbuilds/blob/main/packages/bpf/PKGBUILD
>
> If this binary is for distribution BUILD_BPF_SKEL=1 should be set. We
> need to make this an opt-out rather than opt-in. The last time we did
> this there was some friction:
> https://lore.kernel.org/lkml/CAHk-=wjY_3cBELRSLMpqCt6Eb71Qei2agfKSNsrr5KcpdEQCaA@mail.gmail.com/
The reporter runs Arch Linux. PKGBUILD is a build script to create
packages, though. See the distro doc [1] for details.
[1]: https://wiki.archlinux.org/title/PKGBUILD
--
An old man doll... just what I always wanted! - Clara
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists