grow_heap: static linking warns about madvise() not implemented
Samuel Thibault
samuel.thibault@ens-lyon.org
Sat Jul 21 21:21:00 GMT 2007
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?
Samuel
More information about the Libc-alpha
mailing list