genodelabs/genode — Issue #79: Hardening wrapper in Linux
Author: myrkr
Created: 2012-01-10 14:06:13+00:00
State: open

The compilation of the genode framework fails on linux in x86_64 environment if the hardening wrapper is enabled.

Initial error message is:

/usr/bin/ld: main.o: relocation R_X86_64_32S against `vtable for Genode::Dataspace' can not be used when making a shared object; recompile with -fPIC
main.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [init] Error 1

A potential fix can be found in commit https://github.com/myrkr/genode/commit/13600e4a6ec53361c910c762e2af7b7ed0b5d722