lkml.org 
[lkml]   [2020]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: linux-next: new build warnings after binutils update
(+ Arvind, Kees)

On Thu, 13 Aug 2020 at 22:58, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After upgading some software, builds of Linus' tree now produce these warnings:
>
> x86_64-linux-gnu-ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text'
> x86_64-linux-gnu-ld: warning: creating DT_TEXTREL in a PIE
>
> I upgraded binutils from 2.34-8 to 2.35-1 (Debian versions).
>
> $ x86_64-linux-gnu-gcc --version
> x86_64-linux-gnu-gcc (Debian 9.3.0-13) 9.3.0
>
> Any ideas?
>

Arvind and I have some patches on the list that fix various relocation
issues in the decompressor binary.

As far as I can tell, Arvind's patch to suppress runtime relocations
[0] addresses this exact issue.

Unfortunately, in spite of various pings and attempts to get the x86
maintainers to notice this series, it has been ignored so far. Perhaps
this is a good time to merge it for -rc1/2?

[0] https://lore.kernel.org/lkml/20200731202738.2577854-6-nivedita@alum.mit.edu/

\
 
 \ /
  Last update: 2020-08-14 09:07    [W:0.104 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site