diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-24 17:00:58 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-07-28 10:00:00 +0300 |
| commit | b14b7fe6d4426335ce42af83c0cc5379b16e6a9f (patch) | |
| tree | ef532e324cb4a2cbcc5afe6fbc38909057a7a873 /gnu | |
| parent | 1e7828f98670603961f74479e3fed0f10b4ea654 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/commencement.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 3d48107f670..9b02759f08a 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -980,6 +980,11 @@ MesCC-Tools), and finally M2-Planet.") | |||
| 980 | (("^sigsetjmp:") "1:\tjmp ___setjmp\nsigsetjmp:") | 980 | (("^sigsetjmp:") "1:\tjmp ___setjmp\nsigsetjmp:") |
| 981 | ;; And we turn the forward into a backward reference. | 981 | ;; And we turn the forward into a backward reference. |
| 982 | (("jecxz 1f") "jecxz 1b")))) | 982 | (("jecxz 1f") "jecxz 1b")))) |
| 983 | (add-after 'unpack 'use-fallback-ldso-on-riscv64 | ||
| 984 | ;; src/ldso/riscv64/tlsdesc.s:13: error: 'add': Expected second source | ||
| 985 | ;; operand that is a register or immediate | ||
| 986 | (lambda _ | ||
| 987 | (delete-file "src/ldso/riscv64/tlsdesc.s"))) | ||
| 983 | ;; We can't use the install script since it doesn't play well with gash. | 988 | ;; We can't use the install script since it doesn't play well with gash. |
| 984 | (replace 'install | 989 | (replace 'install |
| 985 | (lambda* (#:key outputs #:allow-other-keys) | 990 | (lambda* (#:key outputs #:allow-other-keys) |
