Comments (6)
It seems to me that the reason it is broken is because of LTO. Not sure what we can do to fix that old LLVM.
from setup-cpp.
Not sure that I understand. It seemed to me that this is due to a setup of two conflicting versions of LLVM. How would LTO introduce this error?
from setup-cpp.
Because in LTO, the linker strictly requires matching MacOS target versions. If you build without LTO, it warns, but it will succeed in building.
from setup-cpp.
Ah I see, thanks for the explanation! Isn't that something that would be fixed by having matching target versions though? Is that something that could be done here in setup-cpp? I'd like to keep LTO activated if possible, and not have to introduce an exception for certain OS/compiler combinations :-)
from setup-cpp.
Those specific binaries that LLVM provided are built with that target version. I'll see if there's a solution other than building from the source
from setup-cpp.
Ah now it makes sense that you said
Not sure what we can do to fix that old LLVM.
before :-D Thanks for being patient with me, now I get it!
No worries, if that's too much hassle, I don't think it's the most important thing to fix. I have now simply excluded OSX11 + LLVM14 from my GitHub Actions workflow, which is okay. Any user that happens to want to use exactly those two will then have to deal with it somehow ;-)
Feel free to close the issue if this requires more than just a quick version fix!
from setup-cpp.
Related Issues (20)
- Support cpprc on Windows
- Support emscripten HOT 1
- Suggest alternative versions when the binaries are missing (e.g. for LLVM)
- Missing x86 binaries for new versions of LLVM on MacOS
- Publish docker images on Docker Hub HOT 1
- Matching the official stdc++ version on Ubuntu? HOT 5
- CMake version v3.26.4 don't support cmake workflow presets
- /usr/bin/bash: line 167: gcovr: command not found HOT 6
- Only install clang-format HOT 6
- Problems with ubuntu:20.04 HOT 2
- MSVC installation successes but can't be found HOT 1
- pipx installs packages for root instead of SUDO_USER when run with `sudo`
- Thank you very much HOT 1
- Question: Can we cache the installation folders HOT 1
- add llvm 18 support HOT 2
- Add FlawFinder, Lizard, and Cpplint
- Node.js 16 actions are deprecated HOT 1
- Intermittent warnings during installation (Ubuntu) HOT 1
- Ubuntu LLVM 18 conflicts with LLVM 17 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-cpp.