Skip to content

MinGW's linker does not create a reloc section for DYNAMICBASE executables #16581

Closed

Description

@thestinger

This issue exists to track the necessity of a workaround for this bug in the compiler.

Activity

  1. changed the title [-]MinGW's linker does not create a reloc section for DYNANICBASE executables[/-] [+]MinGW's linker does not create a reloc section for DYNAMICBASE executables[/+] on Aug 19, 2014
  2. self-assigned this
    on Aug 19, 2014
  3. added
    A-securityArea: Security (example: address space layout randomization).
    on Sep 16, 2014
  4. removed their assignment
    on Jan 28, 2015
  5. steveklabnik commented on Feb 2, 2016

    @steveklabnik
    Contributor

    Triage: unsure if there's been any change.

  6. added
    C-bugCategory: This is a bug.
    and removed
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    on Jul 21, 2017
  7. mati865 commented on Aug 11, 2020

    @mati865
    Member

    @rustbot modify labels: -O-windows +O-windows-gnu

    Fixed in Binutils 2.34: https://sourceware.org/bugzilla/show_bug.cgi?id=17321
    There is reliable workaround for older versions: TheRyuu/FFmpeg@91b668a
    LLD was never affected.

  8. added
    O-windows-gnuToolchain: GNU, Operating system: Windows
    and removed
    O-windowsOperating system: Windows
    on Aug 11, 2020
  9. mati865 commented on Feb 17, 2023

    @mati865
    Member

    AFAIK this is fixed in Binutils shipped on recent nightly builds.

  10. bjorn3 commented on Aug 28, 2025

    @bjorn3
    Member

    Can we close this as fixed by upstream?

  11. mati865 commented on Aug 28, 2025

    @mati865
    Member

    Yeah, Rust now ships Binutils 2.42: #119229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesA-securityArea: Security (example: address space layout randomization).C-bugCategory: This is a bug.O-windows-gnuToolchain: GNU, Operating system: Windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions