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

google-cloud-app build failure #17344

Closed
SimonVillage opened this issue Apr 18, 2021 · 2 comments
Closed

google-cloud-app build failure #17344

SimonVillage opened this issue Apr 18, 2021 · 2 comments
Assignees
Labels
category:question This issue is a question

Comments

@SimonVillage
Copy link

Host Environment

  • OS: MacOs 11.2.3 / Apple M1

To Reproduce
Steps to reproduce the behavior:
./vcpkg install google-cloud-cpp

Failure logs

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -I/Users/simonhausdorf/Projects/testCppTrader/vcpkg/buildtrees/abseil/src/ca9688e9f6-e4cda1d679.clean -fPIC -g -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -march=armv8-a+crypto -std=gnu++11 -MD -MT absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o -MF absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o.d -o absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o -c /Users/simonhausdorf/Projects/testCppTrader/vcpkg/buildtrees/abseil/src/ca9688e9f6-e4cda1d679.clean/absl/random/internal/randen_hwaes.cc
error: unknown target CPU 'armv8-a+crypto'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, x86-64
@autoantwort
Copy link
Contributor

It seems to fail in the abseil dependency. Interestingly I don't get this error on my Apple M1 Mac with macOS 11.2.3. Are you using the latest version of vcpkg?

@JonLiu1993 JonLiu1993 self-assigned this Apr 19, 2021
@SimonVillage
Copy link
Author

I had the latest version of vcpkg, I run terminal with Rosetta which made it work. I will close this as it is resolved for me right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants