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

Everything fails on MacOS 14 because of attributes with assignment in time.h #168

Closed
vesalvojdani opened this issue Jun 6, 2024 · 0 comments · Fixed by #171
Closed

Everything fails on MacOS 14 because of attributes with assignment in time.h #168

vesalvojdani opened this issue Jun 6, 2024 · 0 comments · Fixed by #171
Assignees
Labels
Milestone

Comments

@vesalvojdani
Copy link
Member

vesalvojdani commented Jun 6, 2024

Running goblint on Mac OS 14 (maybe limited to older Intel Macs) fails immediately because of attributes like __attribute__((availability(macos,introduced=10.15))). We can handle something like __attribute__((availability(macos,introduced && 10))), but CIL does not handle assignment expressions and I'm not sure what 10.15 actually is because gcc 14 can also handle introduced=10.15.2, so are these strings then?

Anyway, the problem is goblint fails out-of-the-box on Intel Macs with the current OS.

@sim642 sim642 added the bug label Jul 24, 2024
@sim642 sim642 self-assigned this Jul 25, 2024
@sim642 sim642 added this to the 2.0.4 milestone Jul 25, 2024
sim642 added a commit to sim642/opam-repository that referenced this issue Jul 30, 2024
CHANGES:

* Add `Return` statement expression location (goblint/cil#167).
* Add `availability` attribute support (goblint/cil#168, goblint/cil#171).
* Remove unused `Libmaincil` module (goblint/cil#165).
* Fix some synthetic locations (goblint/cil#166, goblint/cil#167).
@vesalvojdani vesalvojdani changed the title Everything fails on MacOS 15 because of attributes with assignment in time.h Everything fails on MacOS 14 because of attributes with assignment in time.h Aug 6, 2024
avsm pushed a commit to avsm/opam-repository that referenced this issue Sep 5, 2024
CHANGES:

* Add `Return` statement expression location (goblint/cil#167).
* Add `availability` attribute support (goblint/cil#168, goblint/cil#171).
* Remove unused `Libmaincil` module (goblint/cil#165).
* Fix some synthetic locations (goblint/cil#166, goblint/cil#167).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants