[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Test code coverage

From: Ben Reser <breser_at_gmail.com>
Date: Wed, 28 Nov 2012 14:40:49 -0800

On Nov 28, 2012 1:55 PM, "Julian Foad" <julianfoad_at_btopenworld.com> wrote:
>
> I tried this on the Centos buildbot today and ran into another issue: the
Perl bindings build fails at link stage. See <
http://ci.apache.org/builders/svn-x64-centos-gcc/builds/7765/steps/Build/logs/stdio>
or here are the last few lines:
> [[[
> Running Mkbootstrap for SVN::_Core ()
> chmod 644 _Core.bs
> rm -f blib/arch/auto/SVN/_Core/_Core.so
> gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic core.o -o
blib/arch/auto/SVN/_Core/_Core.so -L[...] -l[...]
> /usr/bin/ld:
/home/bt/slaves/x64-centos/build/subversion/libsvn_diff/.libs/libsvn_diff-1.a(deprecated.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making
a shared object; recompile with -fPIC
> ]]]
>
> It looks like the effect of --disable-shared and the two '-f' flags
aren't getting passed along to this link stage.

I'll see what I can do. Perl bindings use the CFLAGs from the perl
install, not ours build system settings.
Received on 2012-11-28 23:41:21 CET

This is an archived mail posted to the Subversion Dev mailing list.