Stuart, many thanks for your reply, assertions and suggestions!
On Wed, Aug 5, 2015 at 4:04 PM, Stuart Henderson <[email protected]> wrote:
> ... can you try setting
> GO386=387 in your environment to disable the cpuid autodetection and see
> if it still does the same?
The problem persists even after adding this environment variable.
However, from [1, 2, 3] I understand, that I need to rebuild the
entire tool-chain, not only re-run the binary from the existing
package.
Thus, I will now re-build the entire package with this option, re-try,
and report the outcome...
> 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.
Indeed, it works fine on another i386 machine that has SSE2/3 :-)
$ dmesg
OpenBSD 5.7 (GENERIC) #738: Sun Mar 8 10:59:31 MDT 2015
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error 80<clock_battery>
cpu0: Intel(R) Core(TM)2 Solo CPU U3500 @ 1.40GHz ("GenuineIntel"
686-class) 1.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,LAHF,PERF
real mem = 3147714560 (3001MB)
avail mem = 3083931648 (2941MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 08/10/10, SMBIOS rev. 2.6 @ 0xe8180 (28 entries)
bios0: vendor Acer version "V1.28" date 08/10/2010
bios0: Acer Aspire 3810T
...
$ go env
GOARCH="386"
GOBIN=""
GOCHAR="8"
GOEXE=""
GOHOSTARCH="386"
GOHOSTOS="openbsd"
GOOS="openbsd"
GOPATH="/home/rs/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/openbsd_386"
CC="cc"
GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0"
CXX="c++"
CGO_ENABLED="1"
[1] go1.1beta2 app - illegal instruction on LX800 processor Alix Board
https://groups.google.com/forum/#!msg/golang-nuts/v4MYW6sDrRo/nLP8YpiObLUJ
[2] code.google.com go 386 binaries now requiring SSE2?
https://groups.google.com/forum/#!topic/golang-nuts/NsROxh3Dc6M
[3] 386 woes
https://groups.google.com/forum/#!msg/golang-dev/oPOvRr7JU2Y/DAn2jwS38E8J