This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/9799] New: malloc.c doesn't compile with HAVE_MMAP==0
- From: "contact at philipashmore dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 29 Jan 2009 07:43:26 -0000
- Subject: [Bug libc/9799] New: malloc.c doesn't compile with HAVE_MMAP==0
- Reply-to: sourceware-bugzilla at sourceware dot org
I'm rewriting malloc.c arena.c and hooks.c into C++ so I can have multiple
tunable heap types that present the same interface.
The glibc version I'm working with is 2.9.3 from OpenSuse.
During my "porting" effort I discovered that malloc.c, specifically the
sYSMALLOc function, defines a "goto" label called "try_mmap" inside an "#if
HAVE_MMAP" conditional.
This label is referenced further down, but not in a "#if HAVE_MMAP" conditional.
Hence a compilation failure when HAVE_MMAP == 0.
--
Summary: malloc.c doesn't compile with HAVE_MMAP==0
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P3
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: contact at philipashmore dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9799
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.