https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #9 from Ian Lance Taylor ---
It could be due to PR 65417, yes.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #8 from Stéphane Graber ---
Mathias suggested this may be #65417 but I'm not familiar enough with gccgo and
cgo to know whether that's the case or not.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #7 from Stéphane Graber ---
So with the cherry-picked fix, I get:
(vivid-powerpc-sbuild)root@winton-06:~# cat test.go
package main
/*
#include
now
void hello() {
printf("Hello world!\n");
}
*/
import "C"
func main() {
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
Ian Lance Taylor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #5 from ian at gcc dot gnu.org ---
Author: ian
Date: Thu Mar 12 16:41:28 2015
New Revision: 221396
URL: https://gcc.gnu.org/viewcvs?rev=221396&root=gcc&view=rev
Log:
PR go/65404
go/build: cgo works on linux/pcc.
Modified:
tr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #4 from Ian Lance Taylor ---
OK, found it. Thanks. Will send patch shortly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
Stéphane Graber changed:
What|Removed |Added
CC||stgraber at stgraber dot org
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #2 from Matthias Klose ---
see http://paste.ubuntu.com/10586128/
afaics it is both running the go tool from GCC 5. no other go tool is
installed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #1 from Ian Lance Taylor ---
There is nothing in the cgo tool which would cause this error.
When the command runs "go", which go tool is actually running? The difference
may be that on platforms other than powerpc-linux-gnu it is ru