On 2015/08/05 13:41, Rolf Sommerhalder wrote:
> While the Go 1.4.1 package works fine on OpenBSD 5.7 amd64 (Lenovo
> X230 laptop), it fails with i386 (PCengines ALIX with Geode
> processor), see output below.

Go has cpuid autodetection at runtime which seems to be correct to
me, but just in case there's a problem with that, can you try setting
GO386=387 in your environment to disable the cpuid autodetection and see
if it still does the same?

> I have put my user into the staff login class, and increased ulimits,

These won't affect "illegal instruction".

> Googling reveals some PRs regarding run-time error at Go load-time due
> to missing instructions on some i386 processors:
>   https://code.google.com/p/go/issues/detail?id=4798
>   https://github.com/golang/go/issues/4798
> 
> Fixes #4798, 14 Feb 2013
> cmd/8c: disable use of prefetch with GO386=387
>  https://github.com/golang/go/commit/594360cb1b31a99a349ba03294f5459aff0bc33d
> 
> Can anyone confirm that this package should indeed work on i386 as
> well, or if there is some more knobs to turn (dis-/enable options in
> the BIOS or kernel, etc) that I have missed?

I occasionally run the regression test suite on i386 and amd64 and those
usually come up OK, however I wouldn't normally do that on a non-SSE2
machine.

Reply via email to