Skip to content

cmd/go: sort _cgo_gotypes.go output #3707

@sethwklein

Description

@sethwklein
What steps will reproduce the problem?

Use "go build" to repeatedly try to build http://play.golang.org/p/MZRbtdYCyh

This requires ncurses.

To see the problem, you MUST run it MULTIPLE times.


What is the expected output?

It either always build or always fails.


What do you see instead?

Sometimes it builds. Sometimes it fails with error "invalid receiver type
*Window".


Which compiler are you using (5g, 6g, 8g, gccgo)?

6g and 8g.


Which operating system are you using?

Linux (Gentoo) 32 bit and 64.


Which version are you using?  (run 'go version')

go version go1
and
go version weekly.2012-03-27 +b86e13a16723


Please provide any additional information below.

Reports from IRC include:

zeebo was unable to reproduce on OS X.

mkb218 reported that sometimes it succeeded without creating the .a.


I (the reporter of this issue) noticed differences in the order of items in
/tmp/go-build*/command-line-arguments/_obj/_cgo_gotypes.go between builds that worked
and those that failed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions