yurivict opened a new issue, #2072: URL: https://github.com/apache/incubator-brpc/issues/2072
**Describe the bug (描述bug)** ``` /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:291:5: error: unknown type name 'greg_t' greg_t value; ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:314:38: error: no member named 'gregs' in '__mcontext' { " r8: ", context->uc_mcontext.gregs[REG_R8] }, ~~~~~~~~~~~~~~~~~~~~ ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:314:44: error: use of undeclared identifier 'REG_R8' { " r8: ", context->uc_mcontext.gregs[REG_R8] }, ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:315:38: error: no member named 'gregs' in '__mcontext' { " r9: ", context->uc_mcontext.gregs[REG_R9] }, ~~~~~~~~~~~~~~~~~~~~ ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:315:44: error: use of undeclared identifier 'REG_R9' { " r9: ", context->uc_mcontext.gregs[REG_R9] }, ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:316:38: error: no member named 'gregs' in '__mcontext' { " r10: ", context->uc_mcontext.gregs[REG_R10] }, ~~~~~~~~~~~~~~~~~~~~ ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:316:44: error: use of undeclared identifier 'REG_R10' { " r10: ", context->uc_mcontext.gregs[REG_R10] }, ^ /usr/ports/devel/brpc/work/incubator-brpc-1.3.0/src/butil/debug/stack_trace_posix.cc:317:38: error: no member named 'gregs' in '__mcontext' { " r11: ", context->uc_mcontext.gregs[REG_R11] }, ~~~~~~~~~~~~~~~~~~~~ ^ ``` The project doesn't define greg_t anywhere. clang-14 FreeBSD 13.1 -- 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. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org