Skip to content

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

@thestinger

Description

@thestinger
Contributor

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

Activity

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
self-assigned this
on Aug 19, 2014
added
A-securityArea: Security (example: address space layout randomization).
on Sep 16, 2014
removed their assignment
on Jan 28, 2015
steveklabnik

steveklabnik commented on Feb 2, 2016

@steveklabnik
Member

Triage: unsure if there's been any change.

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
mati865

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.

added
O-windows-gnuToolchain: GNU, Operating system: Windows
and removed
O-windowsOperating system: Windows
on Aug 11, 2020
mati865

mati865 commented on Feb 17, 2023

@mati865
Member

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

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

        Participants

        @steveklabnik@mati865@thestinger@Mark-Simulacrum@rustbot

        Issue actions

          MinGW's linker does not create a reloc section for DYNAMICBASE executables · Issue #16581 · rust-lang/rust