ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > Ubuntu and PIE compilation
Ubuntu and PIE compilation
  Author    Thread Reply to topic
legluondunet



Joined: 30 Jan 2015
Posts: 29
Ubuntu and PIE compilation 

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

 Reply with quote  
Post Tue Dec 20, 2016 3:39 pm 
 View user's profile Send private message
legluondunet



Joined: 30 Jan 2015
Posts: 29
 

Hello ScummVM dev, someone know how to desactive PIE support when I compile it on Ubuntu?

 Reply with quote  
Post Fri Dec 30, 2016 8:55 am 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 794
 

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-independent_code#Position-independent_executables

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.

 Reply with quote  
Post Sun Jan 01, 2017 2:07 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge