unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: dftxbs3e <dftxbs3e@free.fr>
Cc: 39817@debbugs.gnu.org
Subject: bug#39817: Using cross compiled .go from amd64 to powerpc64 segfaults
Date: Sun, 24 May 2020 00:56:46 -0700	[thread overview]
Message-ID: <874ks5sr41.fsf@gmail.com> (raw)
In-Reply-To: <87r1vd6a2s.fsf@gmail.com> (Chris Marusich's message of "Thu, 21 May 2020 00:06:35 -0700")

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

Chris Marusich <cmmarusich@gmail.com> writes:

> What was the architecture of the system on which you ran the command
> "guix build --target=powerpc64-linux-gnu bootstrap-tarballs"?  That may
> help me reproduce the issue.

I realize that the answer to my question was in the subject of your bug
report.  You said you built these on an amd64 system.  That's the same
architecture as my system.

I think I was able to reproduce the bug.  First, like you suggested, I
built Guix using commit f47e761a10675b05b07107035d5024618267a3ad (from
your repo).  Then I ran:

  guix build --target=powerpc64-linux-gnu bootstrap-tarballs

I found guile-static-stripped-2.2.6-powerpc64-linux-gnu.tar.xz in the
output of that build.  I extracted it and used qemu-ppc64 to run it,
which produced a segfault:

--8<---------------cut here---------------start------------->8---
$ /gnu/store/dilkq36pawdqh050gd09d1incskpqjj7-qemu-5.0.0/bin/qemu-ppc64 bin/guile 
guile: warning: failed to install locale
Segmentation fault (core dumped)
--8<---------------cut here---------------end--------------->8---

I wonder if this is the same segfault you're seeing?

I had to use QEMU because I don't have a powerpc64 system.  Maybe this
will enable me to debug further, even though I don't have any powerpc64
hardware.  I will keep investigating.

-- 
Chris

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

  reply	other threads:[~2020-05-24  7:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28  1:07 bug#39817: Using cross compiled .go from amd64 to powerpc64 segfaults dftxbs3e
2020-05-21  7:06 ` Chris Marusich
2020-05-24  7:56   ` Chris Marusich [this message]
2020-06-02  0:55     ` Chris Marusich

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=874ks5sr41.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=39817@debbugs.gnu.org \
    --cc=dftxbs3e@free.fr \
    /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.
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).