[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25799: [PATCH] gnu: add basic support for "alpha-linux" system
From: |
Ludovic Courtès |
Subject: |
bug#25799: [PATCH] gnu: add basic support for "alpha-linux" system |
Date: |
Thu, 13 Apr 2017 14:50:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello!
Sergei Trofimovich <address@hidden> 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 <address@hidden>
> 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 <address@hidden>
I tweaked the commit log and pushed to ‘core-updates’.
> From 5d31bb14ce6aaecfaf022616e538470036916cef Mon Sep 17 00:00:00 2001
> From: Sergei Trofimovich <address@hidden>
> 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’.