Level / classic-level

An abstract-level database backed by LevelDB.
MIT License
58 stars 11 forks source link

Add suport for RISCV64 #94

Open lazyprogrammerio opened 1 month ago

lazyprogrammerio commented 1 month ago

Fixes: https://github.com/Level/classic-level/issues/93

vweevers commented 1 month ago

I prefer for this to be fixed upstream, so that we don't have to maintain patches here. If it's already fixed upstream (not unlikely, because we use an old version of LevelDB) then we should consider upgrading.

lazyprogrammerio commented 1 month ago

@vweevers thanks for the quick answer. Seems that upstream is not so well maintained, that's why I am trying here first, last commit was 10 years ago on that file: https://github.com/greenaddress/leveldb/commits/master/port/atomic_pointer.h.

lazyprogrammerio commented 1 month ago

@vweevers thanks for the quick answer. Seems that upstream is not so well maintained, that's why I am trying here first, last commit was 10 years ago on that file: https://github.com/greenaddress/leveldb/commits/master/port/atomic_pointer.h.

In upstream, it is possible to have had the issue fixed by this commit, but I have not tried yet. https://github.com/google/leveldb/commit/7d8e41e49b8fddda66a2c5f0a6a47f1a916e8d26#diff-c40252d7003a197df627e35eef63549c496b1d55209e09b68789270e41238025