Wednesday, July 31, 2024

Re: Build www/gotosocial on aarch64

On 2024/07/31 16:32, Stuart Henderson wrote:
> Ok with you, Hukadan?
>
> https://marc.info/?l=openbsd-ports&m=172226686214725&w=2

tb@ pointed out that this breaks with go-1.23rc2:

# github.com/superseriousbusiness/gotosocial/cmd/gotosocial
link: codeberg.org/gruf/go-fastcopy: invalid reference to io.errInvalidWrite

This can be worked around with the following snippet:

# disable https://go.dev/doc/go1.23#linker to unbreak with go-1.23rc2.
# remove either if codeberg.org/gruf/go-fastcopy is fixed, or "existing
# usages of //go:linkname found in a large open-source code corpus
# remain supported" is extended.
MODGO_LDFLAGS += -checklinkname=0

That part can't be committed before go-1.23, and I doubt it would be
needed for long, gotosocial is actively developed.

No comments:

Post a Comment