brpc icon indicating copy to clipboard operation
brpc copied to clipboard

无法在Ubuntu 21.04 ARM64环境下编译通过

Open githubzilla opened this issue 3 years ago • 1 comments

Describe the bug (描述bug) 无法在Ubuntu 21.04 ARM64环境下编译通过

To Reproduce (复现方法)

sh config_brpc.sh --headers=/usr/include --libs=/usr/lib --cxx=clang++ --cc=clang make ./src/butil/time.h:223:11: error: invalid output constraint '=a' in asm : "=a" (lo), "=d" (hi)

Expected behavior (期望行为) 编译通过

Versions (各种版本) OS: Ubuntu 21.04 5.10.76-linuxkit aarch64 Compiler: Ubuntu clang version 12.0.0-3ubuntu1~21.04.2 brpc: 0.9.7 protobuf:

Additional context/screenshots (更多上下文/截图)

2022-01-17_18-19-51

githubzilla avatar Jan 17 '22 10:01 githubzilla

请问解决了吗

Overcautious avatar Jun 05 '22 15:06 Overcautious

master已支持arm64

wwbmmm avatar Oct 14 '22 09:10 wwbmmm