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

Fix "object file was built for newer macOS version than being linked" error in build step #1613

Closed

Conversation

RebeccaMahany
Copy link
Contributor

@RebeccaMahany RebeccaMahany commented Feb 21, 2024

Try to fix persistent build issue:

ld: warning: object file (/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/go-link-1359000262/000020.o) was built for newer macOS version (12.0) than being linked (11.0)

Example: https://github.com/kolide/launcher/actions/runs/7995248348/job/21835133063?pr=1612

Somehow this is a govulncheck issue again. Since this is the second time that running govulncheck ahead of the build has created issues with the build, I am moving the govulncheck step to after the build is complete.

@RebeccaMahany RebeccaMahany changed the title ld: warning: object file was built for newer macOS version than being linked Fix "object file was built for newer macOS version than being linked" error in build step Feb 21, 2024
@RebeccaMahany RebeccaMahany marked this pull request as ready for review February 21, 2024 21:58
@RebeccaMahany
Copy link
Contributor Author

Closing in favor of #1614

@RebeccaMahany RebeccaMahany deleted the becca/ld-warning-macos branch February 21, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants