Re: linux-next: build warning after merge of the tip tree

From: Kees Cook
Date: Mon Sep 14 2020 - 16:11:47 EST


On Mon, Sep 14, 2020 at 01:22:49PM +1000, Stephen Rothwell wrote:
> After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/trace_selftest_dynamic.o' being placed in section `.ctors.65435'
> [...]

Hmm, I wasn't seeing that...

Which gcc and bintuils versions are you using?

> Probably exposed by commit
>
> 83109d5d5fba ("x86/build: Warn on orphan section placement")

Very likely! :)

--
Kees Cook