likunyao commented on issue #1382:
URL: https://github.com/apache/incubator-brpc/issues/1382#issuecomment-831107891
老哥,还得麻烦你😭
> Compiling src/bthread/context.o
clang++ -c -I./src -I/opt/homebrew/include/ -I/usr/local/opt/openssl/include
-DBRPC_WITH_GLOG=0 -DGFLAGS_NS=google -g -Wno-deprecated-declarations
-Wno-inconsistent-missing-override -DBTHREAD_USE_FAST_PTHREAD_MUTEX
-D__const__= -D_GNU_SOURCE -DUSE_SYMBOLIZE -DNO_TCMALLOC -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG
-DBRPC_REVISION=\"0.9.7\|master\|46ab26de\|2021-05-02T23:12:29+08:00\" -O2
-pipe -Wall -W -fPIC -fstrict-aliasing -Wno-invalid-offsetof
-Wno-unused-parameter -fno-omit-frame-pointer -std=c++0x -msse4 -msse4.2
src/bthread/context.cpp -o src/bthread/context.o
clang: warning: argument unused during compilation: '-msse4'
[-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse4.2'
[-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse4'
[-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse4.2'
[-Wunused-command-line-argument]
<inline asm>:5:1: error: unknown directive
.type bthread_jump_fcontext, %function
^
<inline asm>:36:14: error: invalid operand for instruction
str x4, x0
^
<inline asm>:63:1: error: unknown directive
.size bthread_jump_fcontext,.-bthread_jump_fcontext
^
<inline asm>:65:19: error: unexpected token in '.section' directive
.section .note.GNU-stack,"",%progbits
^
<inline asm>:70:1: error: unknown directive
.type bthread_make_fcontext, %function
^
<inline asm>:89:1: error: unknown directive
.size bthread_make_fcontext,.-bthread_make_fcontext
^
<inline asm>:91:19: error: unexpected token in '.section' directive
.section .note.GNU-stack,"",%progbits
^
<inline asm>:81:5: error: unknown AArch64 fixup kind!
adr x1, finish
^
8 errors generated.
make: *** [src/bthread/context.o] Error 1
make: *** Waiting for unfinished jobs....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]