svn commit: r369243 - head/net/trickle
Pietro Cerutti
gahr at FreeBSD.org
Thu Sep 25 13:06:14 UTC 2014
On 2014-Sep-25, 14:53, Tijl Coosemans wrote:
> 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.
Is this a problem?
>
> 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?
No, I don't have the working directory myself. Anyway, it looks like it
fails to link because -fPIC wasn't specified, not that it fails to
compile because of the -fPIC flag. Or am I missing something?
--
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20140925/cd6e0daf/attachment.sig>
More information about the svn-ports-head
mailing list