smfrpc / smf

Fastest RPC in the west

Home Page:http://smfrpc.github.io/smf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pass -fPIC to all deps

emaxerrno opened this issue · comments

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.

➜  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!