Description of problem: After new 1.2.2-2 rpms for golang were updated, I attempted to cross compile a hello world for arm and it failed complaining about lack of 5g. Following packages installed: golang-1.2.2-2.fc20.x86_64 golang-pkg-bin-linux-amd64-1.2.2-2.fc20.x86_64 golang-pkg-linux-arm-1.2.2-2.fc20.noarch golang-src-1.2.2-2.fc20.noarch golang-pkg-linux-amd64-1.2.2-2.fc20.noarch $ GOOS=linux GOARCH=arm go build hello.go go tool: no such tool "5g" Version-Release number of selected component (if applicable): 1.2.2-2 How reproducible: Easy. Steps to Reproduce: 1. Install golang including the golang-pkg-linux-arm-1.2.2-2.fc20.noarch package 2. Attempt to build a hello world program with GOARCH=arm 3. Actual results: Error message: go tool: no such tool "5g" Expected results: A shiny new arm binary. Additional info:
(In reply to Phil Sorber from comment #0) > Description of problem: > After new 1.2.2-2 rpms for golang were updated, I attempted to cross compile > a hello world for arm and it failed complaining about lack of 5g. > > Following packages installed: > golang-1.2.2-2.fc20.x86_64 > golang-pkg-bin-linux-amd64-1.2.2-2.fc20.x86_64 > golang-pkg-linux-arm-1.2.2-2.fc20.noarch > golang-src-1.2.2-2.fc20.noarch > golang-pkg-linux-amd64-1.2.2-2.fc20.noarch > > $ GOOS=linux GOARCH=arm go build hello.go > go tool: no such tool "5g" > > Version-Release number of selected component (if applicable): > 1.2.2-2 Can you try this again with package version 1.2.2-7?
It works with 1.2.2-9 now. ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped Thanks.