-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 for bootstrapping llvm@13:14+gold
#30954
base: develop
Are you sure you want to change the base?
Conversation
llvm@13:14+gold
llvm@13:14+gold
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thank you!
Hmm, looks like the headers are not found in CI. It looks like the binutils is not rebuilt though, so I'm not sure if the installed version had them. @scottwittenburg any idea why a variant change wouldn't trigger build of the dependency? https://gitlab.spack.io/spack/spack/-/jobs/2713882 |
It looks like the e4s package preferences had already turned on |
I'm not sure if this is a good idea. We don't do this for any |
@haampie Yes, the problem is that some distros ship the headers separately as |
We really need to do this much more generally for externals, in fact the same problem comes up for llvm when building on most debian-based distributions if the libc6-dev or multilib packages are missing, as came up in another issue not too long ago. I'm not sure if this one is particularly worth special casing, perhaps tweak it a bit to let us list a set of headers and packages to print a message for? It's, sadly, a much wider problem than just binutils. |
Yup. |
873ab7e
to
284c158
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squashed and rebased to the latest develop branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It correctly alerts me to install the missing packages on my host, but fails in CI as discussed above already.
I agree that we'd need generic header checks for external packages,
or add external binutils only with "~headers" like I propose in #40214 as a quick fix.
Hopefully closes #29350 and #31706.