Skip to content

cmd/go: go install -race std fails with clang trunk #7340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fsouza opened this issue Feb 16, 2014 · 2 comments
Closed

cmd/go: go install -race std fails with clang trunk #7340

fsouza opened this issue Feb 16, 2014 · 2 comments

Comments

@fsouza
Copy link
Contributor

fsouza commented Feb 16, 2014

After building go with clang from trunk (with some warnings, see issue #7339), it's not
possible to build the standard library for race detection:

% go install -race std
# sync
/Users/f/lib/go/src/pkg/sync/pool.go:122: internal error: (*Pool).putSlow autotmp_0022
(type []interface {}) recorded as live on entry
# strconv
/Users/f/lib/go/src/pkg/strconv/atob.go:30: internal error: AppendBool autotmp_0006
(type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/ftoa.go:54: internal error: genericFtoa autotmp_0285
(type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/ftoa.go:436: internal error: fmtB autotmp_0449 (type
[]byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/itoa.go:62: internal error: formatBits autotmp_0470
(type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:13: internal error: quoteWith autotmp_0691
(type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:13: internal error: quoteWith autotmp_0702
(type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:96: internal error: AppendQuote autotmp_0742
(type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:109: internal error: AppendQuoteToASCII
autotmp_0757 (type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:123: internal error: AppendQuoteRune
autotmp_0772 (type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:138: internal error: AppendQuoteRuneToASCII
autotmp_0787 (type []byte) recorded as live on entry
/Users/f/lib/go/src/pkg/strconv/quote.go:138: too many errors
@minux
Copy link
Member

minux commented Feb 16, 2014

Comment 1:

race detector is broken on tip.

Status changed to Duplicate.

Merged into issue #7334.

@fsouza
Copy link
Contributor Author

fsouza commented Feb 17, 2014

Comment 2:

Ops, sorry. I thought it was something with clang and didn't search for the issue.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants