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 2022/02/18 10:54:04 UTC

[GitHub] [incubator-brpc] TKONIY opened a new issue #1697: aarch64下编译失败。

TKONIY opened a new issue #1697:
URL: https://github.com/apache/incubator-brpc/issues/1697


   使用`config_brpc.sh`编译,出现如下报错:
   ```
   /usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `stderr@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC
   /usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o)(.text+0x184): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17'
   /usr/bin/ld: final link failed: bad value
   collect2: error: ld returned 1 exit status
   make: *** [Makefile:254: libbrpc.so] Error 1
   ```
   此前还出现了无法识别msse的错误,已将该flag从Makefile中注释掉。


-- 
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-unsubscribe@brpc.apache.org

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


[GitHub] [incubator-brpc] TKONIY closed issue #1697: aarch64下编译失败。

Posted by GitBox <gi...@apache.org>.
TKONIY closed issue #1697:
URL: https://github.com/apache/incubator-brpc/issues/1697


   


-- 
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-unsubscribe@brpc.apache.org

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