Re: [PATCH] Introduce Git.pm (v3)
From: Eric W. Biederman <hidden>
Date: 2016-06-15 22:42:30
Junio C Hamano [off-list ref] writes:
Petr Baudis [off-list ref] writes:quoted
Also, is there any real problem with just using -fPIC?Personally, not really, but I consider it a workaround having to compile with -fPIC (being able to compile with -fPIC is a feature). Doesn't it have performance implications to use -fPIC when you do not have to? By the way, you also need to adjust the testsuite so that it finds the Perl modules from freshly built tree before installing. I think (but haven't checked yet) the stuff written in Python does that already, so you might want to mimic it.
So what was being compiled was a shared Git.so. 32bit x86 is on of the few architectures that allows you to build a .so without compiling with -fPIC. The question is why are we building with a .so? Eric