https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #7 from Stéphane Graber stgraber at stgraber dot org ---
So with the cherry-picked fix, I get:
(vivid-powerpc-sbuild)root@winton-06:~# cat test.go
package main
/*
#include stdio.h
now
void hello() {
printf(Hello world!\n);
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #8 from Stéphane Graber stgraber at stgraber dot org ---
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 #9 from Ian Lance Taylor ian at airs dot com ---
It could be due to PR 65417, yes.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #1 from Ian Lance Taylor ian at airs dot com ---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #2 from Matthias Klose doko at gcc dot gnu.org ---
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
Stéphane Graber stgraber at stgraber dot org changed:
What|Removed |Added
CC||stgraber
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
Ian Lance Taylor ian at airs dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #5 from ian at gcc dot gnu.org 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=221396root=gccview=rev
Log:
PR go/65404
go/build: cgo works on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65404
--- Comment #4 from Ian Lance Taylor ian at airs dot com ---
OK, found it. Thanks. Will send patch shortly.