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

Building error after C++20 #2455

Open
zhuhaozhe opened this issue Mar 27, 2024 · 2 comments
Open

Building error after C++20 #2455

zhuhaozhe opened this issue Mar 27, 2024 · 2 comments

Comments

@zhuhaozhe
Copy link
Contributor

zhuhaozhe commented Mar 27, 2024

I faced below error when I follow https://pytorch.org/FBGEMM/fbgemm-development/BuildInstructions.html to build FBGEMM after #2416.

/home/haozhe/upstream/FBGEMM/third_party/asmjit/src/asmjit/arm/../arm/a64instdb_p.h:100:30: error: bitwise operation between different enumeration types ‘asmjit::_abi_1_9::arm::VecV::<unnamed enum>’ and ‘asmjit::_abi_1_9::arm::Vec::SignatureReg’ is deprecated [-Werror=deprecated-enum-enum-conversion]
  100 |   kOp_V2D = VecV::kSignature | Vec::kSignatureElementD

I can successfully build at 1ad7ab0
and failed at
ab5865a
My gcc/g++ version.

gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
@q10
Copy link
Contributor

q10 commented Mar 27, 2024

Hi @zhuhaozhe we will look into this.

@q10
Copy link
Contributor

q10 commented Mar 28, 2024

@zhuhaozhe we closed out #2461 yesterday, which should fix the issue. Can you verify you can build FBGEMM under gcc 11+ now?

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

No branches or pull requests

2 participants