https://bugs.winehq.org/show_bug.cgi?id=43628
Bug ID: 43628 Summary: Linux application cannot be run if they are built with -pie Product: Wine Version: 2.15 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
Compile the following program #include <stdio.h>
int main(int argc, char args[]) { printf("Hello World\n"); return 0; };
gcc -no-pie -o hello hello.c gcc -pie -o hello2 hello.c
Now run wine cmd /c path/to/hello
The first exe will run normally (assuming your environment is setup) where as the second doesn't.
The appears to be an issue when moving from Mint 17 to Mint 18. (as an example).