Lendfating / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

skiplist_test fails on Debian mips #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
==== PASSED 6 tests
***** Running skiplist_test
==== Test SkipTest.Empty
==== Test SkipTest.InsertAndLookup
==== Test SkipTest.ConcurrentWithoutThreads
==== Test SkipTest.Concurrent1
Run 0 of 1000
db/skiplist_test.cc:243: failed: 2199023268261 <= 1099511639877 should not go 
backwards
make[1]: *** [check] Error 1

Full buildlog is available here:
https://buildd.debian.org/status/fetch.php?pkg=leveldb&arch=mips&ver=0%2B2012053
0.gitdd0d562-2&stamp=1342539098

Original issue reported on code.google.com by quadris...@gmail.com on 18 Jul 2012 at 8:24

GoogleCodeExporter commented 9 years ago
My first guess is that the atomic pointer implementation for mips is incorrect. 
 There isn't a custom one in the leveldb distribution, so either you added one 
or you are using the <cstdatomic> version.  Please check which one and try to 
figure out who should fix the problem.

Original comment by san...@google.com on 12 Oct 2012 at 8:30

GoogleCodeExporter commented 9 years ago
Here is the patch we used to apply to provide a custom implementation for MIPS:
http://goo.gl/i19xp

I'm going to drop it and try to build the package with the <atomic> 
implementation, I'll keep you informed about the progress.

Original comment by quadris...@gmail.com on 15 Oct 2012 at 10:33