Skip to content
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

cmd/go: test.bash failing at tip #8809

Closed
adg opened this issue Sep 25, 2014 · 8 comments
Closed

cmd/go: test.bash failing at tip #8809

adg opened this issue Sep 25, 2014 · 8 comments
Milestone

Comments

@adg
Copy link
Contributor

adg commented Sep 25, 2014

Running src/cmd/go/test.bash in a clean repo at 65257d85e669:

TEST: ldflags arguments with spaces (issue #3941)
ldflags -X main.extern 'hello world' failed. Output:
# command-line-arguments
missing Go type information for global symbol: main.extern size 16
FAIL
@bradfitz
Copy link
Contributor

Comment 1:

Not enough information. Which operating system?
build.golang.org looks okay.

@adg
Copy link
Contributor Author

adg commented Sep 26, 2014

Comment 2:

darwin-amd64, fresh checkout, I don't think all.bash runs src/cmd/go/test.bash.

@davecheney
Copy link
Contributor

Comment 3:

It does not, I think there is an issue in the 7,000 to fix this

@rsc
Copy link
Contributor

rsc commented Sep 26, 2014

Comment 4:

This one is fixed. There are other failing tests though.

@gopherbot
Copy link

Comment 5 by dave@davec.name:

I'm not 100% sure this is the same root cause, but it does look related.  Please let me
know if a separate issue is preferred.  Go tip is failing when using
code.google.com/p/go.crypto/poly1305 with missing type information:
$ go build
# tippoly1305fail
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.ALPHA130 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.ALPHA32 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.ALPHA64 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.ALPHA96 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.DOFFSET0 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.DOFFSET1 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.DOFFSET2 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.DOFFSET3 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.DOFFSET3MINUSTWO128 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.HOFFSET0 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.HOFFSET1 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.HOFFSET2 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.HOFFSET3 size 8
missing Go type information for global symbol:
code.google.com/p/go.crypto/poly1305.SCALE size 8
Here is some minimal code which causes the failure:
package main
import (
    "code.google.com/p/go.crypto/poly1305"
)
func main() {
    var out [16]byte
    m := []byte("test")
    key := [32]byte{
        0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
        0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
        0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
        0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
    }
    poly1305.Sum(&out, m, &key)
}

@rsc
Copy link
Contributor

rsc commented Oct 28, 2014

Comment 6:

Please don't add new comments to this bug about anything other than test.bash failing.
I don't see how #5 is related at all. Please file a different issue for that.

@rsc
Copy link
Contributor

rsc commented Oct 28, 2014

Comment 7:

Labels changed: added release-go1.5, removed release-go1.4.

@adg adg assigned rsc Oct 28, 2014
@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014
@rsc rsc removed accepted labels Apr 14, 2015
@gopherbot
Copy link

CL https://golang.org/cl/9150 mentions this issue.

@rsc rsc closed this as completed in c345f7f Jun 3, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc removed their assignment Jun 23, 2022
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

5 participants