~sircmpwn/hare-users

2 2

`hare-ev` failed to run Alpine linux?

Details
Message ID
<CADC8Pp4j0c+sAM_VG2JNfqN=h-8_zCQKvJdzy6Nhbkp=PtA4xg@mail.gmail.com>
Sender timestamp
1736598741
DKIM signature
pass
Download raw message
Just gave it a try with `hare-ev`, but it fails to run the example.

My Alpine VM: Linux my-alpine 6.12.1-0-lts #1-Alpine SMP
PREEMPT_DYNAMIC 2024-11-25 16:25:11 x86_64 Linux

```bash
/home/wison/temp/hare-ev/cmd/tcpserv 
HAREPATH=./src:/usr/local/src/hare/stdlib:/usr/local/src/hare/third-party
hare run main.ha
# 0/7 tasks completed (0%)
# Assertion failed: (final->storage == STORAGE_STRUCT &&
final->struct_union.packed) || type->size == SIZE_UNDEFINED ||
type->size == 0 || type->size % type->align == 0 (src/qtype.c:
aggregate_lookup: 148)
#
# harec for ev (/usr/local/src/hare/third-party/ev) exited with signal SIGABRT


/home/wison/temp/hare-ev/cmd/timer 
HAREPATH=./src:/usr/local/src/hare/stdlib:/usr/local/src/hare/third-party
hare run ./main.ha
# 135/142 tasks completed (95%)
# Assertion failed: (final->storage == STORAGE_STRUCT &&
final->struct_union.packed) || type->size == SIZE_UNDEFINED ||
type->size == 0 || type->size % type->align == 0 (src/qtype.c:
aggregate_lookup: 148)
#
# harec for ev (/usr/local/src/hare/third-party/ev) exited with signal SIGABRT
```
Details
Message ID
<D6YSPCD7H8NS.2W0RELA9TTQBJ@turminal.net>
In-Reply-To
<CADC8Pp4j0c+sAM_VG2JNfqN=h-8_zCQKvJdzy6Nhbkp=PtA4xg@mail.gmail.com> (view parent)
Sender timestamp
1736556716
DKIM signature
pass
Download raw message
You need to update your hare compiler. There was a brief period before harec
version 880d0539bc3bef2f4346209cf57e30b0462d7c4e when hare-ev was broken on
amd64.
Details
Message ID
<CADC8Pp4_yAcKC1i5Y9wf8AZtGdnMys=ONfZt1t8YHdoBmXfe6w@mail.gmail.com>
In-Reply-To
<D6YSPCD7H8NS.2W0RELA9TTQBJ@turminal.net> (view parent)
Sender timestamp
1736599324
DKIM signature
pass
Download raw message
Yup, done, it works now, many thanks;)

On Sat, Jan 11, 2025 at 12:36 PM Bor Grošelj Simić <bgs@turminal.net> wrote:
>
> You need to update your hare compiler. There was a brief period before harec
> version 880d0539bc3bef2f4346209cf57e30b0462d7c4e when hare-ev was broken on
> amd64.
Reply to thread Export thread (mbox)