unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Sergei Trofimovich <slyfox@inbox.ru>
Cc: 25799-done@debbugs.gnu.org, Kei Kebreau <kei@openmailbox.org>
Subject: bug#25799: [PATCH] gnu: add basic support for "alpha-linux" system
Date: Thu, 13 Apr 2017 14:50:13 +0200	[thread overview]
Message-ID: <8760i8qxoa.fsf@gnu.org> (raw)
In-Reply-To: <20170412215944.3fa356d1@sf> (Sergei Trofimovich's message of "Wed, 12 Apr 2017 21:59:44 +0100")

Hello!

Sergei Trofimovich <slyfox@inbox.ru> skribis:

> I've heard core-updates were merged to master. Congratulations!

Indeed, thanks for following up!

> From fb53ef5d023624dc06de013d4a135bcec979a4cf Mon Sep 17 00:00:00 2001
> From: Sergei Trofimovich <slyfox@inbox.ru>
> Date: Sun, 19 Feb 2017 19:21:06 +0000
> Subject: [PATCH] gnu: add basic support for "alpha-linux" system
>
> This change allows cross-building packages
> by just using --target=alpha-unknown-linux-gnu re2c:
>
> $ ./pre-inst-env guix build --target=alpha-unknown-linux-gnu re2c
> $ file /gnu/store/p1z9iszzb4ng0vzc535sc2ha33ax24l6-re2c-0.16/bin/re2c
> /gnu/store/p1z9iszzb4ng0vzc535sc2ha33ax24l6-re2c-0.16/bin/re2c: \
>     ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV), dynamically linked, \
>     interpreter /gnu/store/0z5d6z3hh41w7z5g2g82zlnwgpbj0i1a-glibc-cross-alpha-unknown-linux-gnu-2.24/lib/ld-linux.so.2, \
>     for GNU/Linux 3.2.0, not stripped
>
> gcc for alpha uses 'GLIBC_DYNAMIC_LINKER<TAB>"/lib/ld-linux.so.2"'
>
> * gnu/packages/gcc.scm (gcc-4.7): fix GLIBC_DYNAMIC_LINKER substitution when delimiter is a tab
>
> Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>

I tweaked the commit log and pushed to ‘core-updates’.

> From 5d31bb14ce6aaecfaf022616e538470036916cef Mon Sep 17 00:00:00 2001
> From: Sergei Trofimovich <slyfox@inbox.ru>
> Date: Mon, 6 Mar 2017 22:21:43 +0000
> Subject: [PATCH] gnu: libffi: apply alpha build fix
>
> * gnu/packages/patches/libffi-3.2.1-complex_alpha.patch: new file
> * gnu/local.mk (dist_patch_DATA): add patch
> * gnu/packages/libffi.scm (libffi): apply Gentoo patch to fix alpha build

Ditto, and I changed the file name to use a hyphen instead of an
underscore.  :-)

Hopefully cross-compilation to alpha-linux-gnu now works in ‘core-updates’?

Thank you!

Ludo’.

      reply	other threads:[~2017-04-13 12:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170219193158.4060-1-slyfox@inbox.ru>
     [not found] ` <878tojiqpm.fsf@openmailbox.org>
     [not found]   ` <20170307223814.0cb630e3@sf>
     [not found]     ` <87d1dsbo6u.fsf@openmailbox.org>
     [not found]       ` <87shmnn9ct.fsf@gnu.org>
2017-04-12 20:59         ` bug#25799: [PATCH] gnu: add basic support for "alpha-linux" system Sergei Trofimovich
2017-04-13 12:50           ` Ludovic Courtès [this message]

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=8760i8qxoa.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=25799-done@debbugs.gnu.org \
    --cc=kei@openmailbox.org \
    --cc=slyfox@inbox.ru \
    /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).