bug-binutils
[Top][All Lists]
Advanced

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

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


From: tkacvins at gmail dot com
Subject: [Bug binutils/30448] New: ld fails to make a valid DLL when used with gnatdll
Date: Mon, 15 May 2023 11:26:10 +0000

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

            Bug ID: 30448
           Summary: ld fails to make a valid DLL when used with gnatdll
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: tkacvins at gmail dot com
  Target Milestone: ---

I found an issue when generating a DLL via gnatdll.

The issue was introduced btween 2.33.1 and 2.34, and I believe it was this
specific commit dc9bd8c92af6 which introduced --enable-reloc-section in
pe.pem and pep.pem.  So, 2.33.1, which didn't have this option, worked,
and 2.34, which did have this option, did not.  It was until 2.35 when the
corresponding --disable-reloc-section was introduced that the problem was
fixed.  All I had to do is used --disable-reloc-section for my linker
options and the DLL generated by gnatdll went away.

This option works all the way through 2.40.

-- 
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]