Comments (12)
I believe you need to set PIE=1, not PIC=1
from mupen64plus-ui-console.
Is it worth adding the PIE=1 bit to the main documentation? It doesn't build on Arch Linux without adding this which confused me for a good few hours (considering that it complains about PIC and not PIE).
from mupen64plus-ui-console.
Yeah I noticed it's required in the latest Ubuntu as well, it might be worth it to make it the default
from mupen64plus-ui-console.
Are people seeing the build errors with x86/amd64 machines as well, or is this only on ARM cpus?
from mupen64plus-ui-console.
I had this on Ubuntu x64
from mupen64plus-ui-console.
This kind of sucks. The PIE option is used for hardening executables against certain types of vulnerabilities. I don't think it's really necessary for mupen64plus. I don't know why the distro or compiler would change default options to make this required for all executables; it seems like this would cause a lot of grief. It would be a good idea to add something to the README file or other documentation to warn people about this, but I would not want to make the PIE=1 option the default yet.
from mupen64plus-ui-console.
Yeah it seems like Ubuntu did it starting in 16.10:
https://lists.ubuntu.com/archives/snapcraft/2017-February/003339.html
I'm not sure why it seems to be forced, but I definitely ran into this issue in x64 Ubuntu
from mupen64plus-ui-console.
Also:
https://wiki.ubuntu.com/SecurityTeam/PIE
from mupen64plus-ui-console.
Sorry for the triple post maybe https://github.com/mupen64plus/mupen64plus-ui-console/blob/master/projects/unix/Makefile#L87 just needs to be changed to no-pie
is it case sensitive?
from mupen64plus-ui-console.
it looks to me like GCC is supposed to support both -no-pie and -no-PIE. Can somebody with ubuntu 16.10 test, to see if changing the case resolves this?
from mupen64plus-ui-console.
I tried on Ubuntu 17.04, I had to add -no-pie to the linker flags. It worked and I submitted a PR: #36
But then Travis failed. I guess -no-pie is only available on later GCC versions?
from mupen64plus-ui-console.
I have GCC 5.4.0, and it does accept the "--no-pie" option, but not "-no-pie"
from mupen64plus-ui-console.
Related Issues (20)
- SDL1.2 internal state is not initialized before calling SDL_ functions HOT 9
- Custom config folder with --configdir doesn't include save folder HOT 3
- Unable to install mupen64plus on BananaPi (ARM) HOT 1
- Setting position of window (...+%d+%d) HOT 2
- Screenshots not all taked from command line HOT 3
- --savestates doesnt work with Dynamic Recompiler HOT 4
- Fails to build under windows HOT 6
- Missing definitions of m64p_media_loader and M64CMD_SET_MEDIA_LOADER HOT 2
- COREDIR and PLUGINDIR should default to a value derived from PREFIX HOT 5
- 2.5.9: Missing config API change HOT 1
- Screen disappears when focus lost during fullscreen
- Build error after #61 merged HOT 3
- gcc9 build failure HOT 5
- Fails to build with mingw64 due to usage of "PIE" option on system without explicit PIE HOT 12
- Wrong special characters are used HOT 4
- How to view osSyncPrints? HOT 2
- mupen64plus don't show the list of roms
- Unrecognized UI-Console commands HOT 7
- High Dpi awareness HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mupen64plus-ui-console.