[maemo-developers] n800 - most libraries compiled witout -fPIC, intentional?

From: Frantisek Dufka dufkaf at seznam.cz
Date: Wed Apr 18 11:13:12 EEST 2007

I tried prelink on latest N800 firmware and it looks like most 
libraries (gtk,dbus,SDL,..) are not compiled with -fPIC. I see "Cannot 
prelink against non-PIC shared library" error message for most libraries.

Is this a bug or is there a reason? In previous version it was just 
libSDL, now it is almost everything.

Is this some sort of optimization? It may not matter much when using the 
maemo-invoker but it may cause higher memory consumption and slower 
dynamic linking for normal cases.


More information about the maemo-developers mailing list