Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Note libc/net/Makefile.inc hostname lookup -fno-tree-ter...



details:   https://anonhg.NetBSD.org/src/rev/76befbb634dd
branches:  trunk
changeset: 772208:76befbb634dd
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Dec 24 05:05:55 2011 +0000

description:
Note libc/net/Makefile.inc hostname lookup -fno-tree-ter hacks for gcc 4.5 arm.

diffstat:

 doc/HACKS |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 2da72aeb4c87 -r 76befbb634dd doc/HACKS
--- a/doc/HACKS Sat Dec 24 04:59:00 2011 +0000
+++ b/doc/HACKS Sat Dec 24 05:05:55 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.121 2011/11/08 23:11:42 christos Exp $
+# $NetBSD: HACKS,v 1.122 2011/12/24 05:05:55 tsutsui Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -537,6 +537,23 @@
                really should be enough, but turns out not to be.
        kcah
 
+       hack    gcc-4.5 arm CNAME hostname lookup failure on
+               certain DNS environment (probably -ftree-ter problem)
+       cdate   Sat Dec 24 04:59:00 UTC 2011
+       mdate   
+       who     tsutsui
+       file    lib/libc/net/Makefile.inc 1.79
+       descr   Hostname lookup against CNAMEs by some commands fails
+               on certain DNS environments if lib/libc/net/gethnamaddr.c
+               (ping(8) etc) and lib/libc/net/getaddrinfo.c (ftp(1) etc)
+               are compiled with -O2, even though nslookup(1) against
+               the same CNAME returns proper hostname.
+               They works properly if compiled with -O2 -fno-tree-ter.
+               Also -O2 fails but -O2 -fno-tree-ter works on the following
+               test case in gcc bugzilla:
+               http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863#c4
+       kcah
+
 
 port   sh3
 



Home | Main Index | Thread Index | Old Index