Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with g++ 13 (rocksdb v5.17.2) #16253

Open
2 tasks done
adonagy opened this issue Oct 16, 2024 · 0 comments
Open
2 tasks done

Compilation error with g++ 13 (rocksdb v5.17.2) #16253

adonagy opened this issue Oct 16, 2024 · 0 comments

Comments

@adonagy
Copy link

adonagy commented Oct 16, 2024

Preliminary Checks

Description

When trying to build the project from tag 3.0.1 (make build_all_sigs) on Ubuntu 24.04.1 LTS, the defined rocksDB version (v5.17.2) won't compile. I traced it back to the used g++ version, namely 13. When downgraded to g++ 11, it builds just fine. (Didn't check 12)

Steps to Reproduce

  1. Start building with g++ 13
  2. Failure
  3. Downgrade to g++ 11 sudo apt install g++-11
  4. Builds just fine
    ...

Expected Result

The build completes with 0 errors

Actual Result

The build exits with error, namely:

./db/compaction_iteration_stats.h:21:3: error: 'uint64_t' does not name a type

See full log below

Daemon version

Commit 4e62fc2

How frequently do you see this issue?

Always

What is the impact of this issue on your ability to run a node?

High

Status

Bug regarding building/compilation

Additional information

build-error.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant