| Summary: | [Patch] lang/go add GOARM=7 when system has multiple CPUs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Fukang Chen <loader> | ||||
| Component: | Individual Port(s) | Assignee: | Julien Laffaye <jlaffaye> | ||||
| Status: | Closed Overcome By Events | ||||||
| Severity: | Affects Only Me | CC: | florian.heigl, loader | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(jlaffaye) |
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221297 | ||||||
| Attachments: |
|
||||||
|
Description
Fukang Chen
2016-01-03 06:35:52 UTC
Well, it is supposed to do the right thing(tm): https://github.com/golang/go/wiki/GoArm Are you cross-compiling ? I'm running poudriere on a Banana Pi, it has a SATA port, so I just compile the ports there. Not sure if it has to be GOARM=7, it runs fine on my FreeBSD armv6 boards. it just checks for the number of CPUs while compiling https://github.com/golang/go/blob/master/src/runtime/os_freebsd_arm.go#L11 I guess it would be the same message on Raspberry Pi 2. Thanks, Same issue on stock raspberrypi2 when i tried to build sysutils/freebsd-docker. This is not an endorsement of docker ;) Tested patch with lang/go and lang/go14 Works well though I had to manually apply it for whatever reason. Probably just did something wrong. |