Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Feb 2014 16:39:08 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: LMDB test failures under musl on mips

Hi,

Thank you for the report. Can you provide some more details on where
it's failing such as the specific tests/assertions? I'll see if
someone with a mips setup can look at it.

Rich


On Thu, Feb 13, 2014 at 09:50:40PM +0100, Martin Lucina wrote:
> 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/

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.