I have a very complex application we build with enclose. Occasionally, when we run the binary we created from enclose, the output binary returns Corrupt executable and quits immediately.
When I debug the problem, seemingly trivial lines of code cause this issue to happen -- could be a one line change that adds in a return; statement. With the statement causes the binary to be corrupt, but without the return; statement the app compiles and runs properly.
I can't seem to reproduce this in a simpler form, so unfortunately I cannot give you a reproducible test case. I am hoping you might give me a hint as to what might be causing this problem, perhaps a known issue or mis configuration that could cause this?
I am using firstname.lastname@example.org and email@example.com with --version 6 and x64
Interestingly, the exact same code compiles fine in firstname.lastname@example.org with email@example.com and --version 4