guix_mirror_bot pushed a commit to branch wip-riscv-bootstrap
in repository guix.

commit b14b7fe6d4426335ce42af83c0cc5379b16e6a9f
Author: Efraim Flashner <efr...@flashner.co.il>
AuthorDate: Sun Nov 24 17:00:58 2024 +0200

    gnu: musl-boot0: Fix building on riscv64-linux.
    
    * gnu/packages/commencement.scm (musl-boot0)[arguments]: Add a phase to
    remove a file which tcc can't compile.
    
    Change-Id: Iacf5d2dc6250a312b2181c8bfe749ca68de7f55a
---
 gnu/packages/commencement.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 3d48107f67..9b02759f08 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -980,6 +980,11 @@ MesCC-Tools), and finally M2-Planet.")
                  (("^sigsetjmp:") "1:\tjmp ___setjmp\nsigsetjmp:")
                  ;; And we turn the forward into a backward reference.
                  (("jecxz 1f") "jecxz 1b"))))
+           (add-after 'unpack 'use-fallback-ldso-on-riscv64
+             ;; src/ldso/riscv64/tlsdesc.s:13: error: 'add': Expected second 
source
+             ;; operand that is a register or immediate
+             (lambda _
+               (delete-file "src/ldso/riscv64/tlsdesc.s")))
            ;; We can't use the install script since it doesn't play well with 
gash.
            (replace 'install
              (lambda* (#:key outputs #:allow-other-keys)

Reply via email to