From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: gcj: Fix build on armhf. Date: Sat, 26 Nov 2016 00:32:02 -0500 Message-ID: <20161126053202.GA16546@jasmine> References: <20161125213515.14677-1-rekado@elephly.net> <20161125213515.14677-2-rekado@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAVar-0005TJ-3t for guix-devel@gnu.org; Sat, 26 Nov 2016 00:32:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAVan-0001WM-Hx for guix-devel@gnu.org; Sat, 26 Nov 2016 00:32:09 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33121) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cAVan-0001W2-A6 for guix-devel@gnu.org; Sat, 26 Nov 2016 00:32:05 -0500 Content-Disposition: inline In-Reply-To: <20161125213515.14677-2-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org On Fri, Nov 25, 2016 at 10:35:15PM +0100, Ricardo Wurmus wrote: > * gnu/packages/patches/gcj-arm-mode.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add patch. > * gnu/packages/gcc.scm (gcj): Add patch. > [arguments]: Delete failing tests. > diff --git a/gnu/packages/patches/gcj-arm-mode.patch b/gnu/packages/patches/gcj-arm-mode.patch > new file mode 100644 > index 0000000..16fdb5e > --- /dev/null > +++ b/gnu/packages/patches/gcj-arm-mode.patch > @@ -0,0 +1,36 @@ > +Taken from > +https://sources.debian.net/data/main/g/gcc-4.9/4.9.2-10/debian/patches/gcj-arm-mode.diff > + > +# DP: For armhf, force arm mode instead of thumb mode > + > +--- a/src/libjava/configure.host > ++++ b/src/libjava/configure.host > +@@ -66,6 +66,9 @@ > + ;; > + esac > + > ++# on armhf force arm mode > ++libgcj_flags="${libgcj_flags} -marm" > ++ Is the patch applied only on armhf machines?