stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Backport request: commit 168200b6 to fix perf build with gcc 10
@ 2020-10-14 11:48 Paul Barker
  2020-10-14 13:56 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Barker @ 2020-10-14 11:48 UTC (permalink / raw)
  To: stable

Hi folks,

I'm seeing errors building perf with gcc 10 on the linux-5.4.y branch.
The linker fails as the traceid_list symbol is defined in multiple
compilation units. It looks like commit
168200b6d6ea0cb5765943ec5da5b8149701f36a ("perf cs-etm: Move
definition of 'traceid_list' global variable from header file") was
added to master to fix this but it's not been backported yet.
Cherry-picking this commit locally fixed my build issues.

Looking at the Fixes tag in that commit, this should probably go into
every stable branch from 4.16.y onwards which is still maintained.

See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=168200b6d6ea0cb5765943ec5da5b8149701f36a

Let me know if you need more info.

Thanks,

-- 
Paul Barker
Konsulko Group

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Backport request: commit 168200b6 to fix perf build with gcc 10
  2020-10-14 11:48 Backport request: commit 168200b6 to fix perf build with gcc 10 Paul Barker
@ 2020-10-14 13:56 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2020-10-14 13:56 UTC (permalink / raw)
  To: Paul Barker; +Cc: stable

On Wed, Oct 14, 2020 at 12:48:42PM +0100, Paul Barker wrote:
> Hi folks,
> 
> I'm seeing errors building perf with gcc 10 on the linux-5.4.y branch.
> The linker fails as the traceid_list symbol is defined in multiple
> compilation units. It looks like commit
> 168200b6d6ea0cb5765943ec5da5b8149701f36a ("perf cs-etm: Move
> definition of 'traceid_list' global variable from header file") was
> added to master to fix this but it's not been backported yet.
> Cherry-picking this commit locally fixed my build issues.
> 
> Looking at the Fixes tag in that commit, this should probably go into
> every stable branch from 4.16.y onwards which is still maintained.
> 
> See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=168200b6d6ea0cb5765943ec5da5b8149701f36a
> 
> Let me know if you need more info.

Now queued up, but perf does not seem to be building on the 4.19.y tree
at the moment, so I don't know how useful that will be there :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-14 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-14 11:48 Backport request: commit 168200b6 to fix perf build with gcc 10 Paul Barker
2020-10-14 13:56 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).