Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Install librocksdb_test.so: it is required by table_reader_bench (rocksdb-8.5.3) /wrkdirs/usr/ports/databases/rocksdb/work/stage//usr/local/bin/table_reader_bench - required shared library librocksdb_test.so not found Changes: https://github.com/facebook/rocksdb/releases
- Loading branch information
Showing
4 changed files
with
9 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1688166048 | ||
SHA256 (facebook-rocksdb-v8.3.2_GH0.tar.gz) = b55d6da6f562eb79bad7fdc9c368efc9ea4bfa239e69cead37923fc845a43fba | ||
SIZE (facebook-rocksdb-v8.3.2_GH0.tar.gz) = 12713061 | ||
TIMESTAMP = 1693823833 | ||
SHA256 (facebook-rocksdb-v8.5.3_GH0.tar.gz) = ed4230500b9ca20bc7918c32166b2d0d46a8695c59991821daa586d55689d785 | ||
SIZE (facebook-rocksdb-v8.5.3_GH0.tar.gz) = 12764827 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,10 @@ | ||
--- port/stack_trace.cc.orig 2023-02-19 21:44:55 UTC | ||
--- port/stack_trace.cc.orig 2023-09-01 20:58:39 UTC | ||
+++ port/stack_trace.cc | ||
@@ -33,6 +33,8 @@ void* SaveStack(int* /*num_frames*/, int /*first_frame | ||
@@ -37,6 +37,7 @@ void* SaveStack(int* /*num_frames*/, int /*first_frame | ||
#endif // OS_OPENBSD | ||
#ifdef OS_FREEBSD | ||
#include <sys/sysctl.h> | ||
+#include <sys/types.h> | ||
+#include <sys/wait.h> | ||
#endif // OS_FREEBSD | ||
#ifdef OS_LINUX | ||
#include <sys/prctl.h> | ||
@@ -219,7 +221,7 @@ void PrintStack(int first_frames_to_skip) { | ||
void* frames[kMaxFrames]; | ||
auto num_frames = backtrace(frames, kMaxFrames); | ||
- PrintStack(&frames[first_frames_to_skip], num_frames - first_frames_to_skip); | ||
+ PrintStack(&frames[first_frames_to_skip], (int) (num_frames - first_frames_to_skip)); | ||
} | ||
void PrintAndFreeStack(void* callstack, int num_frames) { | ||
@@ -232,7 +234,7 @@ void* SaveStack(int* num_frames, int first_frames_to_s | ||
void* frames[kMaxFrames]; | ||
auto count = backtrace(frames, kMaxFrames); | ||
- *num_frames = count - first_frames_to_skip; | ||
+ *num_frames = (int) (count - first_frames_to_skip); | ||
void* callstack = malloc(sizeof(void*) * *num_frames); | ||
memcpy(callstack, &frames[first_frames_to_skip], sizeof(void*) * *num_frames); | ||
return callstack; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters