public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* build kernel for arm64 - linker ld ignored -z relro
@ 2020-09-06 16:45 Milan Buška
  2020-09-12  6:30 ` Alan Modra
  0 siblings, 1 reply; 5+ messages in thread
From: Milan Buška @ 2020-09-06 16:45 UTC (permalink / raw)
  To: binutils

Hello.
I'm compiling the kernel v.5.8.7 on arm64.
This is a compilation in a native environment.
Toolchain:
glibc v. 2.32
binutils v. 2.35
gcc v. 10.2.0

This is the last part of the output after make Image.
  AR drivers / net / ethernet / built-in.a
  AR drivers / net / usb / built-in.a
  CC drivers / net / mii.o
  CC drivers / net / Space.o
  AR drivers / perf / built-in.a
  CC drivers / net / loopback.o
  CC drivers / net / tun.o
  CC drivers / net / virtio_net.o
  AR drivers / tee / built-in.a
  CC drivers / net / xen-netfront.o
  CC drivers / net / net_failover.o
  AR drivers / iio / built-in.a
  AR drivers / net / built-in.a
  AR drivers / built-in.a
  GEN .version
  CHK include / generated / compile.h
  LD vmlinux.o
  MODPOST vmlinux.symvers
  MODINFO modules.builtin.modinfo
  GEN modules.builtin
  LD .tmp_vmlinux.kallsyms1
ld: warning: -z norelro ignored
  KSYM .tmp_vmlinux.kallsyms1.o
  LD .tmp_vmlinux.kallsyms2
ld: warning: -z norelro ignored
  KSYM .tmp_vmlinux.kallsyms2.o
  LD vmlinux
ld: warning: -z norelro ignored
  SORTTAB vmlinux
  SYSMAP System.map
  OBJCOPY arch / arm64 / boot / Image

The file in which the norelro is declared (probably)
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/Makefile?h=v5.8.7

Tested on archlinuxarm last rootfs.

Best regards
Milan

-- 

Remember, no question is too stupid and no problem too small
       -- We've all been beginners

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

end of thread, other threads:[~2020-10-05  6:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-06 16:45 build kernel for arm64 - linker ld ignored -z relro Milan Buška
2020-09-12  6:30 ` Alan Modra
     [not found]   ` <CAFCWPPKDhcZEP_3GG=OMg6GRZsoUe-3TXYQQCi9+hScC9+xOBQ@mail.gmail.com>
2020-09-13  6:05     ` Alan Modra
2020-09-13 14:37       ` Milan Buška
2020-10-05  6:15       ` Milan Buška

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 read-only IMAP folder(s) and NNTP newsgroup(s).