Bug 26587 - [2.36 Regression] UNRESOLVED: objcopy executable
Summary: [2.36 Regression] UNRESOLVED: objcopy executable
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: 2.36
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 19011
  Show dependency treegraph
 
Reported: 2020-09-08 16:40 UTC by H.J. Lu
Modified: 2020-09-08 17:07 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2020-09-08 16:40:06 UTC
commit 514b4e191d5f46de8e142fe216e677a35fa9c4bb
Author: Jeremy Drake <sourceware-bugzilla@jdrake.com>
Date:   Thu Aug 27 12:58:27 2020 +0100

    Change the default characteristics of DLLs built by the linker to more secure settings.

caused:

/ld-new: address 0x1000 of tmpdir/bintest section `.reloc' is not within region `RAM'^M
/export/build/gnu/tools-build/binutils-cross/build-x86_64-mingw32/binutils/../ld/ld-new: tmpdir/bintest section `.bss' will not fit in region `RAM'^M
/export/build/gnu/tools-build/binutils-cross/build-x86_64-mingw32/binutils/../ld/ld-new: region `RAM' overflowed by 17 bytes^M
/export/build/gnu/tools-build/binutils-cross/build-x86_64-mingw32/binutils/../ld/ld-new: address 0x1000 of tmpdir/bintest section `.reloc' is not within region `RAM'
/export/build/gnu/tools-build/binutils-cross/build-x86_64-mingw32/binutils/../ld/ld-new: tmpdir/bintest section `.bss' will not fit in region `RAM'
/export/build/gnu/tools-build/binutils-cross/build-x86_64-mingw32/binutils/../ld/ld-new: region `RAM' overflowed by 17 bytes

UNRESOLVED: objcopy executable (pr25662)

for x86_64-mingw32.
Comment 1 Sourceware Commits 2020-09-08 17:05:48 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=790147a9e9ee05542c621a36669288413880c876

commit 790147a9e9ee05542c621a36669288413880c876
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Sep 8 10:01:45 2020 -0700

    Pass --disable-reloc-section on PE targets for PR 25662 test
    
    Pass --disable-reloc-section on PE targets for PR 25662 test since
    
    commit 514b4e191d5f46de8e142fe216e677a35fa9c4bb
    
    Author: Jeremy Drake <sourceware-bugzilla@jdrake.com>
    Date:   Thu Aug 27 12:58:27 2020 +0100
    
        Change the default characteristics of DLLs built by the linker to more secure settings.
    
    defaulted to --enable-reloc-section.
    
            PR ld/26587
            * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
            to ld on PE targets for PR 25662 test.
Comment 2 H.J. Lu 2020-09-08 17:07:05 UTC
Fixed.