Index | Thread | Search

From:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
Subject:
Unbreak lang/hare/hare on riscv64
To:
Lorenz <me@xha.li>
Cc:
ports@openbsd.org
Date:
Thu, 7 Mar 2024 19:49:06 +0100

Download raw body.

Thread
Hi,

I suspect the behavior is different on riscv64 because of the version
difference between devel/binutils and devel/gas, but I'm not sure
about it.  Anyway the trivial diff below fixes the build for the next
release.

No REVISION bump needed.


Index: patches/patch-debug_+riscv64_getfp_s
===================================================================
RCS file: patches/patch-debug_+riscv64_getfp_s
diff -N patches/patch-debug_+riscv64_getfp_s
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-debug_+riscv64_getfp_s	7 Mar 2024 17:56:37 -0000
@@ -0,0 +1,13 @@
+/local/pobj/hare-0.24.0/hare-0.24.0/debug/+riscv64/getfp.s: Assembler messages:
+/local/pobj/hare-0.24.0/hare-0.24.0/debug/+riscv64/getfp.s:1: Error: junk at end of line, first unrecognized character is `/'
+/local/pobj/hare-0.24.0/hare-0.24.0/debug/+riscv64/getfp.s:2: Error: junk at end of line, first unrecognized character is `/'
+
+Index: debug/+riscv64/getfp.s
+--- debug/+riscv64/getfp.s.orig
++++ debug/+riscv64/getfp.s
+@@ -1,5 +1,3 @@
+-// SPDX-License-Identifier: MPL-2.0
+-// (c) Hare authors <https://harelang.org>
+ 
+ .section ".text.debug.getfp","ax"
+ .global debug.getfp

-- 
jca