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

Restrict pessimization of M4 arch to macOS 15.2 #3197

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

jandubois
Copy link
Member

It has reportedly been fixed in 15.3:

This commit also caches the results of osutil.ProductVersion (on macOS) because additional calls should always return the same results.

The cortex-a7 CPU fails to run some workloads that earlier M* CPUs already support:

$ docker run -it --rm  public.ecr.aws/amazonlinux/amazonlinux:2023
Fatal glibc error: This version of Amazon Linux requires a newer ARM64 processor
                   compliant with at least ARM architecture 8.2-a with Cryptographic
                   extensions. On EC2 this is Graviton 2 or later.

@jandubois jandubois added this to the v1.0.5 milestone Feb 6, 2025
@jandubois jandubois mentioned this pull request Feb 6, 2025
It has reportedly been fixed in 15.3:
* https://gitlab.com/qemu-project/qemu/-/issues/2721#note_2318005270
* another report from a colima user on Slack

This commit also caches the results of `osutil.ProductVersion` (on macOS)
because additional calls should always return the same results.

Signed-off-by: Jan Dubois <[email protected]>
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit ea38508 into lima-vm:master Feb 7, 2025
29 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 10, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [lima-vm/lima](https://github.com/lima-vm/lima) | patch | `v1.0.4` -> `v1.0.5` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>lima-vm/lima (lima-vm/lima)</summary>

### [`v1.0.5`](https://github.com/lima-vm/lima/releases/tag/v1.0.5)

[Compare Source](lima-vm/lima@v1.0.4...v1.0.5)

#### Changes

-   `limactl` CLI:
    -   Fix start command: return error early when instance already exists ([#&#8203;3144](lima-vm/lima#3144), thanks to [@&#8203;jandubois](https://github.com/jandubois))
-   DNS:
    -   Fix a regression containers/gvisor-tap-vsock#466 ([#&#8203;3189](lima-vm/lima#3189))
-   QEMU:
    -   Enable SME on macOS 15.3 running on M4 ([#&#8203;3197](lima-vm/lima#3197), [#&#8203;3203](lima-vm/lima#3203), thanks to [@&#8203;jandubois](https://github.com/jandubois))

Full changes: https://github.com/lima-vm/lima/milestone/55?closed=1
Thanks to [@&#8203;alexandear](https://github.com/alexandear) [@&#8203;arixmkii](https://github.com/arixmkii) [@&#8203;jandubois](https://github.com/jandubois) [@&#8203;msgilligan](https://github.com/msgilligan) [@&#8203;olamilekan000](https://github.com/olamilekan000) [@&#8203;rfay](https://github.com/rfay) [@&#8203;s1gnate-sync](https://github.com/s1gnate-sync)

#### Usage

```console
[macOS]$ limactl create
[macOS]$ limactl start
...
INFO[0029] READY. Run `lima` to open the shell.

[macOS]$ lima uname
Linux
```

***

The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/13195714188

The sha256sum of the SHA256SUMS file itself is `d31365f1da7802a63c86b1e1609a19c1ce92244a4e6824d924a896b6c12810b0` .

***

Release manager: [@&#8203;AkihiroSuda](https://github.com/AkihiroSuda)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjIuMyIsInVwZGF0ZWRJblZlciI6IjM5LjE2Mi4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants