all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: "Carlos Sánchez de La Lama" <csanchezdll@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: PowerPC & GNU/Hurd cross-compilation
Date: Sat, 21 Jan 2017 22:54:11 +0100	[thread overview]
Message-ID: <8760l8jczg.fsf@gnu.org> (raw)
In-Reply-To: <87d1fgjech.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 21 Jan 2017 22:24:46 +0100")

ludo@gnu.org (Ludovic Courtès) skribis:

> $ file $(./pre-inst-env guix build -q --target=powerpc-linux-gnu guile )/bin/guile
> The following files will be downloaded:
>    /gnu/store/4cmc36jhjj2qq7z5pd0n9fw48dfq1cr7-guile-2.0.13-debug
>    /gnu/store/h153jzzqiz10xc3yh4r2w7lkrm5pbx88-guile-2.0.13
>    /gnu/store/253hrca11y3cjh2f83dcjaxiv9a2j5m3-gmp-6.1.2
>    /gnu/store/29iq9axvllgdrf6y6zfqz111icmy3pdj-libgc-7.6.0
>    /gnu/store/911r5chr83yi6xivavndgb6mcvn71qv1-libunistring-0.9.7
>    /gnu/store/hkhffl6c6iap2igbbcap2vqbcgh7xkjv-gcc-cross-sans-libc-powerpc-linux-gnu-5.4.0
>    /gnu/store/k2j02w9q58h6i07y1fixvcdq8jply68i-gcc-cross-powerpc-linux-gnu-5.4.0
>    /gnu/store/naqawviclvwzixvcjc17c3sss7zj9k1w-readline-7.0
>    /gnu/store/qivxbbn03scn5wn932ky8mm5xap5zn93-glibc-cross-powerpc-linux-gnu-2.24
>    /gnu/store/rqb8p9f13mfha1xkkjwf7wfjvzv34xlk-libltdl-2.4.6
>    /gnu/store/z1qain73n3475p6sdb2ignwyalckvgnx-libffi-3.2.1
>    /gnu/store/4dazcdvnbgvhdvi5aj17ci07mz1xwzvq-bash-4.4.5
>    /gnu/store/6fzzsp453p3n5axcnl0rddjf1yw9309m-ncurses-6.0
>    /gnu/store/r7dbj8y4nf024phn8sd2v4206y71mk8q-pkg-config-powerpc-linux-gnu-0.29
>    /gnu/store/rbhdn0wkbgb69w17f1fhridw81msam8v-libatomic-ops-7.4.4

With QEMU:

--8<---------------cut here---------------start------------->8---
$ qemu-ppc /gnu/store/4dazcdvnbgvhdvi5aj17ci07mz1xwzvq-bash-4.4.5/bin/bash --version
GNU bash, version 4.4.5(1)-release (powerpc-unknown-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ qemu-ppc /gnu/store/h153jzzqiz10xc3yh4r2w7lkrm5pbx88-guile-2.0.13/bin/guile -q --version
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
--8<---------------cut here---------------end--------------->8---

Carlos, could you check whether the cross-compiled Guile works on a real
PowerPC machine?  I suspect ‘qemu-ppc’ doesn’t emulate everything libgc
relies on.

Ludo’.

  reply	other threads:[~2017-01-21 21:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21 21:24 PowerPC & GNU/Hurd cross-compilation Ludovic Courtès
2017-01-21 21:54 ` Ludovic Courtès [this message]
2017-01-30 11:33   ` Carlos Sánchez de La Lama
2017-01-30 14:43     ` Ludovic Courtès
2017-01-21 22:30 ` Leo Famulari
2017-01-22 19:47   ` Kei Kebreau
2017-01-22 12:15 ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=8760l8jczg.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=csanchezdll@gmail.com \
    --cc=guix-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.