Ubuntu and PIE compilation

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
legluondunet
Posts: 51
Joined: Fri Jan 30, 2015 9:24 am

Ubuntu and PIE compilation

Post by legluondunet »

Hello,

I upgraded to ubuntu 16.10 and when I compile Scummvm, I can no more launch it directly from the explorer files (Nautilus), only from a terminal like this:
$ ./scummvm
Do you think it is related to this:
https://wiki.ubuntu.com/SecurityTeam/PIE ?
Someone have the same issue?
Is there a way to not compile ScummVM with pie off?

Thank you for your help.

LGDN
User avatar
legluondunet
Posts: 51
Joined: Fri Jan 30, 2015 9:24 am

Post by legluondunet »

Hello ScummVM dev, someone know how to desactive PIE support when I compile it on Ubuntu?
digitall
ScummVM Developer
Posts: 1172
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

legluondunet: If you can launch your compiled scummvm binary from a command line, then I doubt that the issue is related to PIE: https://en.wikipedia.org/wiki/Position- ... xecutables

If it was, I would expect this to break in both cases.

This sounds like an issue with Nautilus Desktop and thus out of our scope, but I would suggest trying to find some debug output or log from this to work out why this is failing ie.
https://ubuntuforums.org/showthread.php?t=1425449

Another option is to create a small shell and/or python script to launch instead which then in turn launches ScummVM. This may shed light on why this is failing. I would suspect it is probably due to a environment variable difference, probably either PATH or LD_PRELOAD.
Post Reply