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

Cherry pick PR #3930: Exclude unsupported getaddrinfo flags #3984

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

Refer to the original PR: #3930

The failing test was actually not intended for Android because Android is not a modular build and getaddrinfo does not go through abi wrapper translation. And the test failed because Android uses bionic libc and is not fully posix-compliant. I took a look at the flag usage across all of Cobalt's dependencies and did not see usage of most flags except for AI_ADDRCONFIG which does still work on Android. So we exclude the unused flags from test for non-modular build here.

b/357161000

Change-Id: I62c935e6792f10bdc80ba9ecfcebae69a011a60f

The failing test was actually not intended for Android because Android
is not a modular build and `getaddrinfo` does not go through abi wrapper
translation. And the test failed because Android uses bionic libc and is
not fully posix-compliant. I took a look at the flag usage across all of
Cobalt's dependencies and did not see usage of most flags except for
`AI_ADDRCONFIG` which does still work on Android. So we exclude the
unused flags from test for non-modular build here.

b/357161000

Change-Id: I62c935e6792f10bdc80ba9ecfcebae69a011a60f
(cherry picked from commit 62cdd00)
@johnxwork johnxwork enabled auto-merge (squash) August 16, 2024 20:33
@johnxwork johnxwork merged commit 0c5180c into 25.lts.1+ Aug 16, 2024
626 of 640 checks passed
@johnxwork johnxwork deleted the cherry-pick-25.lts.1+-3930 branch August 16, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants