[openssl-users] Openssl Build Error- module unsafe for SAFESEH image/Unable to generate SAFESEH image

Michael Wojcik Michael.Wojcik at microfocus.com
Thu Oct 18 11:32:45 UTC 2018

> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf
> Of sakdev
> Sent: Thursday, October 18, 2018 06:09
> To resolve this we added /SAFESEH flag in linker flags, and started build.
> But build got failed with "Unable to generate SAFESEH image" error.

You appear to have added /SAFESEH to the generic linker flags, so it's being used for both x86 (32-bit) and x64 (64-bit). It's only allowed for x86. The error you showed (and, by the way, it's better to copy and paste text than to send a screenshot) is for the x64 build.

Michael Wojcik
Distinguished Engineer, Micro Focus

More information about the openssl-users mailing list