From: Alexey Ponkin <alexey.ponkin@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: wireguard-apple: Unaligned pointer(s) for architecture arm64
Date: Mon, 4 Jul 2022 09:32:37 +0200 [thread overview]
Message-ID: <CA+QYBN=7FjHRVk+wox36iaG1i3-ZSF59qv_-yQ6UOdZ9WPLuKw@mail.gmail.com> (raw)
Hi guys,
I'm trying to use wireguard-apple in my app.
Following this guide -
https://git.zx2c4.com/wireguard-apple/about/#wireguardkit-integration
with small changes.
WireGuardBridgeiOS seems to be compiling but when I tried to run my
app(on physical device) I have lots of warnings like this - "
Pointer not aligned at address 0x1001F8A97 ('_type.*' + 232087 from
/Users/aponkin/Library/Developer/Xcode/DerivedData/MyApp-ffqwdheqjdaauedstuhrauhjkdcb/Build/Products/Debug-iphoneos/libwg-go.a(go.o))"
And the build is failed with - 'Unaligned pointer(s) for architecture
arm64' error message
Using XCode 14 Beta
go version go1.18.3 darwin/arm64
Any clues on how to fix that?
reply other threads:[~2022-07-04 7:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+QYBN=7FjHRVk+wox36iaG1i3-ZSF59qv_-yQ6UOdZ9WPLuKw@mail.gmail.com' \
--to=alexey.ponkin@gmail.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).