This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug ports/4822] New: grow_heap: static linking warns about madvise() not implemented
- From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Jul 2007 11:21:09 -0000
- Subject: [Bug ports/4822] New: grow_heap: static linking warns about madvise() not implemented
- Reply-to: sourceware-bugzilla at sourceware dot org
When statically linking on a system on which madvise() wasn't ported, the linker complains:
/bin/../lib/gcc/i486-gnu/4.0.4/../../../libcrt.a(malloc.o): In function `grow_heap':
(.text+0x3t4): warning: warning: madvise is not implemented and will always fail
should there really be such linker warning for madvise() whose failure doesn't have any semantic consequences, just no boost of performance?
--
Summary: grow_heap: static linking warns about madvise() not
implemented
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ports
AssignedTo: roland at gnu dot org
ReportedBy: samuel dot thibault at ens-lyon dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4822
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.