-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] goblint (2.2.1) #24423
Conversation
CHANGES: * Bump batteries lower bound to 3.5.0. * Fix flaky dead code elimination transformation test.
All the CI failures aren't really related nor fixable here. |
The macOS failure is curious, batteries not finding a real gcc? Perhaps it is related to the FreeBSD failure which is caused by conf-gcc not having an entry for FreeBSD. Added FreeBSD for conf-gcc #24429 |
The "couldn't find real gcc" error is from goblint-cil, not goblint. I'm surprised to see this again because in #21975 (comment) I said:
Depext also shows gcc being installed via homebrew, so I'm not sure what the issue is. |
On the macos CI failure I see the following in the logs. First, it installs the
Then as part of installing
And then tries to go down from version to version:
As you can see, it misses the actual version that I'm a bit confused because AFAICT it should try versions 16 and lower. I think the issue is that |
@sim642 sorry to be using your PR to investigate and fix some not-totally-related issues, just trying to take the opportunity to improve the general health of the opam-repository. |
Latest goblint and goblint-cil builds just fine on my Mac OS (with gcc-13). Earlier 'goblint-cil' indeed doesn't build on the latest version of 'gcc' that homebrew installs. If you install a different version of 'gcc' it might work, but I don't think you can express that in 'conf-gcc'. To make the CI happier you could indeed mark older version of 'goblint-cil' as not supported on macos-homebrew, but please only do that on the CI (there are some x-ci-accept-failures tags that could be put on goblint-cil), it may be possible for someone using an actual Mac to get it working. |
Ah! That lintcstubs macos job is forced to go with goblint-cil 2.0.1, which I didn't notice before. goblint-cil 2.0.2 extends the range of gcc binaries it looks for such that it works. Indeed, it works on macos if an older gcc from Homebrew is present. So goblint-cil 2.0.1 isn't outright incompatible with macos but depends on some depext versions on which constraints aren't possible. |
Is it likely to work if we just add a We could add this patch to the package. I think that's the solution which keeps the most compatibility. Does anyone know if |
It should be fine. This patch should do it: goblint/cil@28d3e7e. |
See discussion in #24423
I made #24493 |
I think this is ready to merge. |
Thanks! |
Goblint 2.2 removed `Prelude.Ana` (and all of `Prelude`) thus compilation fails with that version. opam-repository already applied the constraint in the package: ocaml/opam-repository#24423
See discussion in ocaml#24423
Static analysis framework for C
CHANGES: