Navigation Menu

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

misc/cgo/errors: TestPointerChecks broken on solaris-amd64-smartosbuildlet #32205

Closed
bcmills opened this issue May 23, 2019 · 4 comments
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-illumos OS-Solaris release-blocker Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented May 23, 2019

As of CL 177599, TestPointerChecks fails reliably on the smartos builder:

##### ../misc/cgo/errors
--- FAIL: TestPointerChecks (2.18s)
    ptr_test.go:539: go build: exit status 2
        # ptrtest
        /tmp/workdir/go/pkg/tool/solaris_amd64/link: running gcc failed: exit status 1
        Undefined			first referenced
         symbol  			    in file
        __xnet_sendto                       /tmp/workdir/tmp/go-link-958060057/go.o
        accept                              /tmp/workdir/tmp/go-link-958060057/go.o
        setsockopt                          /tmp/workdir/tmp/go-link-958060057/go.o
        recvfrom                            /tmp/workdir/tmp/go-link-958060057/go.o
        __xnet_recvmsg                      /tmp/workdir/tmp/go-link-958060057/go.o
        __xnet_sendmsg                      /tmp/workdir/tmp/go-link-958060057/go.o
        shutdown                            /tmp/workdir/tmp/go-link-958060057/go.o
        ld: fatal: symbol referencing errors. No output written to $WORK/b001/exe/a.out
        collect2: error: ld returned 1 exit status
        
FAIL

(https://build.golang.org/log/1dc2d7bfe054d88ce0f4ea755a48b48e61ef753b)

CC @rsc @ianlancetaylor

@bcmills bcmills added Testing An issue that has been verified to require only test changes, not just a test failure. OS-Solaris NeedsFix The path to resolution is known, but the work has not been done. release-blocker labels May 23, 2019
@bcmills bcmills added this to the Go1.13 milestone May 23, 2019
@bradfitz
Copy link
Contributor

Not surprisingly, it also fails on the new illumos builder:
https://build.golang.org/log/59b1d8fe656b5abe83c722fde44330c76df1e610

@ianlancetaylor
Copy link
Contributor

The test passes on amd64 Solaris 5.11.

@ianlancetaylor
Copy link
Contributor

The program build by TestPointerChecks on Solaris 5.11 does not include any references to accept or any of the other symbols listed as missing above.

@gopherbot
Copy link

Change https://golang.org/cl/183379 mentions this issue: runtime/cgo: on Solaris link against -lxnet

@golang golang locked and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-illumos OS-Solaris release-blocker Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

4 participants