From 2d8f33cb3f43e4d1617f952a4b25c36eca33e42a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 16 Feb 2012 00:38:32 +0100 Subject: open_issues/glibc_madvise_vs_static_linking: Update. --- open_issues/glibc_madvise_vs_static_linking.mdwn | 5 ++++- shortcuts.mdwn | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/open_issues/glibc_madvise_vs_static_linking.mdwn b/open_issues/glibc_madvise_vs_static_linking.mdwn index bfda0f74..43b8314f 100644 --- a/open_issues/glibc_madvise_vs_static_linking.mdwn +++ b/open_issues/glibc_madvise_vs_static_linking.mdwn @@ -11,6 +11,8 @@ License|/fdl]]."]]"""]] [[!tag open_issue_glibc]] +[[!sourceware_bug 4822]]. + $ echo 'int main() {}' | gcc -o /dev/null -static -x c - /usr/lib/gcc/i486-gnu/4.4.5/../../../libcrt.a(malloc.o): In function `_int_free': (.text+0xdc3): warning: warning: madvise is not implemented and will always fail @@ -24,7 +26,8 @@ case of MADV_DONTNEED), but may influence its performance. The kernel is free to ignore the advice.* (`man madvise`), so we may simply want to turn it into a no-op in glibc, avoiding the link-time warning. -2011-07: This is what Samuel has done for Debian glibc. +2011-07: This is what Samuel has [done for Debian +glibc](http://anonscm.debian.org/viewvc/pkg-glibc/glibc-package/trunk/debian/patches/hurd-i386/local-madvise_warn.diff). GCC c5db973fdab3db3e13db575e5650c0bcfd3630f4 (2011-10-17) makes use of this. As we now export the symbol (and `MADV_DONTNEED`, too), GCC will no longer diff --git a/shortcuts.mdwn b/shortcuts.mdwn index fd4d4dee..5afa106e 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -97,3 +97,10 @@ ikiwiki will include your shortcut in the standard underlay. ## Notmuch'n'Gmane. * [[!shortcut name=message-id url="http://thread.gmane.org/%s" desc="""`id:"%s"`"""]] + + +## sourceware + + * [[!shortcut name=sourceware_bug + url="http://sourceware.org/bugzilla/show_bug.cgi?id=%s" + desc="sourceware.org bug #%s"]] -- cgit v1.2.3