Open ghost opened 8 years ago
@mdu4rt3 I managed to install go1.4 successfully by setting env CGO_ENABLED=0
.
Setting CGO_ENABLED didn't work for me, I had to install 1.4 from binaries instead to be able to compile a later version, like 1.7:
gvm install go1.4 --binary
+1
I got the same issue
$ uname -a
Linux hkg-ubuntu-01 4.4.0-51-generic #72-Ubuntu SMP Thu Nov 24 18:29:54 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Same issue attempting to install go1.4 and go1.9.2 using gvm 1.0.22 inUbuntu 16.04.3 within Windows 10 Subsystem for Linux (Windows10 Home 1709)
me too
+1
me to
cmd/pprof
/home/redacted/.gvm/gos/go1.4/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? /home/redacted/.gvm/gos/go1.4/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? runtime/cgo(.text): unexpected relocation type 298 runtime/cgo(.text): unexpected relocation type 298
cmd/go
/home/redacted/.gvm/gos/go1.4/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? /home/redacted/.gvm/gos/go1.4/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? runtime/cgo(.text): unexpected relocation type 298 runtime/cgo(.text): unexpected relocation type 298