> -----Original Message----- > From: Leopold Toetsch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 04, 2004 5:55 AM > To: [EMAIL PROTECTED] > Subject: Re: [perl #29257] Build libnci.so by default > > > Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote: > > > 'libnci.so' is used for testing the native call interface. > However I > > noticed that the tests in t/pmc/nci.t were skipped, because > > 'libnci.so' wasn't built by default. The attached patch adds that > > library to the target 'all'. > > Thanks, applied. Let's see, which platforms break. > > leo >
amd64 breaks. Shared libraries must be compiled with -fPIC; see http://www.x86-64.org/lists/discuss/msg02621.html for why. LD_SHARED has the flag, but nci_test.o isn't compiled with it. Perhaps there needs to be a CC_SHARED as well? -fPIC isn't desirable where unecessary, so it shouldn't be the default for every Linux, certainly... does this belong in the cpu/ tests?