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/dist: linker warnings when compiling misc/cgo tests statically on boringcrypto builder #59422

Closed
gopherbot opened this issue Apr 4, 2023 · 4 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Apr 4, 2023

#!watchflakes
post <- log ~ `warning: Using 'getaddrinfo' in statically linked applications`

Issue created automatically to collect these failures.

Example (log):

/usr/bin/ld: /workdir/tmp/go-link-1495653376/000023.o: in function `bio_ip_and_port_to_socket_and_addr':
(.text+0xcc2f9): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 4, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "misc/cgo/nocgo.test" && test == ""
2023-04-04 07:16 linux-amd64-boringcrypto go@311145cf misc/cgo/nocgo.test [build] (log)
/usr/bin/ld: /workdir/tmp/go-link-1495653376/000023.o: in function `bio_ip_and_port_to_socket_and_addr':
(.text+0xcc2f9): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

watchflakes

@bcmills bcmills changed the title misc/cgo/nocgo.test: unrecognized failures cmd/dist: linker warnings when compiling misc/cgo tests statically Apr 4, 2023
@bcmills bcmills changed the title cmd/dist: linker warnings when compiling misc/cgo tests statically cmd/dist: linker warnings when compiling misc/cgo tests statically on boringcrypto builder Apr 4, 2023
@bcmills
Copy link
Contributor

bcmills commented Apr 4, 2023

This may be related to CL 450017 (attn @aclements @dmitshur)

@bcmills bcmills added this to the Backlog milestone Apr 4, 2023
@ianlancetaylor
Copy link
Contributor

I have a patch.

@gopherbot
Copy link
Author

Change https://go.dev/cl/482315 mentions this issue: cmd/dist: skip static linking tests for linux boringcrypto

@dmitshur dmitshur added Testing An issue that has been verified to require only test changes, not just a test failure. NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 4, 2023
@dmitshur dmitshur modified the milestones: Backlog, Go1.21 Apr 4, 2023
@golang golang locked and limited conversation to collaborators Apr 4, 2024
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. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
Status: Done
Development

No branches or pull requests

4 participants