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

Linker on macOS prints excessive warnings in CI #15130

Open
straight-shoota opened this issue Oct 26, 2024 · 4 comments
Open

Linker on macOS prints excessive warnings in CI #15130

straight-shoota opened this issue Oct 26, 2024 · 4 comments

Comments

@straight-shoota
Copy link
Member

straight-shoota commented Oct 26, 2024

The linker on macOS prints such as warning for every individual object file:

ld: warning: object file (I-O-5858B-yteF-ormat5858B-igE-ndian.o0.o) was built for newer macOS version (14.0) than being linked (11.0)

Example CI run: https://github.com/crystal-lang/crystal/actions/runs/11521615235/job/32075666471?pr=15127

The log is spammed with about ~87k of these warnings, which is just excessive. It's basically unusable through the GitHub web UI. You can still download the entire job log as a text file.

Anyway, we should not get that many warnings.
Ideally, we need to fix this. Or at least silence the warnings.

I'm not familiar with macOS build system, so I'm not sure what this warning even means or what we're suppose to do.

This has previously been mentioned in #14835

@beta-ziliani
Copy link
Member

This is likely an instance of #13846, although I thought it was fixed with #14466

@straight-shoota
Copy link
Member Author

We might want to try using a new version of LLVM (#14651).

@straight-shoota
Copy link
Member Author

straight-shoota commented Nov 5, 2024

Updating to LLVM 18.1 does not make the warnings go away. Was worth a try 🤷

@will
Copy link
Contributor

will commented Nov 6, 2024

For what it's worth, I'm getting this locally again with 1.14 on an arm mac on macos 15.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants