Date: Thu, 25 Sep 2014 15:06:10 +0200 From: Pietro Cerutti <gahr@FreeBSD.org> To: Tijl Coosemans <tijl@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: <20140925130610.GI64676@ptrcrt.ch> In-Reply-To: <20140925145326.4b190667@kalimero.tijl.coosemans.org> References: <201409251159.s8PBxlVV030182@svn.freebsd.org> <20140925145326.4b190667@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--SLauP2uySp+9cKYP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2014-Sep-25, 14:53, Tijl Coosemans wrote: > 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/ > >=20 > > Log: > > - Generate position independent code > > - Perhaps this fixes the build on head-amd64-default-ssp > >=20 > > Modified: > > head/net/trickle/Makefile > >=20 > > Modified: head/net/trickle/Makefile > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- 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=3D yes > > =20 > > CONFIGURE_ARGS+=3D--with-libevent=3D${LOCALBASE} \ > > --sysconfdir=3D${PREFIX}/etc > > -CPPFLAGS+=3D -I${LOCALBASE}/include > > +CPPFLAGS+=3D -I${LOCALBASE}/include -fPIC >=20 > 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? >=20 > In the configure output for the SSP build it says: >=20 > checking if cc PIC flag -fPIC works... no >=20 >=20 > 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? --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --SLauP2uySp+9cKYP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUJBNCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQTZERTEwNkE1Qjg1NEI4NUREODZENDlB REQwRDM4RUExOTIwODlFAAoJEK3Q046hkgie0TsQAJX2CoLnfwQk1YELsPgjIOhY 5j+s9w21XAa5e5Ep1gHoeFYdBxD1hdS+CX4VycVph0xoHTyOpm5h8QkZD1Mttsi2 rQIos4IPYwDJCWQV5bXjG+m3iGXs03pFODC5Hi1gWV592ApQfrR7MRV5/IrPtQGy zb52g13MVSAB2g98dB8jyOd0ajNxLDI4wEsu32VzOczWZeaap28xCeM8qNW8EdLE ko1cPqNX86CBVwDpERUhqdYgf56WUqKA/ftjP7iiBQ1401qOfHJLy5knjllwODm3 NAsjDBAudBT2bRE36634P7Psgii6MZF0TPJBag9ETxEQ23+tgL5yVrmLRfHT13ob z1PlBco3llEYpSa875lKK8VBJhbzR3ORIXGSPwnMn43OStGXrewpHl0E/GoYND9q DF8BdMcSofioYW8lphfApqZyBrnlkaFxf41FYhCLX/ftj010T2PRPon+RoKAfih2 H3VCOd2q3+eAVaBMWXwQRoqnu1s83yZIHIolFb0EOrG5fYNjGnHwpkWQZjqco/n+ IHSoayCgWfoKRNJbqySozAFcviGunDjkUZpg1tK5M2S5BGiNa1Tuey4As3boMYdC aukOBPv996oHQ43xYuNiyjiTOuBrtPwP8YRdME89VTTvfumS1y7FfmAyUknQC81y QwvAMjOjO2ZclZPX8CW+ =2RwN -----END PGP SIGNATURE----- --SLauP2uySp+9cKYP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140925130610.GI64676>