FAQ
Any ideas? I suspect I may have ended up in a weird state.

$ go get github.com/lib/pq
# runtime
/usr/lib/go/src/pkg/runtime/mgc0.c:463 function args not checked: PREFETCH
# runtime
/usr/lib/go/src/pkg/runtime/runtime.c:159 function args not checked:
PREFETCH
# runtime
/usr/lib/go/src/pkg/runtime/asm_386.s:26 syntax error, last name: CPUID
/usr/lib/go/src/pkg/runtime/asm_386.s:30 syntax error, last name: CPUID
/usr/lib/go/src/pkg/runtime/asm_386.s:57 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:66 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:68 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:133 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:145 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:159 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:175 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:192 syntax error, last name: GS
/usr/lib/go/src/pkg/runtime/asm_386.s:200 syntax error, last name: GS
too many errors

$ go env
GOROOT="/usr/lib/go"
GOBIN=""
GOARCH="386"
GOCHAR="8"
GOOS="linux"
GOEXE=""
GOHOSTARCH="386"
GOHOSTOS="linux"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_386"
GOGCCFLAGS="-g -O2 -fPIC -m32 -pthread"
CGO_ENABLED="1"

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dave Cheney at Jul 2, 2013 at 4:54 am
    Something is wrong with your go install on your machine. I suspect you
    have two versions installed, one from a dpkg installed in /usr/lib,
    the other from source or a tarball, the `go` tool from this install is
    first in your path.
    On Tue, Jul 2, 2013 at 3:36 AM, wrote:
    Any ideas? I suspect I may have ended up in a weird state.

    $ go get github.com/lib/pq
    # runtime
    /usr/lib/go/src/pkg/runtime/mgc0.c:463 function args not checked: PREFETCH
    # runtime
    /usr/lib/go/src/pkg/runtime/runtime.c:159 function args not checked:
    PREFETCH
    # runtime
    /usr/lib/go/src/pkg/runtime/asm_386.s:26 syntax error, last name: CPUID
    /usr/lib/go/src/pkg/runtime/asm_386.s:30 syntax error, last name: CPUID
    /usr/lib/go/src/pkg/runtime/asm_386.s:57 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:66 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:68 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:133 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:145 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:159 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:175 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:192 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:200 syntax error, last name: GS
    too many errors

    $ go env
    GOROOT="/usr/lib/go"
    GOBIN=""
    GOARCH="386"
    GOCHAR="8"
    GOOS="linux"
    GOEXE=""
    GOHOSTARCH="386"
    GOHOSTOS="linux"
    GOTOOLDIR="/usr/lib/go/pkg/tool/linux_386"
    GOGCCFLAGS="-g -O2 -fPIC -m32 -pthread"
    CGO_ENABLED="1"

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Christopher Van Arsdale at Jul 3, 2013 at 1:27 am
    Yep, I believe that was it. Thanks!

    - Chris
    On Mon, Jul 1, 2013 at 9:52 PM, Dave Cheney wrote:

    Something is wrong with your go install on your machine. I suspect you
    have two versions installed, one from a dpkg installed in /usr/lib,
    the other from source or a tarball, the `go` tool from this install is
    first in your path.
    On Tue, Jul 2, 2013 at 3:36 AM, wrote:
    Any ideas? I suspect I may have ended up in a weird state.

    $ go get github.com/lib/pq
    # runtime
    /usr/lib/go/src/pkg/runtime/mgc0.c:463 function args not checked: PREFETCH
    # runtime
    /usr/lib/go/src/pkg/runtime/runtime.c:159 function args not checked:
    PREFETCH
    # runtime
    /usr/lib/go/src/pkg/runtime/asm_386.s:26 syntax error, last name: CPUID
    /usr/lib/go/src/pkg/runtime/asm_386.s:30 syntax error, last name: CPUID
    /usr/lib/go/src/pkg/runtime/asm_386.s:57 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:66 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:68 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:133 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:145 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:159 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:175 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:192 syntax error, last name: GS
    /usr/lib/go/src/pkg/runtime/asm_386.s:200 syntax error, last name: GS
    too many errors

    $ go env
    GOROOT="/usr/lib/go"
    GOBIN=""
    GOARCH="386"
    GOCHAR="8"
    GOOS="linux"
    GOEXE=""
    GOHOSTARCH="386"
    GOHOSTOS="linux"
    GOTOOLDIR="/usr/lib/go/pkg/tool/linux_386"
    GOGCCFLAGS="-g -O2 -fPIC -m32 -pthread"
    CGO_ENABLED="1"

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJul 2, '13 at 4:49a
activeJul 3, '13 at 1:27a
posts3
users2
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase