From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ben Gamari Newsgroups: gmane.lisp.guile.bugs Subject: bug#28920: Cross compilation fails Date: Fri, 20 Oct 2017 20:45:24 -0400 Message-ID: <87zi8lnxaz.fsf@ben-laptop.smart-cactus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1508546790 17020 195.159.176.226 (21 Oct 2017 00:46:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Oct 2017 00:46:30 +0000 (UTC) To: 28920@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Oct 21 02:46:17 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hvR-0001TO-1T for guile-bugs@m.gmane.org; Sat, 21 Oct 2017 02:46:05 +0200 Original-Received: from localhost ([::1]:56242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5hvY-0001hQ-J2 for guile-bugs@m.gmane.org; Fri, 20 Oct 2017 20:46:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5hvR-0001hJ-W1 for bug-guile@gnu.org; Fri, 20 Oct 2017 20:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5hvO-0003AO-Q5 for bug-guile@gnu.org; Fri, 20 Oct 2017 20:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5hvO-00039q-LK for bug-guile@gnu.org; Fri, 20 Oct 2017 20:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5hvO-0006LW-ED for bug-guile@gnu.org; Fri, 20 Oct 2017 20:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ben Gamari Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 21 Oct 2017 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28920 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150854675023658 (code B ref -1); Sat, 21 Oct 2017 00:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Oct 2017 00:45:50 +0000 Original-Received: from localhost ([127.0.0.1]:52898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hvB-000698-MU for submit@debbugs.gnu.org; Fri, 20 Oct 2017 20:45:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5hv9-00060R-Pu for submit@debbugs.gnu.org; Fri, 20 Oct 2017 20:45:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5hv3-0002im-25 for submit@debbugs.gnu.org; Fri, 20 Oct 2017 20:45:42 -0400 Original-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 ) id 1e5hv2-0002iX-UG for submit@debbugs.gnu.org; Fri, 20 Oct 2017 20:45:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5hv0-0001fS-Ss for bug-guile@gnu.org; Fri, 20 Oct 2017 20:45:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5hux-0002cH-Il for bug-guile@gnu.org; Fri, 20 Oct 2017 20:45:38 -0400 Original-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 ) id 1e5hux-0002Z8-8X for bug-guile@gnu.org; Fri, 20 Oct 2017 20:45:35 -0400 Original-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@smart-cactus.org) by mail.smart-cactus.org (Postfix) with ESMTPSA id 82AE160122; Sat, 21 Oct 2017 00:45:32 +0000 (UTC) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8856 Archived-At: --=-=-= 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" #) In system/base/compile.scm: 165:4 9 (compile-and-load _ #:from _ #:to _ #:env _ #:opts _ # _) 235:18 8 (read-and-compile # # ?) 183:32 7 (compile-fold (#) (?) ?) In ice-9/eval.scm: 163:9 6 (_ #(#(#) ?)) In ice-9/boot-9.scm: 152:2 5 (with-fluid* _ _ _) In ice-9/eval.scm: 619:8 4 (_ #(#(#(#(#(#(#(#(#(#(#) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In system/base/compile.scm: 255:6 3 (compile _ #:from _ #:to _ #:env _ #:opts _) 183:32 2 (compile-fold _ # ?) In ice-9/eval.scm: 293:34 1 (_ #(#(#) ?)) 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----- --=-=-=--