facebook / facebook/rocksdb

rocksdb built with gcc-7.3.0 and mingw-w64-5.0.3 hits assertion

Open
#3,984 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

So I've built rocksdb-shared on macOS using gcc/mingw-w64 from brew.

This builds the `librocksdb-shared.dll` just fine, but when using it, instead of
a prebuilt `rocksdb.dll` with msvc, it hits this assert here:

https://github.com/facebook/rocksdb/blob/f9e0a0651244f9cea60e9fffadb73c27ee850ff5/db/column_family.cc#L477

I speculate that this is due to using libwinpthreads and the thread local storage destructors in https://github.com/facebook/rocksdb/blob/a6d8e30c05ac1a2cd4bfa9aa7d95a498b02b354c/util/thread_local.cc with lots of `OS_WIN` ifdefs. I could be wrong though.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.