arm架构下编译的starrocks不可用

  • 【机器信息】Macbook Pro, CPU: Apple M1 Pro
    参考了 ARM架构下手动编译StarRocks(拓展篇) 进行了编译。编译成功了,也能正常连接starrocks。但是执行数据插入时,be就挂了,错误日志如下:
  • be.WARNING
W0316 03:07:32.904052  2682 cpu_info.cpp:191] /sys/devices/system/node is not present - no NUMA support
E0316 03:07:33.035024  2682 bfd_parser.cpp:94] set default target to elf64-x86-64 failed.
  • be.out
*** Aborted at 1678936063 (unix time) try "date -d @1678936063" if you are using GNU date ***
PC: @                0x0 (unknown)
*** SIGABRT (@0xa7a) received by PID 2682 (TID 0xfffeee026d90) from PID 2682; stack trace: ***
    @          0x4629518 (/ (deleted)+0x4629517)
    @     0xffffa1939790 ([vdso]+0x78f)
    @     0xffffa0693238 __GI_raise
    @     0xffffa06948b0 __GI_abort
    @          0x1e38d00 (/ (deleted)+0x1e38cff)
    @          0x461ce78 (/ (deleted)+0x461ce77)
    @          0x461f27c (/ (deleted)+0x461f27b)
    @          0x461c9d8 (/ (deleted)+0x461c9d7)
    @          0x461f970 (/ (deleted)+0x461f96f)
    @          0x475f6d0 (/ (deleted)+0x475f6cf)
    @          0x47607ac (/ (deleted)+0x47607ab)
    @          0x4761318 (/ (deleted)+0x4761317)
    @          0x4763c78 (/ (deleted)+0x4763c77)

请问这个需要怎么解决呢?

若按照这个帖子中的方案修改brpc,试试能否解决:

感谢回复!前几天官方发布了3.0的dev-env的镜像,提供了arm版本,直接用这个镜像编译2.5.3的release也能成功

解决了就好,您pull的是哪个镜像?没注意到3.0有arm版本的镜像

https://hub.docker.com/r/starrocks/dev-env-centos7/tags

1赞