GNU bug report logs - #28920
Cross compilation fails

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Ben Gamari <ben@HIDDEN>; dated Sat, 21 Oct 2017 00:46:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Oct 2017 00:45:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 20 20:45:50 2017
Received: from localhost ([127.0.0.1]:52898 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e5hvB-000698-MU
	for submit <at> debbugs.gnu.org; Fri, 20 Oct 2017 20:45:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38520)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ben@HIDDEN>) id 1e5hv9-00060R-Pu
 for submit <at> debbugs.gnu.org; Fri, 20 Oct 2017 20:45:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ben@HIDDEN>) id 1e5hv3-0002im-25
 for submit <at> debbugs.gnu.org; Fri, 20 Oct 2017 20:45:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:49834)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ben@HIDDEN>)
 id 1e5hv2-0002iX-UG
 for submit <at> debbugs.gnu.org; Fri, 20 Oct 2017 20:45:40 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57717)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ben@HIDDEN>) id 1e5hv0-0001fS-Ss
 for bug-guile@HIDDEN; Fri, 20 Oct 2017 20:45:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ben@HIDDEN>) id 1e5hux-0002cH-Il
 for bug-guile@HIDDEN; Fri, 20 Oct 2017 20:45:38 -0400
Received: from turtle.smart-cactus.org ([163.172.166.228]:39970
 helo=mail.smart-cactus.org)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ben@HIDDEN>)
 id 1e5hux-0002Z8-8X
 for bug-guile@HIDDEN; Fri, 20 Oct 2017 20:45:35 -0400
Received: from localhost.localdomain (c-71-235-10-50.hsd1.nh.comcast.net
 [71.235.10.50])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: ben@HIDDEN)
 by mail.smart-cactus.org (Postfix) with ESMTPSA id 82AE160122;
 Sat, 21 Oct 2017 00:45:32 +0000 (UTC)
From: Ben Gamari <ben@HIDDEN>
To: bug-guile@HIDDEN
Subject: Cross compilation fails
Date: Fri, 20 Oct 2017 20:45:24 -0400
Message-ID: <87zi8lnxaz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

--=-=-=
Content-Type: text/plain


While attempting to cross-compile guile for Linux on ARM from Linux on
amd64 I'm seeing the following error,

$ ./configure --disable-static --disable-dependency-tracking --build=x86_64-unknown-linux-gnu --host=arm-unknown-linux-gnueabihf --target=arm-unknown-linux-gnueabihf GUILE_FOR_BUILD=/nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/bin/guile CC_FOR_BUILD=gcc
$ make -j16
...
make[2]: Entering directory '/home/ben/block-eng/guile-2.2.0/module'
  GUILEC language/elisp/boot.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/spec.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/spec.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/compile-tree-il.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/compile-tree-il.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/bindings.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/bindings.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/srfi/srfi-8.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/srfi/srfi-8.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/runtime.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/runtime.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/parser.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/parser.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/lexer.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/lexer.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/ice-9/binary-ports.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/ice-9/binary-ports.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/value/spec.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/value/spec.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/tree-il/spec.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/tree-il/spec.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/tree-il/compile-cps.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/tree-il/compile-cps.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/tree-il/analyze.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/tree-il/analyze.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/spec.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/spec.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/compile-bytecode.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/compile-bytecode.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/slot-allocation.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/slot-allocation.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/closure-conversion.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/closure-conversion.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/handle-interrupts.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/handle-interrupts.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/reify-primitives.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/reify-primitives.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/cps/split-rec.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/cps/split-rec.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/system/vm/assembler.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/system/vm/assembler.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/system/vm/linker.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/system/vm/linker.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/bytecode/spec.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/bytecode/spec.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/runtime/function-slot.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/runtime/function-slot.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/language/elisp/runtime/value-slot.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/language/elisp/runtime/value-slot.go
Backtrace:
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/system/repl/debug.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/system/repl/debug.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/system/vm/frame.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/system/vm/frame.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/system/vm/disassembler.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/system/vm/disassembler.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/ice-9/rdelim.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/ice-9/rdelim.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/ice-9/pretty-print.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/ice-9/pretty-print.go
;;; note: source file /home/ben/block-eng/guile-2.2.0/module/system/vm/inspect.scm
;;;       newer than compiled /nix/store/3a8vr1p51dnpz3rdpiq5kccl4cima9xs-guile-2.2.0/lib/guile/2.2/ccache/system/vm/inspect.go
In scripts/compile.scm:
   251:26 19 (_ _)
In system/base/target.scm:
     57:6 18 (with-target _ _)
In system/base/compile.scm:
   139:28 17 (compile-file "language/elisp/boot.el" #:output-file _ # ?)
In system/base/language.scm:
   110:30 16 (default-environment _)
    62:11 15 (lookup-language elisp)
In ice-9/boot-9.scm:
  2711:10 14 (_ (language elisp spec) _ _ #:ensure _)
  2979:16 13 (try-module-autoload _ _)
   2309:4 12 (save-module-excursion _)
  2999:22 11 (_)
In unknown file:
          10 (primitive-load-path "language/elisp/spec" #<procedure ?>)
In system/base/compile.scm:
    165:4  9 (compile-and-load _ #:from _ #:to _ #:env _ #:opts _ # _)
   235:18  8 (read-and-compile #<input: language/elisp/boot.el 14> # ?)
   183:32  7 (compile-fold (#<procedure compile-tree-il (a b c)>) (?) ?)
In ice-9/eval.scm:
    163:9  6 (_ #(#(#<directory (language elisp compile-tree-il)?>) ?))
In ice-9/boot-9.scm:
    152:2  5 (with-fluid* _ _ _)
In ice-9/eval.scm:
    619:8  4 (_ #(#(#(#(#(#(#(#(#(#(#<di?>) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In system/base/compile.scm:
    255:6  3 (compile _ #:from _ #:to _ #:env _ #:opts _)
   183:32  2 (compile-fold _ #<tree-il (seq (call (@ (language elis?> ?)
In ice-9/eval.scm:
   293:34  1 (_ #(#(#<directory (language bytecode spec) 31665a0>) ?))
In unknown file:
           0 (load-thunk-from-memory #vu8(127 69 76 70 1 1 1 255 0 ?))

ERROR: In procedure load-thunk-from-memory:
ERROR: In procedure load-thunk-from-memory: ELF file does not have native word size
Makefile:2263: recipe for target 'language/elisp/boot.go' failed
make[2]: *** [language/elisp/boot.go] Error 1

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEmwpsh4C13+CdDZRjcVB86Evun78FAlnqmKQACgkQcVB86Evu
n79MwggAkaCDHCso/8ieaLGpcO4EHAJTE/u+1dFB9inaKparskCIK+oy6vv549uZ
GMyt4NlQIO151B3CEqzWfa62RkN7gMmmq0ynzZI6DICmXElGXuGqFaXA5scvR/Wp
3MWCK+EYQ4RbJpp0hZqbyobt//SJbqWasxqB0WNvs25hWxYcY/qgHxbOeIiWaCQj
2lgpd6YvTKjdcgMiM7yXvsAO2xu0vrs8nMHAgiN83gYzGY6HsujaNALDHseOl6ph
4b9BkgtMATjmwTSs3TlM89xbM0ErB/Rz2xtedfewFYAljWMkxgvB9A/Je/kkIuKq
UYB0+3LAUC9migJE1pMYw56pVXFUdQ==
=vn88
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Ben Gamari <ben@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#28920; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.