Bionic Porting Errors

Paramesh Oddepally paramesh014 at ...9...
Tue Jan 27 05:44:31 CET 2015


Hello,
         I am trying to port Bionic Libc on to Genode. At time,I'm struck
with the following error that comes when i compiled the library.

/home/paramesh/genode-14.08/mybuild/var/libcache/bionic_libc_x86/bionic_libc_x86.lib.a(syscall.o):
relocation R_X86_64_PC32 against undefined symbol `__set_errno' can not be
used when making a shared object; recompile with -fPIC

>From the above compilation error, I understood that *bionic_libc_x86.lib.a*
is not compiled with* -fPIC* flag enabled(which is needed for Position
Independent code generation by compiler and that is what essentially needed
in Shared LIb buiding(*bionic_libstdc++.lib.so*) that uses the above static
library). So, i assigned *-fPIC* flag to compiler variable *CC_OPT* to
resolve it, but it is not showing the effect.

So, can any one tell me how can I resolve it. Correct me if I'm wrong
somewhere.



-- 
Thanks and Regards,
Paramesh.O
M.Tech.
Department of Computer Science and Engineering
I.I.T. Madras, Chennai, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20150127/4181165d/attachment.html>


More information about the users mailing list