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: tkacvins at gmail dot com
Subject: [Bug binutils/30448] ld fails to make a valid DLL when used with gnatdll
Date: Tue, 16 May 2023 13:28:07 +0000

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

--- Comment #7 from Tom Kacvinsky <tkacvins at gmail dot com> ---
I don't understood _why_ those patches introduced the issue.

Looking at them, one was from 2018, and the problem started sometime after
2019, and the other patches are changing ld options for DLL characteristics,
but I saw nothing in them that would change how to relocations are generated.

You'd think that for a DLL, you would always want a .reloc section and so
disabling it should cause an issue (not the other way around), and my
understanding is the DLL characteristics are just a guide to the run time
loader, anyway.  I can play around with the options those patches introduced if
I can see if enabling/disabling them makes a difference.

Anyway, it'd be great if that question could be answered.  If not, I'll just
carry on with my workaround without understanding why.  It does bother my "Mr.
Definitive" take on issues like this, but hey, sometimes you can't let perfect
be the enemy of the done.

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