Comments (3)
Yes my gcc version is 12.
But this error about bounds is confused.
gcc --version
gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
from horaedb.
have the same error
CPU Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz
Fedora Linux 36 (Server Edition)
run cargo build
gmake: warning: -j4 forced in submake: resetting jobserver mode.
In file included from /usr/include/c++/12/atomic:41,
from /home/paomian/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/7737841/librocksdb_sys/libtitan_sys/../rocksdb/db/db_impl/db_impl.h:11,
from /home/paomian/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/7737841/librocksdb_sys/libtitan_sys/titan/src/db_impl.h:3,
from /home/paomian/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/7737841/librocksdb_sys/libtitan_sys/titan/src/db_impl.cc:1:
In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_add(__int_type, std::memory_order) [with _ITp = long unsigned int]’,
inlined from ‘void rocksdb::StatisticsImpl<TICKER_MAX, HISTOGRAM_MAX>::recordTick(uint32_t, uint64_t) [with unsigned int TICKER_MAX = 145; unsigned int HISTOGRAM_MAX = 49]’ at /home/paomian/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/7737841/librocksdb_sys/libtitan_sys/../rocksdb/monitoring/statistics_impl.h:205:59,
inlined from ‘void rocksdb::RecordTick(Statistics*, uint32_t, uint64_t)’ at /home/paomian/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/7737841/librocksdb_sys/libtitan_sys/../rocksdb/monitoring/statistics.h:33:27,
inlined from ‘virtual rocksdb::Status rocksdb::titandb::TitanDBImpl::FileManager::BatchFinishFiles(uint32_t, const std::vector<std::pair<std::shared_ptr<rocksdb::titandb::BlobFileMeta>, std::unique_ptr<rocksdb::titandb::BlobFileHandle> > >&)’ at /home/paomian/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/7737841/librocksdb_sys/libtitan_sys/titan/src/db_impl.cc:67:17:
/usr/include/c++/12/bits/atomic_base.h:618:35: error: array subscript 153 is above array bounds of ‘std::atomic_uint_fast64_t [145]’ {aka ‘std::atomic<long unsigned int> [145]’} [-Werror=array-bounds]
618 | { return __atomic_fetch_add(&_M_i, __i, int(__m)); }
from horaedb.
Thanks for your reporting @paomian. I think this is caused by GCC 12, is this your toolchain? (by gcc --version
)
I can compile rust-rocksdb
in my env after tikv/rust-rocksdb#699. But we cannot bump rocksdb for now until #25 is merged (otherwise zstd-sys
will conflict). I'll try it once #25 is done.
from horaedb.
Related Issues (20)
- EnforceSorting caused by Internal error: Children cannot be replaced in Scan Table
- Object store get range support `0..` syntax
- `-h` causes horaectl to be unavailable HOT 1
- Tracking issue for compaction offload
- Replay WAL of different tables concurrently for TableBasedReplay HOT 1
- Improve log readability for horaemeta HOT 1
- Tracking issue for horaectl features HOT 2
- Build failed HOT 3
- benchmark failed HOT 1
- Explore new error define pattern
- Explore new serialization library used for communication between horaedb-server HOT 3
- Adapt to a variety of object storage. HOT 1
- UT of meta sometimes fails
- Support running on Windows HOT 10
- Queries involving multiple tables will fail in a cluster environment HOT 1
- INSERT INTO SELECT in a streaming way
- Drop table panicked using kafka HOT 2
- Tracking issue for compaction offloading HOT 3
- SDK supports writing `Date` type
- Manifest file for disk-based WAL implementation HOT 2
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 horaedb.