Add new conf-gcc-multilib package #26991
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
goblint-cil.2.0.5 does some optional compilation based on whether
cpp -m32
andcpp -m64
work, so it might make sense for it to have an optional dependency on such conf-gcc-multilib package.ocaml-option-32bit.1 has an explicit depext for gcc-multilib (and also g++-multilib). In the spirit of #20793 it might also make sense for the depext to be delegated to a conf-* package.
So this is my attempt at making such package, although I'm not particularly confident about it. Most non-debian-based distributions don't seem to offer such a package (or I couldn't easily find one).
Also I'm not too sure about the build checks being general/flexible/necessary.
Thus, this is very open to feedback.
EDIT: I did some digging to find packages for more distros, although it made me realize that perhaps gcc-multilib itself is the odd one out. It might be 32bit glibc that I've really aimed at here.