GithubHelp home page GithubHelp logo

Comments (6)

raffertyyu avatar raffertyyu commented on May 27, 2024

看着像是gcc版本较低,推荐安装软件源中提供的,或者自行编译至少11以上版本的gcc编译器进行编译。

from tendis.

melinetssamant avatar melinetssamant commented on May 27, 2024

看着像是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.

melinetssamant avatar melinetssamant commented on May 27, 2024

看着像是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.

pscxtc avatar pscxtc commented on May 27, 2024

想问下,解决了么,我在 arm64 环境下编译 2.7.0 版本,遇到的问题相同
gcc 11.3
g++ 11.3
cmake 3.20
只要编译到 jemalloc 就报错

from tendis.

pscxtc avatar pscxtc commented on May 27, 2024

搞定了,是 jemalloc 的问题, 把 源码 src/thirdparty/jemalloc 替换成 jemalloc 5.2.1 的源码,就可以编译通过了

from tendis.

melinetssamant avatar melinetssamant commented on May 27, 2024

from tendis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.