mailing list of musl libc
 help / color / mirror / code / Atom feed
* LMDB test failures under musl on mips
@ 2014-02-13 20:50 Martin Lucina
  2014-02-13 21:39 ` Rich Felker
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Martin Lucina @ 2014-02-13 20:50 UTC (permalink / raw)
  To: musl

Hi,

I'm currently using musl libc and LMDB [1] in a new project. When
developing on a Debian x86_64 host everything works fine, but when building
for a target device (OpenWRT mips or mipsel, I've tried both) with static
linking my LMDB code starts failing with assertions and/or segfaults inside
LMDB itself.

Cross-compiling to statically linked musl on x86_64 does not have the
problem.

It's possible that the problem is LMDB itself; I can ask on the OpenLDAP
lists but I'd like to check here first if someone else has encountered this
problem?

You can reproduce the problem fairly easily by building the mtest* programs
that come with LMDB. Running mtest a few times (after creating ./testdb)
reliably gives either a segfault or various assertion failures in LMDB.

Note that I'm using the prebuilt toolchains from musl.codu.org (thanks!),
and the 0.9,15 release.

Any ideas?

Thanks,

Martin

[1] http://symas.com/mdb/


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-14 15:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 20:50 LMDB test failures under musl on mips Martin Lucina
2014-02-13 21:39 ` Rich Felker
2014-02-13 21:42 ` Szabolcs Nagy
2014-02-13 23:26 ` Szabolcs Nagy
2014-02-14  9:31   ` Martin Lucina
2014-02-14 10:26     ` Szabolcs Nagy
2014-02-14 15:53       ` Martin Lucina

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).