bug#39817: Using cross compiled .go from amd64 to powerpc64 segfaults

Chris Marusich <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <[email protected]>
Chris Marusich <[email protected]> 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
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl7KKL4ACgkQ3UCaFdgi
Rp0M/RAAuojCytTVRLn+iwrV9F1S73w3dNE2t8F66nTeurGyv8RsF5o/j5Y2uXMv
3r1Kp+zbGDAajc2id2PXAx9Lz3elRpaaFHpJyfkkgUnMfO6SX091cwsourY+xUIJ
+jO5vKGzOC256TKoUZFhvDQuIgS69aelRDZJVsAKgmkj5lxVRSt6yY2csdCyYSOh
nqXBeKt094uYbbuoPOZ7arLnGT6Z20LEbnbO6xMeYaePWO24YVzLRoOlcrsP3cYe
NqM6LEdvNREoV8Cjv3iB0CykvKUsm+8lov1FX2vOA+zC6h+cy+yqmxvO0LiUW0b6
WuWSADfNagVgsirJwaKpKQKP0Pz9ZwTKu8dR6dDQU7qUCc7sfY5waJ7MFfJIqafT
QwcMRm23U5MLP+5vMsv9UE8nEUrzQNkj71t8SsDF7nJaGPMad+bNePOMm1ZROqd6
mweDNCfJ+c+6t0WgmvP+ztvUGgawB10k2A/XnNq/krD11M/Pb5uuiLB+waGUDVFE
ZPdTiWBBrxsSkkouW2y0cBpZ3Ug91ruc1luGkD7g46DxhnZvc5RoJrRWZt9osyox
BnyNnj1wZD0EoMbIfQ0HppapepErDewAabomgdosI1via0+O3WCHFfpmFykRlxPH
vwrcU2+lmg2WXBvDS5GBIykjNB0wgcWD7tlmoc1bg/gdYxfB8Jw=
=3Bd3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.