[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2021-04-01 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Bug 19011 depends on bug 26659, which changed state. Bug 26659 Summary: x86_64 pe relocation truncated to fit: R_X86_64_PC32 against undefined symbol https://sourceware.org/bugzilla/show_bug.cgi?id=26659 What|Removed

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-09-23 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 sourceware-bugzilla at jdrake dot com changed: What|Removed |Added Depends on||26659

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-09-11 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Bug 19011 depends on bug 26588, which changed state. Bug 26588 Summary: enable-reloc-section on .exe with no exported symbols causes segfault if requested to create implib https://sourceware.org/bugzilla/show_bug.cgi?id=26588 What

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-09-10 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 sourceware-bugzilla at jdrake dot com changed: What|Removed |Added Blocks|26588 |

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-09-08 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 sourceware-bugzilla at jdrake dot com changed: What|Removed |Added Blocks||26588

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-09-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Bug 19011 depends on bug 26587, which changed state. Bug 26587 Summary: [2.36 Regression] UNRESOLVED: objcopy executable https://sourceware.org/bugzilla/show_bug.cgi?id=26587 What|Removed |Added

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-09-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 H.J. Lu changed: What|Removed |Added Depends on||26587 Referenced Bugs:

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-28 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #26 from sourceware-bugzilla at jdrake dot com --- > #define NT_DLL_AUTO_IMAGE_MASK \ > ((bfd_vma) (${move_default_addr_high} ? 0x1LL \ >- : 0x0ffcLL)) >+

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-28 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #25 from sourceware-bugzilla at jdrake dot com --- (In reply to sourceware-bugzilla from comment #24) I'm not sure if these are recommending documentation updates or changes to defaults, but if the latter... > > +@itemx

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-28 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #24 from sourceware-bugzilla at jdrake dot com --- (In reply to cvs-com...@gcc.gnu.org from comment #14) > The master branch has been updated by Nick Clifton : > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; >

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #23 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6194b866b7a89969d8c66f8a97d40acc028373b1 commit

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #22 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=16f9c644c7fcec6f4aa6f4e8a1458b57d2b28982 commit

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #21 from Alan Modra --- It turned out that the regressions were caused by the change to default image base. I'll commit a fix after running a few tests. -- You are receiving this mail because: You are on the CC list for the

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #20 from Alan Modra --- >From ld.log before/after the patch it looks like all of the regressions on x86_64-w64-mingw32 are due to additional "relocation truncated to fit" errors. good: ./ld-new -o tmpdir/pr20070.x

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #19 from sourceware-bugzilla at jdrake dot com --- Perhaps the default enabling of --enable-reloc-section should have been more limited? That was a last-minute change on my part, when I noticed the executables I built were not

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #18 from Nick Clifton --- (In reply to Alan Modra from comment #17) > It also fixed these by removing the "zero vma section reloc detected" error, > where no --just-symbols was involved so I'm not sure this is a good thing. Ah -

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #17 from Alan Modra --- It also fixed these by removing the "zero vma section reloc detected" error, where no --just-symbols was involved so I'm not sure this is a good thing. sh-pe +FAIL: objcopy executable (pr25662) sh-pe

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #16 from Alan Modra --- This patch apparently caused x86_64-w64-mingw32 +FAIL: plugin claimfile lost symbol x86_64-w64-mingw32 +FAIL: plugin claimfile replace file x86_64-w64-mingw32 +FAIL: plugin error x86_64-w64-mingw32

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #15 from Nick Clifton --- Thanks Jeremy - I have now applied your two patches. I made two small additions - documenting the new options in ld/ld.texi and mentioning the change in linker behaviour in the ld/NEWS file. I also had

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #14 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=514b4e191d5f46de8e142fe216e677a35fa9c4bb commit

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-26 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 sourceware-bugzilla at jdrake dot com changed: What|Removed |Added Attachment #12802|0 |1 is

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-26 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 sourceware-bugzilla at jdrake dot com changed: What|Removed |Added Attachment #12801|0 |1 is

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-26 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #11 from sourceware-bugzilla at jdrake dot com --- Created attachment 12801 --> https://sourceware.org/bugzilla/attachment.cgi?id=12801=edit [PATCH 2/2] LD/PR19011: more secure default PE options. -- You are receiving this mail

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-08-26 Thread sourceware-bugzilla at jdrake dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 sourceware-bugzilla at jdrake dot com changed: What|Removed |Added CC|

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2020-01-11 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #9 from Hannes Domani --- (In reply to Alex Smith from comment #0) > Furthermore if you specify dynamicbase it should automatically cause the > linker to output a reloc section (or not strip it or however it works > internally).

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-10-11 Thread gerald at wireshark dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #8 from gerald at wireshark dot org --- Googling for "mingw-w64 aslr" turned up a CERT vulnerability note[1] for this issue along with CVE-2018-5392. It wasn't apparent from the VN or the CVE whether or not Sourceware had been

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-10-11 Thread tom at ritter dot vg
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #7 from Tom Ritter --- This is a big drive-by, as I don't have much understanding on the details of the problem; but Tor uses the following patch to add a relocation section so Windows builds of Tor Browser can have ASLR:

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-07-25 Thread hugo at beauzee dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #6 from hugo at beauzee dot fr --- Well, apparently the attached fixes the header, but makes windows fail to run the resulting executable, so I guess something's missing. Any help would be appreciated! -- You are receiving this

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-07-25 Thread hugo at beauzee dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #5 from hugo at beauzee dot fr --- The attached patch fixes the IMAGE_FILE_RELOCS_STRIPPED bit to be set in the headers when no symbol is exported, when building with -Wl,--dynamicbase. Please let me know if some corrections are

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-07-25 Thread hugo at beauzee dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 hugo at beauzee dot fr changed: What|Removed |Added CC||hugo at beauzee dot fr ---

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2017-09-26 Thread tom at ritter dot vg
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Tom Ritter changed: What|Removed |Added CC||tom at ritter dot vg -- You are

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2016-01-11 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Domani Hannes changed: What|Removed |Added CC||ssbssa at yahoo dot de -- You are

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2015-10-19 Thread gerald at wireshark dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 gerald at wireshark dot org changed: What|Removed |Added CC||gerald at wireshark dot

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2015-10-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Nick Clifton changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Nick

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2015-09-30 Thread theryuu at warpsharp dot info
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #2 from Alex Smith --- I don't mind having a go but I'm unfamiliar with the binutils/ld source so I'll have to figure out where everything is first. On that note are you (or anyone who might be able to help) on irc? -- You are

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2015-09-29 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment