This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/9799] New: malloc.c doesn't compile with HAVE_MMAP==0


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]