On Sat, Oct 03, 2020 at 04:23:15PM +0200, Gabriel C wrote: > Am Mo., 28. Sept. 2020 um 00:00 Uhr schrieb Linus Torvalds > <torva...@linux-foundation.org>: > Hello, > > > Shortlog appended, but what I really hope you all will do is to give > > it a nice good testing. One extra week or rc kernels will help, but > > only if people actually try this out. > > > > So.. Please? > > I'm a bit late testing, but the first thing I noticed is this warning: > > ld: arch/x86/boot/compressed/head_64.o: warning: relocation in > read-only section `.head.text' > ld: warning: creating DT_TEXTREL in a PIE > > The compiler is gcc 9.2.1 20200215, with default PIE enabled, ld version > 2.35.1. > The config used is the 64bit defconfig. > > Best Regards, > > Gabriel C.
You can ignore the warning for now, it is harmless: it's always been there, but binutils-2.35 has enabled the warning by default. There are patches in tip that should make this go away for v5.10. Thanks. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=ld/NEWS;hb=refs/tags/binutils-2_35_1 * Add a configure option, --enable-textrel-check=[no|yes|warning|error], to decide what ELF linker should do by default with DT_TEXTREL in an executable or shared library. Default to yes for Linux/x86 targets.