m32mscoff with lld-link causes SEH errors

kinke kinke at gmx.net
Tue May 26 15:56:31 UTC 2020


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.


More information about the Digitalmars-d-learn mailing list