Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2019 11:09:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 221297] lang/go: Fix arm build
Message-ID:  <bug-221297-7788-uj3tBtxdsn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221297-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221297-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221297

--- Comment #23 from Yuval Pavel Zholkover <paulzhol@gmail.com> ---
(In reply to Dmitri Goutnik from comment #21)

proper VFP detection is merged in Go 1.12
(https://github.com/golang/go/commit/2e8c31b3d2afce1c1c7b0c6af9cc4a9f296af2=
99)
but it relies on the AT_HWCAP ELF auxiliary vector tag which is not availab=
le
in FreeBSD 10.3 still officially supported by Go 1.12.

It would be best if the Go packages for FreeBSD 11.2/12.0 would also carry =
this
patch:
https://github.com/golang/go/commit/3b6216ed0601c81fe42c2a4738d419afccb62163

As for poudriere builds on amd64, if I read
https://wiki.freebsd.org/QemuUserModeHowTo correctly:

  "For 32-bit targets (i.e. armv6) use an 32-bit host (i.e. i386) or compat=
-32.
It may be possible to emulate 32-bit targets on a 64-bit host in the future=
 but
currently that is not possible."

The qemu-user-static needs to be built as an i386 binary so it would trigger
COMPAT_FREEBSD32 syscalls.
I'm not familiar with qemu-sbruno, unfortunately.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221297-7788-uj3tBtxdsn>