Module Name:    src
Committed By:   tsutsui
Date:           Sat Dec 24 05:05:55 UTC 2011

Modified Files:
        src/doc: HACKS

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


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/HACKS
diff -u src/doc/HACKS:1.121 src/doc/HACKS:1.122
--- src/doc/HACKS:1.121	Tue Nov  8 23:11:42 2011
+++ src/doc/HACKS	Sat Dec 24 05:05:55 2011
@@ -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 @@ port	arm
 		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
 

Reply via email to