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

[glib] arm/arm64 windows support #6116

Merged
merged 3 commits into from
May 3, 2019
Merged

[glib] arm/arm64 windows support #6116

merged 3 commits into from
May 3, 2019

Conversation

driver1998
Copy link
Contributor

@driver1998 driver1998 commented Apr 16, 2019

For it to actually build on Windows ARM/ARM64, a proper libffi port is required.
I tested with combination of libffi/libffi#483 and libffi/libffi#477, which works fine.
A WIP port of said libffi build is at #6119.
It should work once both of these PRs are in.

@grdowns grdowns self-assigned this Apr 16, 2019
@grdowns grdowns added the wip label Apr 25, 2019
@grdowns grdowns removed the wip label May 3, 2019
@grdowns
Copy link
Contributor

grdowns commented May 3, 2019

Thanks for enabling this, @driver1998!

@grdowns grdowns merged commit 5ea9105 into microsoft:master May 3, 2019
gnomesysadmins pushed a commit to GNOME/glib that referenced this pull request Sep 18, 2020
Symbols on x86 are prefixed with an underscore
but symbols on x64/ARM/ARM64 are not.

Relevant information concerning the prefixes for the architectures
can be found in the vcpkg project [1,2], where arm and arm64 builds
are part of the CI.

Specifically, _WIN64 is defined on Windows ARM64, so this issue is
only visible when building on ARM32.

[1] https://github.com/microsoft/vcpkg/blob/08e74979df124d9360343751cefcae615c2ec5ed/ports/glib/fix-arm-builds.patch
[2] microsoft/vcpkg#6116
gnomesysadmins pushed a commit to GNOME/glib that referenced this pull request Sep 23, 2020
Symbols on x86 are prefixed with an underscore
but symbols on x64/ARM/ARM64 are not.

Relevant information concerning the prefixes for the architectures
can be found in the vcpkg project [1,2], where arm and arm64 builds
are part of the CI.

Specifically, _WIN64 is defined on Windows ARM64, so this issue is
only visible when building on ARM32.

[1] https://github.com/microsoft/vcpkg/blob/08e74979df124d9360343751cefcae615c2ec5ed/ports/glib/fix-arm-builds.patch
[2] microsoft/vcpkg#6116
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.

None yet

2 participants