-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Build failed on 32-bit arm platform #829
Comments
I've revert my changes about the arm32 build. |
@JackBoosY I think this patch might be the way to make the linker happy for both arm32 and arm64. @vslashg Is there any issue with merging this patch? I'm happy to open a PR and help get this through. Thanks!
|
Thanks for your fix @tusharb86. @derekmauro, @vslashg Could you please help confirm if the patch from @tusharb86 is acceptable? I have verified that this can solve the problem posted by @JackBoosY |
This patch looks plausible to me. I'll run it though some tests and see what happens. |
This patch changes the linking of 32-bit ARM zone info source to use the same code as the 32-bit X86 zone info source. This change is requested in abseil/abseil-cpp#829 by members of the Microsoft organization who say it fixes the issue.
This patch changes the linking of 32-bit ARM zone info source to use the same code as the 32-bit X86 zone info source. This change is requested in abseil/abseil-cpp#829 by members of the Microsoft organization who say it fixes the issue.
Fixed by 3b22e57. |
Thanks guys! |
Describe the bug
A few months ago, I received an issue, that is, Abseil cannot be built on the 32-bit arm platform using vcpkg (microsoft/vcpkg#11820), so I submitted a PR (microsoft/vcpkg#11827) to fix this issue.
Unfortunately, this PR broke the build of the 64-bit arm platform.
After communicating with the cctz official (google/cctz#173), they believe that this is a setting error in abseil that caused the symbol mismatch problem.
Error log:
And if I only use the cctz official patch (only modify
#elif defined(_M_IA_64)
to#elif defined(_M_IA_64) || defined(_M_AMD64) || \ defined(_M_ARM64)
), I will encounter the following error when buildingarm-windows
:Do you have any ideas?
Steps to reproduce the bug
What version of Abseil are you using?
2020-03-03
What operating system and version are you using
Windows 10 64bit
vcpkg latest
What compiler and version are you using?
Visual Studio 2017 latest build
What build system are you using?
vcpkg (cmake 3.18.2 with Visual Studio 2017)
Additional context
Thanks.
The text was updated successfully, but these errors were encountered: