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: nickc at redhat dot com
Subject: [Bug binutils/30448] ld fails to make a valid DLL when used with gnatdll
Date: Tue, 16 May 2023 10:43:03 +0000

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

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Tom Kacvinsky from comment #5)
Hi Tom,

> So yeah, definite difference between 2.35 and 2.36 with relocation handling.

I suspect that this is all because of this PR:

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

Which changed some of the defaults for building PE binaries so that they were
more secure.

I guess that the real question is "does anything actually need to be fixed in
the linker ?"  I am assuming that the new, more secure, default settings are
correct for most situations, and that now that you know about using
--disable-reloc-section your builds with gnatdll will start working again.

Possibly some more documentation is warranted ?  Maybe the description of the
--disable-reloc-section in the linker manual should include a paragraph about
using it if building DLLs no longer works ?

Cheers
  Nick

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