This is the mail archive of the libc-alpha@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] |
On Saturday 21 July 2007, Samuel Thibault wrote: > 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? of course. you tried to use a func that is stubbed out, so you get a warning about it. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |