[PR #3217] fix: pin iOS arm64 cgo to the tagged ARMv8.0 baseline #3131

Open
opened 2026-10-15 04:07:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3217
Author: @flood4life
Created: 9/26/2026
Status: 🔄 Open

Base: dev ← Head: fix/ios-arm64-no-ldapr


📝 Commits (3)

  • 796d061 fix: keep the iOS arm64 cgo archive off LDAPR
  • aee4b7f fix: pin the iOS arm64 baseline to an amneziawg-apple tag
  • 4faac16 fix: link the upstream baseline PR with its repository

📊 Changes

2 files changed (+24 additions, -1 deletions)

View changed files

📝 conanfile.py (+1 -0)
📝 recipes/awg-apple/conanfile.py (+23 -1)

📄 Description

Status

Blocked by amnezia-vpn/amneziawg-apple#49. This draft should not merge until that Makefile change is tagged and the pin below is updated to that tag.

Summary

  • The iphoneos arm64 baseline (-mcpu=apple-a10, rcpc and lse disabled, GOARM64=v8.0) is in amnezia-vpn/amneziawg-apple, not a patch of tag v3.1.4.
  • When amnezia-vpn/amneziawg-apple#49 is tagged, set that tag in recipes/awg-apple/conanfile.py (version and the zip sha256) and in conanfile.py (awg-apple/<tag>). The recipe still reads refs/tags/v{version}.zip, which is how v3.1.4 and v3.1.20260814 were pinned.
  • Keep the iOS prebuild failure if libwg-go-arm64.a still contains the LDAPR Xt, [Xn] encoding 0xF8BFC000.

Refs #2946

Test plan

  • amnezia-vpn/amneziawg-apple#49 is merged and tagged
  • This PR's awg-apple version and sha256 match that tag
  • Bake-Prebuilts-iOS (push to this repo, not a fork PR) builds awg-apple and the scan reports no LDAPR sites
  • Connect a self-hosted AmneziaWG profile from an A10 iPad (iPad7,5 or iPad7,12) on iPadOS 17

The Makefile diff itself was built locally while testing amnezia-vpn/amneziawg-apple#49: Xcode 26.6 / Go 1.26.7, zero 0xF8BFC000 hits, __cgo_wait_runtime_init_done+20 is ldar x8, [x8]. That was not this repo's iOS prebuild, and it was not an A10 device.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/3217 **Author:** [@flood4life](https://github.com/flood4life) **Created:** 9/26/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/ios-arm64-no-ldapr` --- ### 📝 Commits (3) - [`796d061`](https://github.com/amnezia-vpn/amnezia-client/commit/796d0610f4f540b58c6f22977df5f607a43e8d4a) fix: keep the iOS arm64 cgo archive off LDAPR - [`aee4b7f`](https://github.com/amnezia-vpn/amnezia-client/commit/aee4b7f90da68bb4e0e88abe56c64f4347b3a868) fix: pin the iOS arm64 baseline to an amneziawg-apple tag - [`4faac16`](https://github.com/amnezia-vpn/amnezia-client/commit/4faac16c89cfe891292889c01455036f8464a95b) fix: link the upstream baseline PR with its repository ### 📊 Changes **2 files changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `conanfile.py` (+1 -0) 📝 `recipes/awg-apple/conanfile.py` (+23 -1) </details> ### 📄 Description ## Status Blocked by amnezia-vpn/amneziawg-apple#49. This draft should not merge until that Makefile change is tagged and the pin below is updated to that tag. ## Summary - The iphoneos arm64 baseline (`-mcpu=apple-a10`, `rcpc` and `lse` disabled, `GOARM64=v8.0`) is in amnezia-vpn/amneziawg-apple, not a patch of tag `v3.1.4`. - When amnezia-vpn/amneziawg-apple#49 is tagged, set that tag in `recipes/awg-apple/conanfile.py` (`version` and the zip `sha256`) and in `conanfile.py` (`awg-apple/<tag>`). The recipe still reads `refs/tags/v{version}.zip`, which is how `v3.1.4` and `v3.1.20260814` were pinned. - Keep the iOS prebuild failure if `libwg-go-arm64.a` still contains the `LDAPR Xt, [Xn]` encoding `0xF8BFC000`. Refs #2946 ## Test plan - [ ] amnezia-vpn/amneziawg-apple#49 is merged and tagged - [ ] This PR's `awg-apple` version and sha256 match that tag - [ ] `Bake-Prebuilts-iOS` (push to this repo, not a fork PR) builds `awg-apple` and the scan reports no LDAPR sites - [ ] Connect a self-hosted AmneziaWG profile from an A10 iPad (iPad7,5 or iPad7,12) on iPadOS 17 The Makefile diff itself was built locally while testing amnezia-vpn/amneziawg-apple#49: Xcode 26.6 / Go 1.26.7, zero `0xF8BFC000` hits, `__cgo_wait_runtime_init_done+20` is `ldar x8, [x8]`. That was not this repo's iOS prebuild, and it was not an A10 device. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#3131
No description provided.