https://bugzilla.redhat.com/show_bug.cgi?id=1100909
Bug ID: 1100909 Summary: golang arm cross compile fails complaining about 5g Product: Fedora Version: 20 Component: golang Severity: medium Assignee: vbatts@redhat.com Reporter: phil@sorber.net QA Contact: extras-qa@fedoraproject.org CC: adam@spicenitz.org, admiller@redhat.com, golang@lists.fedoraproject.org, lemenkov@gmail.com, lsm5@redhat.com, renich@woralelandia.com, s@shk.io, vbatts@redhat.com
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: