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:
https://bugzilla.redhat.com/show_bug.cgi?id=1100909
--- Comment #1 from Vincent Batts vbatts@redhat.com --- (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?
https://bugzilla.redhat.com/show_bug.cgi?id=1100909
--- Comment #2 from Phil Sorber phil@sorber.net --- It works with 1.2.2-9 now.
ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
Thanks.
https://bugzilla.redhat.com/show_bug.cgi?id=1100909
Vincent Batts vbatts@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2014-08-13 20:56:52
golang@lists.fedoraproject.org