linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Linker error `.exit.text' referenced in section `.alt.smp.init'
@ 2019-05-28  7:12 Stefan Agner
  2019-05-28  7:32 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Agner @ 2019-05-28  7:12 UTC (permalink / raw)
  To: Masami Hiramatsu, linux; +Cc: linux-arm-kernel, arnd

Hi,

Cross compiling Linux v5.2-rc2 with CONFIG_DNS_RESOLVER=y using gcc 8.2
I noticed the following build error:

...
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  AR      init/built-in.a
  LD      vmlinux.o
  MODPOST vmlinux.o
  MODINFO modules.builtin.modinfo
`.exit.text' referenced in section `.alt.smp.init' of
net/dns_resolver/dns_key.o: defined in discarded section `.exit.text' of
net/dns_resolver/dns_key.o                                              
                              
make: *** [Makefile:1052: vmlinux] Error 1

It seems that Masami noticed this a while back:
https://lore.kernel.org/lkml/20180911231012.fdc45840f3d91860daa2e180@kernel.org/T/#u

Anybody else seen this?

When I remove put_cred in exit_dns_resolver the kernel links fine...

--
Stefan

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-05-28 11:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28  7:12 Linker error `.exit.text' referenced in section `.alt.smp.init' Stefan Agner
2019-05-28  7:32 ` Arnd Bergmann
2019-05-28 11:41   ` Stefan Agner
2019-05-28 11:53     ` Russell King - ARM Linux admin

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).