unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / Atom feed
* Working Guix on 64 bit PowerPC.
@ 2020-11-10 19:56 Tobias Platen
  2020-11-10 20:54 ` Efraim Flashner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tobias Platen @ 2020-11-10 19:56 UTC (permalink / raw)
  To: efraim; +Cc: guix-devel

Hello,

I've got the wip-ppc branch of Guix compiling unmodified on my Talos II.
Since the POWER9 is backwards compatible with the PowerPC G4, it can run
the existing bootstrap binaries for powerpc-linux. The binaries from
http://flashner.co.il/guix/bootstrap/powerpc-linux/ have been verified
working on my Talos II. I also plan to setup a mirror of those binaries.

[user@staticvoid guix]$ arch
ppc64
[user@staticvoid guix]$ ps -A | grep guix
 1104 pts/1    00:00:00 guix-daemon
[user@staticvoid guix]$ ./pre-inst-env guix build hello
guix build: error: could not find bootstrap binary 'tar' for system 'powerpc64-linux'
[user@staticvoid guix]$ cat /proc/cpuinfo 
processor	: 0
cpu		: POWER9, altivec supported
clock		: 2154.000000MHz
revision	: 2.2 (pvr 004e 1202)

-- 
Tobias Platen <guix@platen-software.de>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Working Guix on 64 bit PowerPC.
  2020-11-10 19:56 Working Guix on 64 bit PowerPC Tobias Platen
@ 2020-11-10 20:54 ` Efraim Flashner
  2020-11-12 20:56 ` Ludovic Courtès
  2020-11-15 12:39 ` Efraim Flashner
  2 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2020-11-10 20:54 UTC (permalink / raw)
  To: Tobias Platen; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On Tue, Nov 10, 2020 at 08:56:21PM +0100, Tobias Platen wrote:
> Hello,
> 
> I've got the wip-ppc branch of Guix compiling unmodified on my Talos II.
> Since the POWER9 is backwards compatible with the PowerPC G4, it can run
> the existing bootstrap binaries for powerpc-linux. The binaries from
> http://flashner.co.il/guix/bootstrap/powerpc-linux/ have been verified
> working on my Talos II. I also plan to setup a mirror of those binaries.
> 
> [user@staticvoid guix]$ arch
> ppc64
> [user@staticvoid guix]$ ps -A | grep guix
>  1104 pts/1    00:00:00 guix-daemon
> [user@staticvoid guix]$ ./pre-inst-env guix build hello
> guix build: error: could not find bootstrap binary 'tar' for system 'powerpc64-linux'
> [user@staticvoid guix]$ cat /proc/cpuinfo 
> processor	: 0
> cpu		: POWER9, altivec supported
> clock		: 2154.000000MHz
> revision	: 2.2 (pvr 004e 1202)
> 

I found that once I rebased on core-updates it stopped building as
nicely. I don't remember where the failure was, but it was somewhere in
commencement.scm.

I am really glad to hear that it worked :)

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Working Guix on 64 bit PowerPC.
  2020-11-10 19:56 Working Guix on 64 bit PowerPC Tobias Platen
  2020-11-10 20:54 ` Efraim Flashner
@ 2020-11-12 20:56 ` Ludovic Courtès
  2020-11-15 12:39 ` Efraim Flashner
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-11-12 20:56 UTC (permalink / raw)
  To: Tobias Platen; +Cc: guix-devel

Hi,

Tobias Platen <guix@platen-software.de> skribis:

> I've got the wip-ppc branch of Guix compiling unmodified on my Talos II.
> Since the POWER9 is backwards compatible with the PowerPC G4, it can run
> the existing bootstrap binaries for powerpc-linux. The binaries from
> http://flashner.co.il/guix/bootstrap/powerpc-linux/ have been verified
> working on my Talos II. I also plan to setup a mirror of those binaries.
>
> [user@staticvoid guix]$ arch
> ppc64
> [user@staticvoid guix]$ ps -A | grep guix
>  1104 pts/1    00:00:00 guix-daemon
> [user@staticvoid guix]$ ./pre-inst-env guix build hello
> guix build: error: could not find bootstrap binary 'tar' for system 'powerpc64-linux'

To address that, you can hack ‘bootstrap-executable’ in
gnu/packages/bootstrap.scm so that it uses “powerpc-linux” when it’s on
“powerpc64-linux” (similar to what’s done for x86_64-linux).

HTH!

Ludo’.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Working Guix on 64 bit PowerPC.
  2020-11-10 19:56 Working Guix on 64 bit PowerPC Tobias Platen
  2020-11-10 20:54 ` Efraim Flashner
  2020-11-12 20:56 ` Ludovic Courtès
@ 2020-11-15 12:39 ` Efraim Flashner
  2 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2020-11-15 12:39 UTC (permalink / raw)
  To: Tobias Platen; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

On Tue, Nov 10, 2020 at 08:56:21PM +0100, Tobias Platen wrote:
> Hello,
> 
> I've got the wip-ppc branch of Guix compiling unmodified on my Talos II.
> Since the POWER9 is backwards compatible with the PowerPC G4, it can run
> the existing bootstrap binaries for powerpc-linux. The binaries from
> http://flashner.co.il/guix/bootstrap/powerpc-linux/ have been verified
> working on my Talos II. I also plan to setup a mirror of those binaries.
> 
> [user@staticvoid guix]$ arch
> ppc64
> [user@staticvoid guix]$ ps -A | grep guix
>  1104 pts/1    00:00:00 guix-daemon
> [user@staticvoid guix]$ ./pre-inst-env guix build hello
> guix build: error: could not find bootstrap binary 'tar' for system 'powerpc64-linux'
> [user@staticvoid guix]$ cat /proc/cpuinfo 
> processor	: 0
> cpu		: POWER9, altivec supported
> clock		: 2154.000000MHz
> revision	: 2.2 (pvr 004e 1202)
> 

In the mean time you could use './pre-inst-env guix build
--system=powerpc-linux hello'. I'm especially interested if you can
build guile-final since I get some Segfault while compiling
ice-9/boot-9.go.

./pre-inst-env guix build --system=powerpc-linux -e '(@@ (gnu packages
commencement) guile-final)'

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-15 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 19:56 Working Guix on 64 bit PowerPC Tobias Platen
2020-11-10 20:54 ` Efraim Flashner
2020-11-12 20:56 ` Ludovic Courtès
2020-11-15 12:39 ` Efraim Flashner

unofficial mirror of guix-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git