You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/08/10 06:01:24 UTC
[GitHub] [incubator-brpc] acelyc111 commented on issue #1186: 编译ASAN版本报错
acelyc111 commented on issue #1186:
URL: https://github.com/apache/incubator-brpc/issues/1186#issuecomment-671176220
> "undefined reference to `__asan_report_load8'" reports a linking error, maybe you can try to add '-lasan'.
@lorinlee Thanks! After I adding '-lasan', another link error reported:
```
`.note.GNU-stack' referenced in section `.init_array.00099' of ../../output/lib/libbrpc.a(context.cpp.o): defined in discarded section `.note.GNU-stack' of ../../output/lib/libbrpc.a(context.cpp.o)
```
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org