linux-next: build failure after merge of the tip tree

From: Stephen Rothwell
Date: Sun Mar 29 2020 - 23:35:42 EST


Hi all,

After merging the tip tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ld: warning: discarding dynamic section .rela.data.rel.ro

lots of similar warnings, followed by

`.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of drivers/macintosh/windfarm_core.o: defined in discarded section `.exit.text' of drivers/macintosh/windfarm_core.o
`.exit.text' referenced in section `__bug_table' of drivers/i2c/i2c-core-base.o: defined in discarded section `.exit.text' of drivers/i2c/i2c-core-base.o

Caused by commit

72cb2113c1bb ("vmlinux.lds: Discard .note.gnu.property sections in generic NOTES")

I don't see why, but reverting that commit fixes the build warnings
and failure.

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell

Attachment: pgpQcCfy9TyVn.pgp
Description: OpenPGP digital signature