linux-next: new build warnings after binutils update
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?
Signature · 2 lines
Cheers, Stephen Rothwell
(+ Arvind, Kees)
Quoted 8 lines · Stephen Rothwell
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: creatingDT_TEXTRELin a PIE
Quoted 7 lines
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.0Any 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?
Quoted 22 lines · Ard Biesheuvel
(+ Arvind, Kees)
Quoted 8 lines · Stephen Rothwell
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: creatingDT_TEXTRELin a PIEQuoted 7 lines
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.0Any ideas?
Arvind and I have some patches on the list that fix various relocation issues in the decompressor binary.
Quoted 8 lines
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?
It all looked good to me but was a bit late for v5.9, will pick up after -rc1.
Thanks,
Ingo
Quoted 29 lines · Ingo Molnar
Quoted 25 lines · Ard Biesheuvel
(+ Arvind, Kees)
Quoted 8 lines · Stephen Rothwell
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: creatingDT_TEXTRELin a PIEQuoted 7 lines
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.0Any 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.
Quoted 9 lines
Quoted 5 lines
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?
It all looked good to me but was a bit late for v5.9, will pick up after -rc1.
Thanks Ingo.
Quoted 33 lines · Ingo Molnar
Quoted 29 lines · Ard Biesheuvel
(+ Arvind, Kees)
Quoted 8 lines · Stephen Rothwell
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: creatingDT_TEXTRELin a PIEQuoted 7 lines
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.0Any 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?
Quoted 7 lines
Quoted 1 line
It all looked good to me but was a bit late for v5.9, will pick up after -rc1.
Thanks,
Good news :-).
- Sedat -
Quoted 4 lines · Ingo Molnar
Quoted 1 line
It all looked good to me but was a bit late for v5.9, will pick up after -rc1.
Excellent! Thank you. I'll base the orphan series on x86/boot now. Once I send a v6 (there are a few more things to tweak), can you carry that in -tip as well (it includes arm and arm64 as well, all of which depend on several asm-generic patches). Or would you prefer I carry the tree separately?
Signature · 1 line
Kees Cook
Quoted 10 lines · Kees Cook
Quoted 4 lines · Ingo Molnar
Quoted 1 line
It all looked good to me but was a bit late for v5.9, will pick up after -rc1.
Excellent! Thank you. I'll base the orphan series on x86/boot now. Once I send a v6 (there are a few more things to tweak), can you carry that in -tip as well (it includes arm and arm64 as well, all of which depend on several asm-generic patches).
Sure, that looks the most sensible, since there's so much x86 impact. Might migrate the commits over into a more generic topic branch - started out with x86/boot to get things going.
Thanks,
Ingo