[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread ngg at tresorit dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #7 from NGG --- Thank you for the quick response and patch proposal. Sorry for overreacting. I assigned it to critical due to its possible security implications and because of the wide range of products it might affect. I should

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #6 from Alan Modra --- Created attachment 10808 --> https://sourceware.org/bugzilla/attachment.cgi?id=10808=edit prospective patch The importance fields are for use by binutils maintainers. They are not for users to flag how

[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13671 --- Comment #14 from H.J. Lu --- (In reply to Rainer Orth from comment #12) > While it fixes the two failing ld testcases, during a gcc mainline > bootstrap I get man errors: > > FAIL: gcc.dg/pr47793.c (test for excess errors) > Excess

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread ngg at tresorit dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #5 from NGG --- This is not an enhancement request, it is clearly a bug. The ELF header is perfectly valid the way lld creates it, and strip reduces its security. This is why Chromium on Android switched to elfutils strip (see

[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-11 Thread ro at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13671 --- Comment #13 from Rainer Orth --- Created attachment 10807 --> https://sourceware.org/bugzilla/attachment.cgi?id=10807=edit assembler output -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://sourceware.org/bugzilla/show_bug.cgi?id=13671 --- Comment #12 from Rainer Orth --- While it fixes the two failing ld testcases, during a gcc mainline bootstrap I get man errors: FAIL: gcc.dg/pr47793.c (test for excess errors) Excess errors: /vol/gcc/bin/gld-2.30.51-tls: BFD (GNU

bfd/elf32-arc.c:1537]: (warning) Redundant assignment

2018-02-11 Thread David Binderman
Hello there, bfd/elf32-arc.c:1537]: (warning) Redundant assignment of 'rel->r_offset' to itself. Source code is rel->r_offset = rel->r_offset; Suggest code rework. Regards David Binderman ___ bug-binutils mailing list

bfd/elf32-nds32.c:9693]: (warning) Redundant assignment

2018-02-11 Thread David Binderman
Hello there, bfd/elf32-nds32.c:9693]: (warning) Redundant assignment of 'irel->r_addend' to itself. Source code is rel->r_offset = rel->r_offset; Suggest code rework. Regards David Binderman ___ bug-binutils mailing list

[Bug ld/22832] 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym

2018-02-11 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22832 --- Comment #3 from John Paul Adrian Glaubitz --- While the patch from a8735c82b8519d8b18915765ca983fc07154a17d was actually still missing and using a binutils with the patch actually fixed another build issue with rustc for me, this

[Bug ld/22592] dyn_reloc count error for sparc PIE

2018-02-11 Thread ebotcazou at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22592 --- Comment #8 from Eric Botcazou --- > The only problem I've seen with this patch is that it now over-allocates > relocations for the GOT. We generate the same number of GOT relocations as 2.28 and below though. -- You are receiving this

[Bug ld/22592] dyn_reloc count error for sparc PIE

2018-02-11 Thread ebotcazou at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22592 Eric Botcazou changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug ld/22832] 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym

2018-02-11 Thread ebotcazou at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22832 --- Comment #2 from Eric Botcazou --- The GOT relocation issue I just fixed (on master, 2.30 and 2.29 branch) can have pretty much unpredictable results since it may cause memory corruption. Please retry with updated sources containing the

[Bug ld/22831] ld causes massive thrashing if object files are not fully memory-resident: new algorithm needed

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22831 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

[Bug ld/22831] ld causes massive thrashing if object files are not fully memory-resident: new algorithm needed

2018-02-11 Thread lkcl at lkcl dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=22831 --- Comment #2 from Luke Kenneth Casson Leighton --- hi HJ, thanks for that advice - bear in mind that i am not actually directly involved in any of the projects that are experiencing these insane levels of thrashing. we (you and i) are

[Bug gold/22833] New: gold: --print-symbol-counts incorrect output ?

2018-02-11 Thread andreas.hollmann at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22833 Bug ID: 22833 Summary: gold: --print-symbol-counts incorrect output ? Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: minor Priority: P2

[Bug ld/22832] 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22832 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ld/22592] dyn_reloc count error for sparc PIE

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22592 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from H.J. Lu ---

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not placed before read-only section

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 H.J. Lu changed: What|Removed |Added Summary|objcopy/strip: PT_GNU_RELRO |objcopy/strip: PT_GNU_RELRO

[Bug binutils/22829] objcopy/strip: PT_GNU_RELRO is removed when it's not at the beginning of a PT_LOAD area

2018-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #4

[Bug ld/22832] 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym

2018-02-11 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22832 John Paul Adrian Glaubitz changed: What|Removed |Added CC||glaubitz at physik dot

[Bug ld/22832] New: 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym

2018-02-11 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22832 Bug ID: 22832 Summary: 2.30 internal error, aborting at ../../bfd/elflink.c:9710 in elf_link_output_extsym Product: binutils Version: 2.30 Status: UNCONFIRMED

[Bug ld/22592] dyn_reloc count error for sparc PIE

2018-02-11 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22592 John Paul Adrian Glaubitz changed: What|Removed |Added CC||glaubitz at physik dot