summaryrefslogtreecommitdiff
path: root/open_issues
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-02-16 00:38:32 +0100
committerThomas Schwinge <thomas@schwinge.name>2012-02-16 00:38:32 +0100
commit2d8f33cb3f43e4d1617f952a4b25c36eca33e42a (patch)
treed8478d81927e8df043ca45ab8538e73e33c66b82 /open_issues
parentc7af747813fc1b3d8effc2d9f9682fecafdd64bd (diff)
open_issues/glibc_madvise_vs_static_linking: Update.
Diffstat (limited to 'open_issues')
-rw-r--r--open_issues/glibc_madvise_vs_static_linking.mdwn5
1 files changed, 4 insertions, 1 deletions
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