title: undefined C type 'int' with gcc 9.1.0 on solaric
body: <p>I built gcc 9.1.0 on Solaris 11 (SPARC) from sources (GNU). The build went well and CGO free Go code can be compiled and works.</p>
  
  <p>With CGO code the gccgo build does not compile.
  go code referencing any C standard type like C.int returns an error:</p>
  
  <pre class="lang-sh prettyprint-override"><code>sh&gt; go build ./...
  ./main.go:18:2: call of non-function C.f
  ./main.go:18:6: invalid conversion to C.int: undefined C type 'int'
  </code></pre>
  
  <p>Here is the simple example code which does not build.</p>
  
  <pre class="lang-golang prettyprint-override"><code>package main
  
  /*
  #include &lt;stdio.h&gt;
  
  void f(int i) {
    fprintf(stdout,"INT: %d\n",i);
  }
  */
  import "C"
  
  import (
          "fmt"
  )
  
  func main() {
          // Simple C function call.
          C.f(C.int(1))
          fmt.Println("ABC")
  }
  </code></pre>
  
  <p>On other platforms the C type is referenced correctly. Does I have missed an compiler flag during gcc compile?</p>
  
  <p><code>configure</code> of gcc is called using:</p>
  
  <pre class="lang-sh prettyprint-override"><code>../configure --prefix=&lt;path&gt;/gcc-solaris-9.1.0 --enable-languages=c,c++,go,objc,lto
  </code></pre>
  
  <p>Does anyone has a hint how to build gccgo on Solaris SPARC correctly?
  Is there an header include file dependency missing, which is on Solaris needed?</p>