Date: Thu, 25 Sep 2014 14:53:26 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: Pietro Cerutti <gahr@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r369243 - head/net/trickle Message-ID: <20140925145326.4b190667@kalimero.tijl.coosemans.org> In-Reply-To: <201409251159.s8PBxlVV030182@svn.freebsd.org> References: <201409251159.s8PBxlVV030182@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Sep 2014 11:59:47 +0000 (UTC) Pietro Cerutti <gahr@FreeBSD.org> wrote: > Author: gahr > Date: Thu Sep 25 11:59:46 2014 > New Revision: 369243 > URL: http://svnweb.freebsd.org/changeset/ports/369243 > QAT: https://qat.redports.org/buildarchive/r369243/ > > Log: > - Generate position independent code > - Perhaps this fixes the build on head-amd64-default-ssp > > Modified: > head/net/trickle/Makefile > > Modified: head/net/trickle/Makefile > ============================================================================== > --- head/net/trickle/Makefile Thu Sep 25 11:35:43 2014 (r369242) > +++ head/net/trickle/Makefile Thu Sep 25 11:59:46 2014 (r369243) > @@ -22,7 +22,7 @@ MAKE_JOBS_UNSAFE= yes > > CONFIGURE_ARGS+=--with-libevent=${LOCALBASE} \ > --sysconfdir=${PREFIX}/etc > -CPPFLAGS+= -I${LOCALBASE}/include > +CPPFLAGS+= -I${LOCALBASE}/include -fPIC The problem with adding -fPIC like that is that it causes everything to be compiled with it, including executables and static libraries while normally only shared libraries need it. In the configure output for the SSP build it says: checking if cc PIC flag -fPIC works... no Can you check config.log to see why this test fails?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140925145326.4b190667>