m32mscoff with lld-link causes SEH errors
Daniel C
dcrep at rep.com
Tue May 26 22:07:10 UTC 2020
On Tuesday, 26 May 2020 at 15:56:31 UTC, kinke wrote:
> On Monday, 25 May 2020 at 01:32:58 UTC, Daniel C wrote:
>> Is lld-link only for 64-bit compiles (-m64 is the only one
>> that gives no errors)
>
> Nope, but SafeSEH is a 32-bit-only feature. DMD doesn't emit
> SafeSEH compatible object files, and LLD seems to have a
> different default setting in that regard compared to MS
> link.exe. Using `-L/safeseh:no` should work around this.
Thank you! One more thing to add to my compile/link notes =)
More information about the Digitalmars-d-learn
mailing list