[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#8394) LMDB fails GCC5 without -fno-strict-aliasing
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#8394) LMDB fails GCC5 without -fno-strict-aliasing
- From: bdallen@nps.edu
- Date: Fri, 01 Apr 2016 23:05:22 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Bruce Allen
Version: 2.4.44
OS: Fedora 23
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (205.155.65.226)
LMDB v0.9.18 crashes with segmentation fault in mdb.c line 6590 when compiled
using these compilers:
* gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2)
* x86_64-w64-mingw32-gcc (GCC) 5.2.0 20150716 (Fedora MinGW 5.2.0-1.fc23)
The crash happens afterrititing the 12'th item (with the same key but different
value using flags MDB_NODUPDATA and MDB_DUPSORT).
The problem goes away when compiling mdb.c with the -fno-strict-aliasing flag.