Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass -fPIC to all deps #348

Open
emaxerrno opened this issue Mar 30, 2019 · 3 comments
Open

pass -fPIC to all deps #348

emaxerrno opened this issue Mar 30, 2019 · 3 comments

Comments

@emaxerrno
Copy link
Collaborator

Just like we did for boost, we need to pass test that we are always building ourselves and deps with -fPIC so we can ship binaries around servers.

@emaxerrno
Copy link
Collaborator Author

/cc @noahdesu

@emaxerrno
Copy link
Collaborator Author

➜  debug git:(master) hardening-check bin/smf_demo_server 
bin/smf_demo_server:
 Position Independent Executable: no, normal executable!
 Stack protected: yes
 Fortify Source functions: no, only unprotected functions found!
 Read-only relocations: yes
 Immediate binding: no, not found!

@emaxerrno
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant