unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: gcj: Fix build on armhf.
Date: Sat, 26 Nov 2016 00:32:02 -0500	[thread overview]
Message-ID: <20161126053202.GA16546@jasmine> (raw)
In-Reply-To: <20161125213515.14677-2-rekado@elephly.net>

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?

  reply	other threads:[~2016-11-26  5:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-25 21:35 [PATCH] Fix GCJ on armhf Ricardo Wurmus
2016-11-25 21:35 ` [PATCH] gnu: gcj: Fix build " Ricardo Wurmus
2016-11-26  5:32   ` Leo Famulari [this message]
2016-11-26 17:30     ` Ricardo Wurmus
2016-11-26 17:47       ` Leo Famulari
2016-11-27  9:30 ` [PATCH] Fix GCJ " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161126053202.GA16546@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).