On 2015/08/07 08:38, Rolf Sommerhalder wrote: > On Thu, Aug 6, 2015 at 5:54 PM, Stuart Henderson <[email protected]> wrote: > > I'll see if I can figure something out. > > I could get go-1.4.1 and also a "backport" of -1.4.2 which got just > tagged for OpenBSD 5.8 to work with the patches to Makefile below. > Note that no MAKE_ENV is set. though.
Ah good, that method looks reasonable. > > I would expect some, as there's definitely code to do runtime detection. > > Indeed, the go binary still includes some SSE instructions that uses > XMM registers, as you indicated probably for detection at run-time. > > Today, I want to do more testing using the gopacket library and its > new bsdbpf extension on the PC Engines ALIX, and on APU too. > > Regarding the Go port, I am unsure what would be the best way to > proceed, e.g. if a flavor with GO386=387 for i386 without SSE would be > justified for example. I don't think a flavour is warranted, i386 packages are meant to run on all supported CPUs so if the runtime detection is insufficient we should just always set this variable.
