svn commit: r369243 - head/net/trickle

Tijl Coosemans tijl at FreeBSD.org
Thu Sep 25 12:53:36 UTC 2014


On Thu, 25 Sep 2014 11:59:47 +0000 (UTC) Pietro Cerutti <gahr at 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?


More information about the svn-ports-head mailing list