Details
Description
Gold linker complains about using -pie without -fPIC:
/usr/bin/ld: local/mesos_local-main.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
local/mesos_local-main.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: cli/mesos-mesos.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
cli/mesos-mesos.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:5208: recipe for target 'mesos-local' failed
make[2]: *** [mesos-local] Error 1
make[2]: *** Waiting for unfinished jobs....
/Makefile:5131: recipe for target 'mesos' failed
make[2]: *** [mesos] Error 1
usr/bin/ld: log/mesos_log-main.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
log/mesos_log-main.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status