Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 07:45:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210612] lang/go go-1.6.1,1 package requires SSE2
Message-ID:  <bug-210612-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 210612
           Summary: lang/go go-1.6.1,1 package requires SSE2
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jlaffaye@FreeBSD.org
          Reporter: peterj@FreeBSD.org
             Flags: maintainer-feedback?(jlaffaye@FreeBSD.org)
          Assignee: jlaffaye@FreeBSD.org

Attempting to run 'go' from the go-1.6.1,1 package results in an illegal
instruction trap on my Pentium-3.

$ go help
Illegal instruction (core dumped)
$ gdb /usr/local/bin/go go.core
GNU gdb 6.1.1 [FreeBSD]
...
#0  0x080ef18d in runtime.check () at /usr/local/go/src/runtime/runtime1.go=
:153
153                     j, j1 float64
[New Thread 29003080 (LWP 100106/<unknown>)]
(gdb) info regi
eax            0x8704260        141574752
ecx            0x8703d00        141573376
edx            0x8703d00        141573376
ebx            0x8109880        135305344
esp            0xbfbfebe8       0xbfbfebe8
ebp            0x8703d00        0x8703d00
esi            0xbfbfecc8       -1077941048
edi            0x0      0
eip            0x80ef18d        0x80ef18d
eflags         0x210286 2163334
cs             0x33     51
ss             0x3b     59
ds             0x3b     59
es             0x3b     59
fs             0x3b     59
gs             0x3b     59
Current language:  auto; currently minimal
(gdb) disas $eip
Dump of assembler code for function runtime.check:
0x080ef160 <runtime.check+0>:   mov    %gs:0xfffffffc,%ecx
0x080ef167 <runtime.check+7>:   cmp    0x8(%ecx),%esp
0x080ef16a <runtime.check+10>:  jbe    0x80ef69a <runtime.check+1338>
0x080ef170 <runtime.check+16>:  sub    $0x44,%esp
0x080ef173 <runtime.check+19>:  movl   $0x0,0x28(%esp)
0x080ef17b <runtime.check+27>:  xorps  %xmm0,%xmm0
0x080ef17e <runtime.check+30>:  movss  %xmm0,0x24(%esp)
0x080ef184 <runtime.check+36>:  movss  %xmm0,0x20(%esp)
0x080ef18a <runtime.check+42>:  xorps  %xmm0,%xmm0
0x080ef18d <runtime.check+45>:  movsd  %xmm0,0x34(%esp)
0x080ef193 <runtime.check+51>:  movsd  %xmm0,0x2c(%esp)
...

"movsd" is a SSE2 instruction but my CPU only supports SSE:
CPU: Intel Pentium III (646.84-MHz 686-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x681  Family=3D0x6  Model=3D0x8  Stepping=
=3D1
=20
Features=3D0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CM=
OV,PAT,PSE36,PN,MMX,FXSR,SSE>

--=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-210612-13>