bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/30448] ld fails to make a valid DLL when used with gnatdll


From: ebotcazou at gcc dot gnu.org
Subject: [Bug binutils/30448] ld fails to make a valid DLL when used with gnatdll
Date: Tue, 16 May 2023 18:47:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30448

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> GNAT that comes from GCC 12.1.0.  I am using MSYS2 + MinGw-w64 for my base
> setup, then compile a custom GCC 12.1.0 with mingw-w64-crt v10.0.0 and
> binutils 2.38.  This includes MinGW-w64's support for the UCRT, as we need
> that for the version of Visual Studio we also use to build out product.

There was a known issue with DLLs relocations at load time in earlier GCC
versions, but it has been fixed by:

2021-07-02  Eric Botcazou  <ebotcazou@adacore.com>

        * config/i386/i386.c (asm_preferred_eh_data_format): Always use the
        PIC encodings for PE-COFF targets.

in GCC 11.2.0 and later.

> Yes, binutils 2.35 generates a different .reloc section than binutils 2.36
> (with default options) unless one uses binutils 2.36 with
> --disable-reloc-section.

Weird.  I wonder what its contents were with 2.35 then.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]