Package Details: hare-git r3759.ea9b3d0e-1

Git Clone URL: https://aur.archlinux.org/hare-git.git (read-only, click to copy)
Package Base: hare-git
Description: The Hare systems programming language
Upstream URL: https://harelang.org
Licenses: MPL2
Conflicts: hare
Provides: hare
Submitter: apreiml
Maintainer: apreiml
Last Packager: apreiml
Votes: 6
Popularity: 0.001492
First Submitted: 2022-04-24 17:34 (UTC)
Last Updated: 2024-03-19 07:24 (UTC)

Dependencies (8)

Required by (31)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

smlavine commented on 2022-10-11 02:23 (UTC)

makepkg is failing right now for me:

HARE    .bin/harec2
ld: unrecognized option '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
ld: use the --help option for usage information
Error: ld: exited with status 1
.bin/hare build: build failed
make: *** [Makefile:74: .bin/harec2] Error 255

But searching for that string (or substrings of it) in either what is left of the build directory or in hare comes up nothing, so I don't know where it comes from.

apreiml commented on 2022-08-29 13:08 (UTC)

No, the main hare package checks out a fixed commit and afaik will point to future releases. hare-git will always checkout latest master.

Techcable commented on 2022-08-29 00:34 (UTC)

How does this currently differ from the main hare package?

They both build the latest git commit (hare has no stable version yet).

whynothugo commented on 2022-07-25 08:02 (UTC)

Latest builds perfectly on aarch64, thanks!

apreiml commented on 2022-07-19 08:20 (UTC)

ok. pushed.

whynothugo commented on 2022-07-19 08:16 (UTC)

Need to use $CARCH, not $arch. For some reason the latter is also x86_64, even on ARM.

apreiml commented on 2022-07-19 08:10 (UTC)

Ah yes of course. Now it's in.

whynothugo commented on 2022-07-19 08:08 (UTC) (edited on 2022-07-19 08:08 (UTC) by whynothugo)

Also missing arch=("x86_64" "aarch64"), forgot to mention that one.

apreiml commented on 2022-07-18 17:38 (UTC)

whynothugo: I just added an aarch64 config file. The correct one should be copied during the build step. Can you try if this works?

whynothugo commented on 2022-07-18 15:14 (UTC) (edited on 2022-07-18 15:19 (UTC) by whynothugo)

Oh, disregard that last message, I figured it out.

For building on aarch64 need to just replace the arch in the config (put this in prepare()):

if [[ "$CARCH" == "aarch64" ]]; then
  sed -i 's/ARCH = x86_64/ARCH = aarch64/' config.x86_64.mk
done

And apply the following to the config (note: this can be applied to the file directly, it won't mess up building the package on amd64.

diff --git a/config.x86_64.mk b/config.x86_64.mk
index 008f0a4..179053a 100644
--- a/config.x86_64.mk
+++ b/config.x86_64.mk
@@ -32,10 +32,10 @@ HARECACHE = .cache
 BINOUT = .bin

 # Cross-compiler toolchains
-AARCH64_AS=aarch64-linux-gnu-as
-AARCH64_AR=aarch64-linux-gnu-ar
-AARCH64_CC=aarch64-linux-gnu-gcc
-AARCH64_LD=aarch64-linux-gnu-ld
+AARCH64_AS=as
+AARCH64_AR=ar
+AARCH64_CC=gcc
+AARCH64_LD=ld

I don't think makepkg and friends support cross-compilation, should that last change should not break anything.