guix-patches
[Top][All Lists]
Advanced

[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: Tue, 07 Mar 2017 18:17:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Sergei Trofimovich <address@hidden> skribis:

> 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

Woow, fun.  :-)

Do you have an Alpha machine to test it on?

> The only slighty nontrivial change is GLIBC_DYNAMIC_LINKER change:
> glibc for alpha uses 'GLIBC_DYNAMIC_LINKER<TAB>"/lib/ld-linux.so.2"'
>
> * gnu/packages/bootstrap.scm (glibc-dynamic-linker): add "/lib/ld-linux.so.2" 
> as "alpha-linux" ld.so
> * gnu/packages/gcc.scm (gcc-4.7): fix GLIBC_DYNAMIC_LINKER substitution when 
> delimiter is a tab
> * gnu/packages/linux.scm (system->linux-architecture): add "alpha" arch

Unfortunately the gcc.scm change triggers a full rebuild so we’ll have
to delay it to ‘core-updates’ (most likely the next cycle).

I’ve applied the patch without this change for now.

Thank you!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]