From owner-freebsd-mips@FreeBSD.ORG Tue Feb 4 15:11:15 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2582EFD; Tue, 4 Feb 2014 15:11:15 +0000 (UTC) Received: from mail.lhr1.as41113.net (mail.lhr1.as41113.net [91.208.177.22]) by mx1.freebsd.org (Postfix) with ESMTP id 97DA71726; Tue, 4 Feb 2014 15:11:14 +0000 (UTC) Received: from [172.21.87.41] (unknown [212.9.98.195]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by mail.lhr1.as41113.net (Postfix) with ESMTPSA id 3fJTrB6DXXz7v2m; Tue, 4 Feb 2014 15:11:06 +0000 (UTC) Message-ID: <52F10309.2010407@rewt.org.uk> Date: Tue, 04 Feb 2014 15:11:05 +0000 From: Joe Holden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "freebsd-mips@freebsd.org" Subject: Quagga[-re] on mips64 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 15:11:15 -0000 Hi chaps, On mips64 (at least), the port produces object files instead of executable binaries, building with --disable-pie fixes that... before I raise a PR, does this look good? --- Makefile.orig 2014-02-04 12:52:20.740310244 +0000 +++ Makefile 2014-02-04 15:04:34.719614897 +0000 @@ -61,6 +61,10 @@ ENABLE_GROUP=quagga .endif +.if ${ARCH:Mmips*} +CONFIGURE_ARGS+=--disable-pie +.endif + CONFIGURE_ARGS+=--enable-user=${ENABLE_USER} CONFIGURE_ARGS+=--enable-group=${ENABLE_GROUP} This produces a working build/package for me at least, only thing I'm not sure on is how that will work if mips packages are ever built for installation by pkg and cross-built. Cheers, Joe