paypal / gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.13k stars 284 forks source link

Assembler error when getting/installing on linux/amd64 #41

Open tuncerulfer opened 9 years ago

tuncerulfer commented 9 years ago

$ go get github.com/paypal/gatt

# github.com/paypal/gatt/linux/socket
../../.go/src/github.com/paypal/gatt/linux/socket/asm.s: Assembler messages:
../../.go/src/github.com/paypal/gatt/linux/socket/asm.s:7: Error: no such instruction: `text ·use(SB),NOSPLIT,$0'

$ go version

go version go1.4.2 gccgo (GCC) 5.1.0 linux/amd64

$ go env

GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/tuncer/.go"
GORACE=""
GOROOT="/usr"
GOTOOLDIR="/usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0"
CC="/usr/bin/gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="/usr/bin/g++"
CGO_ENABLED="1"

$ uname -r

4.0.5-1-ARCH

$ cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping        : 9
microcode       : 0x19
cpu MHz         : 2394.668
cache size      : 6144 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl pni monitor ssse3 lahf_lm
bugs            :
bogomips        : 4791.89
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: