Build fails with gccgo: can't export outputHandler

Bug #1115932 reported by Jeroen T. Vermeulen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
goyaml
New
Undecided
Unassigned

Bug Description

I tried to build goyaml with gcc, but it fails:

    $ go build -compiler gccgo
cannot export unexported function outputHandler with gccgo

Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Still getting the error with goyaml r43 and gccgo 4:4.7.3-1ubuntu10.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Still failing with gccgo-4.8. I set up a Raring machine, ran "add-apt-repository ppa:ubuntu-toolchain-r/test", softlinked /usr/bin/gccgo to /usr/bin/gccgo-4.8, then tried to build with "go build -compiler gccgo launchpad.net/goyaml".

This was the only way I could think to do it, since I had no regular gccgo in my path and "go" did not accept "-compiler gccgo-4.8".

The only apparent change is that the C build warnings during "go get launchpad.net/yaml" are in gcc 4.8's friendlier format.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This works now for me on trusty, although tests fail. Will file another bug about that...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.