From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 25 12:10:28 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 827B716A4DF for ; Tue, 25 Jul 2006 12:10:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C855943D77 for ; Tue, 25 Jul 2006 12:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6PCAH2K058515 for ; Tue, 25 Jul 2006 12:10:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6PCAH6V058514; Tue, 25 Jul 2006 12:10:17 GMT (envelope-from gnats) Resent-Date: Tue, 25 Jul 2006 12:10:17 GMT Resent-Message-Id: <200607251210.k6PCAH6V058514@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yar Tikhiy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6BD216A51E for ; Tue, 25 Jul 2006 12:00:36 +0000 (UTC) (envelope-from yar@jujik.ramtel.ru) Received: from jujik.ramtel.ru (jujik.ramtel.ru [81.19.64.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1588F43D45 for ; Tue, 25 Jul 2006 12:00:35 +0000 (GMT) (envelope-from yar@jujik.ramtel.ru) Received: from jujik.ramtel.ru (localhost [127.0.0.1]) by jujik.ramtel.ru (8.13.7/8.13.7) with ESMTP id k6PC0YVM056078 for ; Tue, 25 Jul 2006 16:00:34 +0400 (MSD) (envelope-from yar@jujik.ramtel.ru) Received: (from yar@localhost) by jujik.ramtel.ru (8.13.7/8.13.7/Submit) id k6PC0XpC056077; Tue, 25 Jul 2006 16:00:33 +0400 (MSD) (envelope-from yar) Message-Id: <200607251200.k6PC0XpC056077@jujik.ramtel.ru> Date: Tue, 25 Jul 2006 16:00:33 +0400 (MSD) From: Yar Tikhiy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/100805: WITHOUT_INET6 is ignored by many src/ components X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 12:10:28 -0000 >Number: 100805 >Category: bin >Synopsis: WITHOUT_INET6 is ignored by many src/ components >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 25 12:10:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yar Tikhiy >Release: FreeBSD 7.0-CURRENT i386 >Organization: None >Environment: System: FreeBSD jujik.ramtel.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Tue Jun 27 14:45:05 MSD 2006 glebius@jujik.ramtel.ru:/usr/obj/usr/src/sys/JUJIK i386 >Description: The src.conf knob WITHOUT_INET6 should disable building IPv6-related tools and turn off IPv6 support in multi-protocol tools. However, a lot of tools still ignore the knob and include IPv6 support nevertheless. This is indicated by the presence of "-DINET6" in the output from buildworld. The largest component ignoring WITHOUT_INET6 seems to be Heimdal/KerberosV, but it's by no means the only one. E.g., src/lib/libc/net/Makefile.inc adds -DINET6 to CFLAGS unconditionally, which is likely to conceal related bugs in utilities. >How-To-Repeat: # make buildworld SRC_CONF=/dev/null __MAKE_CONF=/dev/null WITHOUT_INET6=yes >& /tmp/w.out # fgrep -e -DINET6 /tmp/w.out 4302 # fgrep -e -DINET6 /tmp/w.out | grep -vE 'kerberos|heimdal' | wc -l 3257 # fgrep -e -DINET6 /tmp/w.out | grep -vE 'kerberos|heimdal' | tail cc -O2 -fno-strict-aliasing -pipe -DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -c /usr/home/yar/src/usr.sbin/rtsold/if.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -c /usr/home/yar/src/usr.sbin/rtsold/probe.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -c /usr/home/yar/src/usr.sbin/rtsold/dump.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -c /usr/home/yar/src/usr.sbin/rtsold/rtsock.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -o rtsold rtsold.o rtsol.o if.o probe.o dump.o rtsock.o -lkvm cc -O2 -fno-strict-aliasing -pipe -DINET6 -I/usr/home/yar/src/usr.sbin/syslogd/../../usr.bin/wall -Wsystem-headers -Werror -c /usr/home/yar/src/usr.sbin/syslogd/syslogd.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -I/usr/home/yar/src/usr.sbin/syslogd/../../usr.bin/wall -Wsystem-headers -Werror -c /usr/home/yar/src/usr.sbin/syslogd/../../usr.bin/wall/ttymsg.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -I/usr/home/yar/src/usr.sbin/syslogd/../../usr.bin/wall -Wsystem-headers -Werror -o syslogd syslogd.o ttymsg.o -lutil cc -O2 -fno-strict-aliasing -pipe -DINET6 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -c /usr/home/yar/src/usr.sbin/trpt/trpt.c cc -O2 -fno-strict-aliasing -pipe -DINET6 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -o trpt trpt.o >Fix: Revise such components' Makefiles. >Release-Note: >Audit-Trail: >Unformatted: