On 10/01/13 02:54, Anssi Hannula wrote:
I have to strongly disagree with this. - This hides problems in build scripts. Shared libraries should normally be linked with -fPIC on *all* architectures. Not doing this causes some issues, like the library to actually become unshareable across different processes. Since these are allowed in iX86 but not on x86_64, building all objects on x86_64 with -fPIC will hide any "missing -fPIC from build script" issues. Note that there can't be very many problematic failing packages, since we and mdv have managed this far without it. - It is not needed except on shared libraries, and will cause a small performance penalty (due to one less register being available when using relative addressing). (AFAIU it is negligible, but still..)
+1 That's killing flies with a steamroller.