From owner-svn-ports-all@FreeBSD.ORG Thu Sep 25 12:53:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 322D753A; Thu, 25 Sep 2014 12:53:36 +0000 (UTC) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by mx1.freebsd.org (Postfix) with ESMTP id 52F62989; Thu, 25 Sep 2014 12:53:34 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgGAIMPJFRbsISZ/2dsb2JhbABggw5TTQrKaodOAoEGFwF7hAQBAQQ6HCMQCw4GBAklDyoeBhOIQgEIwlABF49rMweESwEElhqHCIFjk3SDZTsvgkoBAQE Received: from 153.132-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.132.153]) by relay.skynet.be with ESMTP; 25 Sep 2014 14:53:27 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s8PCrQfA004113; Thu, 25 Sep 2014 14:53:26 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Thu, 25 Sep 2014 14:53:26 +0200 From: Tijl Coosemans To: Pietro Cerutti 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 12:53:36 -0000 On Thu, 25 Sep 2014 11:59:47 +0000 (UTC) Pietro Cerutti 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?