From unknown Sat Jun 14 14:26:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28920 <28920@debbugs.gnu.org> To: bug#28920 <28920@debbugs.gnu.org> Subject: Status: Cross compilation fails Reply-To: bug#28920 <28920@debbugs.gnu.org> Date: Sat, 14 Jun 2025 21:26:21 +0000 retitle 28920 Cross compilation fails reassign 28920 guile submitter 28920 Ben Gamari severity 28920 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 20 20:45:50 2017 Received: (at submit) by debbugs.gnu.org; 21 Oct 2017 00:45:50 +0000 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 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 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 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 ) id 1e5hv2-0002iX-UG for submit@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 ) id 1e5hv0-0001fS-Ss for bug-guile@gnu.org; Fri, 20 Oct 2017 20:45:40 -0400 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 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 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) From: Ben Gamari To: bug-guile@gnu.org Subject: Cross compilation fails Date: Fri, 20 Oct 2017 20:45:24 -0400 Message-ID: <87zi8lnxaz.fsf@ben-laptop.smart-cactus.org> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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" #) 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----- --=-=-=--