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

error No timer implementation for this platform #13043

Open
Mingli-001 opened this issue Sep 29, 2024 · 1 comment
Open

error No timer implementation for this platform #13043

Mingli-001 opened this issue Sep 29, 2024 · 1 comment

Comments

@Mingli-001
Copy link

Mingli-001 commented Sep 29, 2024

FAILED: CMakeFiles/rocksdb-shared.dir/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.cc.o
/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot-native/usr/bin/arm-wrs-linux-gnueabi/arm-wrs-linux-gnueabi-g++ --sysroot=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot -DBZIP2 -DGFLAGS=1 -DGFLAGS_IS_A_DLL=0 -DLZ4 -DOS_LINUX -DROCKSDB_AUXV_GETAUXVAL_PRESENT -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_NO_DYNAMIC_EXTENSION -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DZLIB -Drocksdb_shared_EXPORTS -I/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git -I/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/include -isystem /build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/third-party/gtest-1.8.1/fused-src -march=armv5te -marm -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git=/usr/src/debug/rocksdb/9.0.0 -fdebug-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git=/usr/src/debug/rocksdb/9.0.0 -fmacro-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/build=/usr/src/debug/rocksdb/9.0.0 -fdebug-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/build=/usr/src/debug/rocksdb/9.0.0 -fdebug-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot= -fmacro-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot= -fdebug-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot-native= -fmacro-prefix-map=/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-psabi -W -Wextra -Wall -pthread -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-invalid-offsetof -fno-builtin-memcmp -g -DROCKSDB_USE_RTTI -std=gnu++17 -fPIC -MD -MT CMakeFiles/rocksdb-shared.dir/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.cc.o -MF CMakeFiles/rocksdb-shared.dir/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.cc.o.d -o CMakeFiles/rocksdb-shared.dir/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.cc.o -c /build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.cc
In file included from /build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/utilities/transactions/lock/range/range_tree/lib/locktree/locktree.h:62, from /build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.h:59,
from /build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.cc:55:
/build/tmp/work/armv5e-wrs-linux-gnueabi/rocksdb/9.0.0/git/utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_time.h:186:2: error: #error No timer implementation for this platform
186 | #error No timer implementation for this platform
| ^~~~~

@rhubner
Copy link
Contributor

rhubner commented Sep 30, 2024

Hello @Mingli-001,

Try patch from this draft PR. It primary for ArmV7, but it may work also for ARM v5.

Radek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants