Comments (6)
看着像是gcc版本较低,推荐安装软件源中提供的,或者自行编译至少11以上版本的gcc编译器进行编译。
from tendis.
看着像是gcc版本较低,推荐安装软件源中提供的,或者自行编译至少11以上版本的gcc编译器进行编译。
gcc都是8.5.0,版本还低是吗??我看他们都是5.5.0的都编译了,我试试11以上的版本,一会反馈
[root@bcrj-hwkp setup]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/root/setup/gcc-8.5.0/build-gcc/libexec/gcc/aarch64-unknown-linux-gnu/8.5.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: /root/setup/gcc-8.5.0/configure --prefix=/root/setup/gcc-8.5.0/build-gcc -enable-checking=release -enable-languages=c,c++ -disable-multili
Thread model: posix
gcc version 8.5.0 (GCC)
[root@bcrj-hwkp setup]# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/root/setup/gcc-8.5.0/build-gcc/libexec/gcc/aarch64-unknown-linux-gnu/8.5.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: /root/setup/gcc-8.5.0/configure --prefix=/root/setup/gcc-8.5.0/build-gcc -enable-checking=release -enable-languages=c,c++ -disable-multili
Thread model: posix
gcc version 8.5.0 (GCC)
from tendis.
看着像是gcc版本较低,推荐安装软件源中提供的,或者自行编译至少11以上版本的gcc编译器进行编译。
已经升级了gcc到13.2.0,cmake已经显示了gcc版本是13.2.0,cmake没有报错,但是make的时候问题依旧,一样的报错
[root@bcrj-hwkp build]# cmake ../
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
compile optimize with lto
pgo_dir: /root/setup/Tendis/pgo
from tendis.
想问下,解决了么,我在 arm64 环境下编译 2.7.0 版本,遇到的问题相同
gcc 11.3
g++ 11.3
cmake 3.20
只要编译到 jemalloc 就报错
from tendis.
搞定了,是 jemalloc 的问题, 把 源码 src/thirdparty/jemalloc 替换成 jemalloc 5.2.1 的源码,就可以编译通过了
from tendis.
from tendis.
Related Issues (20)
- Tendis 单实例部署 RSS内存占用过高问题 HOT 2
- failover time out HOT 1
- 升级2.5.0后cpu负载异常升高 HOT 4
- 开启 主从同步时 blocking 不能访问
- 遇到 txn replOnly 异常如何解决 HOT 1
- make -j12 编译的时候报错 HOT 17
- Tendis Crash 2.6.0-rocksdb-v6.23.3 HOT 4
- 2.5.0版本出现socket句柄泄露问题 HOT 1
- lua脚本执行有相关错误日志:expected failed:-ERR:6,msg:NotFound HOT 4
- /home/antdb/Tendis/src/tendisplus/server/server_params.cpp:20:10: fatal error
- Tendis/src/tendisplus/server/server_params.cpp:20:10: fatal error: : 没有那个文件或目录 HOT 4
- 通过jedis客户端连接报错:redis.clients.jedis.exceptions.JedisConnectionException: Failed to create socket. HOT 1
- tendis集群模式下,重启主节点时耗时比较久,原来的从变为了主,主上线后触发全量同步,而不是增量同步 HOT 4
- setslot issue
- 无法搬迁仅有的一个slot HOT 2
- tendis setslot报错 HOT 5
- 编译安装报错 HOT 2
- 拼写错误 HOT 1
- centos8.2 make报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tendis.