Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558742 - dev-lang/go-1.5 fails to build on ARM: unknown GOARM for armv7a-hardfloat-linux-gnueabi
Summary: dev-lang/go-1.5 fails to build on ARM: unknown GOARM for armv7a-hardfloat-lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 17:11 UTC by Stefan Junker
Modified: 2015-09-08 20:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Junker 2015-08-25 17:11:53 UTC
Building on armv7a-hardfloat-linux-gnueabi fails with an unkown GOARM.


Looks like the ebuild's goarm() function misses the wildcard character in the case values. Should look more like this:

go_arm()
{
        case "${1:-${CHOST}}" in
                armv5*)  echo 5;;
                armv6*)  echo 6;;
                armv7*)  echo 7;;
                *)
                        die "unknown GOARM for ${1:-${CHOST}}"
                        ;;
        esac
}


Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2015-09-08 20:26:17 UTC
This should now be fixed. Please re-emerge go-1.5 and re-open this bug
if you still have issues.

Thanks for the report. :-)

William