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

APP-6850 update android build for go 1.23 #4539

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

abe-winter
Copy link
Member

@abe-winter abe-winter commented Nov 7, 2024

What changed

Add linker flag in droid-rdk.aar makefile target

Why

See https://github.com/wlynxg/anet#how-to-build-with-go-1230-or-later -- this is required to work around go:linkname being deprecated.

Without this change, make droid-rdk.aar fails with:

link: github.com/wlynxg/anet: invalid reference to net.zoneCache

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Nov 7, 2024
Copy link
Member

@seanavery seanavery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

We recently had to add this flag to viamrtsp as well because of golang bump.

@abe-winter abe-winter merged commit 9b9b739 into viamrobotics:main Nov 8, 2024
17 checks passed
@abe-winter abe-winter deleted the resurrect-droid-go-23 branch November 8, 2024 18:27
hexbabe pushed a commit to hexbabe/sean-rdk that referenced this pull request Nov 14, 2024
hexbabe pushed a commit to hexbabe/sean-rdk that referenced this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants