cgo is now broken on all architectures
Bug #1436530 reported by
Stéphane Graber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gccgo-5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The latest gccgo upload broke cgo on all architectures.
It used to be working properly on amd64, i386, armhf, arm64 and ppc64el and broken on powerpc.
Now as far as I can tell it's broken on all architectures (tried arm64, ppc64el and powerpc).
https:/
Related branches
Changed in gccgo-5 (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
Note that my test builds are of a rather complex piece of go using cgo, however the exact same result can be tested with this minimal cgo hello world:
package main
/*
printf( "Hello world!\n");
#include <stdio.h>
now
void hello() {
}
*/
import "C"
func main() {
C.hello()
}
I'd very strongly recommend a simple "go run" of the code above be added as a gccgo test so that we'd stop regressing cgo support.