From owner-svn-src-all@FreeBSD.ORG Tue Aug 5 10:52:11 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F01B36EC; Tue, 5 Aug 2014 10:52:11 +0000 (UTC) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F79D2583; Tue, 5 Aug 2014 10:52:11 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 3280225D3892; Tue, 5 Aug 2014 10:52:09 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 5C4C5C26201; Tue, 5 Aug 2014 10:52:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id s0mDWbJtlVF6; Tue, 5 Aug 2014 10:52:04 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (unknown [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 28895C261FE; Tue, 5 Aug 2014 10:52:02 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r269540 - in head/sys: conf modules/an modules/arcnet modules/cam modules/carp modules/cxgb/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom modules/cxgbe/if_cxgbe modules/cxgbe/iw_cxgbe modu... From: "Bjoern A. Zeeb" In-Reply-To: Date: Tue, 5 Aug 2014 10:52:00 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <998B3BD1-A9BD-40DA-B13A-15636D3DCFF0@FreeBSD.org> References: <53e00b0f.529c.265fe830@svn.freebsd.org> To: Warner Losh X-Mailer: Apple Mail (2.1878.6) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 10:52:12 -0000 On 05 Aug 2014, at 10:31 , Bjoern A. Zeeb wrote: >=20 > On 04 Aug 2014, at 22:37 , Warner Losh wrote: >=20 >> Author: imp >> Date: Mon Aug 4 22:37:02 2014 >> New Revision: 269540 >> URL: http://svnweb.freebsd.org/changeset/base/269540 >>=20 >> Log: >> Move most of the 15 variations on generating opt_inet.h and >> opt_inet6.h into kmod.mk by forcing almost everybody to eat the same >> dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h >> targets here too. >>=20 >> Modified: >> head/sys/conf/kern.opts.mk >> head/sys/conf/kmod.mk >> head/sys/modules/an/Makefile >> head/sys/modules/arcnet/Makefile >> head/sys/modules/cam/Makefile >> head/sys/modules/carp/Makefile >> head/sys/modules/cxgb/cxgb/Makefile >> head/sys/modules/cxgb/iw_cxgb/Makefile >> head/sys/modules/cxgb/tom/Makefile >> head/sys/modules/cxgbe/if_cxgbe/Makefile >> head/sys/modules/cxgbe/iw_cxgbe/Makefile >> head/sys/modules/cxgbe/tom/Makefile >> head/sys/modules/dummynet/Makefile >> head/sys/modules/em/Makefile >> head/sys/modules/en/Makefile >> head/sys/modules/fatm/Makefile >> head/sys/modules/firewire/fwip/Makefile >> head/sys/modules/hatm/Makefile >> head/sys/modules/i40e/Makefile (contents, props changed) >> head/sys/modules/if_bridge/Makefile >> head/sys/modules/if_disc/Makefile >> head/sys/modules/if_faith/Makefile >> head/sys/modules/if_gif/Makefile >> head/sys/modules/if_gre/Makefile >> head/sys/modules/if_lagg/Makefile >> head/sys/modules/if_stf/Makefile >> head/sys/modules/if_tap/Makefile >> head/sys/modules/if_tun/Makefile >> head/sys/modules/igb/Makefile >> head/sys/modules/ip6_mroute_mod/Makefile >> head/sys/modules/ip_mroute_mod/Makefile >> head/sys/modules/ipdivert/Makefile >> head/sys/modules/ipfilter/Makefile >> head/sys/modules/ipfw/Makefile >> head/sys/modules/ipoib/Makefile >> head/sys/modules/ixgbe/Makefile >> head/sys/modules/krpc/Makefile >> head/sys/modules/linux/Makefile >> head/sys/modules/lmc/Makefile >> head/sys/modules/mlx4/Makefile >> head/sys/modules/mlx4ib/Makefile >> head/sys/modules/mlxen/Makefile >> head/sys/modules/mthca/Makefile >> head/sys/modules/netgraph/gif/Makefile >> head/sys/modules/netgraph/iface/Makefile >> head/sys/modules/netgraph/ipfw/Makefile >> head/sys/modules/netgraph/netflow/Makefile >> head/sys/modules/nfscl/Makefile >> head/sys/modules/nfsclient/Makefile >> head/sys/modules/nfslockd/Makefile >> head/sys/modules/nfsserver/Makefile >> head/sys/modules/patm/Makefile >> head/sys/modules/pf/Makefile >> head/sys/modules/pflog/Makefile >> head/sys/modules/pfsync/Makefile >> head/sys/modules/smbfs/Makefile >> head/sys/modules/snc/Makefile >> head/sys/modules/sppp/Makefile >> head/sys/modules/trm/Makefile >> head/sys/modules/virtio/network/Makefile >> head/sys/modules/vmware/vmxnet3/Makefile >> head/sys/modules/wlan/Makefile >> head/sys/modules/wlan_acl/Makefile >> head/sys/modules/wlan_amrr/Makefile >> head/sys/modules/wlan_ccmp/Makefile >> head/sys/modules/wlan_rssadapt/Makefile >> head/sys/modules/wlan_tkip/Makefile >> head/sys/modules/wlan_wep/Makefile >> head/sys/modules/wlan_xauth/Makefile >=20 > This broke a couple of kernel builds during universe: >=20 > mips AP91 kernel failed, check _.mips.AP91 for details > mips AP93 kernel failed, check _.mips.AP93 for details > mips AR724X_BASE kernel failed, check _.mips.AR724X_BASE for details > mips ENH200 kernel failed, check _.mips.ENH200 for details > mips DIR-825B1 kernel failed, check _.mips.DIR-825B1 for details > mips PB92 kernel failed, check _.mips.PB92 for details > mips PICOSTATION_M2HP kernel failed, check _.mips.PICOSTATION_M2HP for = details > mips WZR-300HP kernel failed, check _.mips.WZR-300HP for details > arm EFIKA_MX kernel failed, check _.arm.EFIKA_MX for details >=20 >=20 > They all seem to not define INET6 and AP91 errors look like this; all = seem to barf in the if_gif module built. Please investigate and = unbreak. Would be really nice if these commits were tested to build = and still give the same results upfront. I am mostly worried about the = latter actually. I should have fixed the build in r269581. The other concern remains. > -------------------------------------------------------------- >>>> Kernel build for AP91 started on Tue Aug 5 07:06:20 UTC 2014 > -------------------------------------------------------------- > =3D=3D=3D> AP91 > -------------------------------------------------------------- >>>> stage 1: configuring the kernel > -------------------------------------------------------------- > Kernel build directory is = /storage/head/obj//mips.mips/scratch/tmp/bz/head.svn/sys/AP91 > Don't forget to do ``make cleandepend && make depend'' > -------------------------------------------------------------- >>>> stage 2.1: cleaning up the object tree > -------------------------------------------------------------- > bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: = warning: Couldn't read shell's output for "cat = /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h" > -------------------------------------------------------------- >>>> stage 2.2: rebuilding the object tree > -------------------------------------------------------------- > bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: = warning: Couldn't read shell's output for "cat = /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h" >=20 > -------------------------------------------------------------- >>>> stage 2.3: build tools > -------------------------------------------------------------- > -------------------------------------------------------------- >>>> stage 3.1: making dependencies > -------------------------------------------------------------- > bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: = warning: Couldn't read shell's output for "cat = /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h" > -------------------------------------------------------------- >>>> stage 3.2: building everything > -------------------------------------------------------------- > bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: = warning: Couldn't read shell's output for "cat = /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h" > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:76: = error: 'GIF_HLIM' undeclared here (not in a function) > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:92: = error: 'in6_gif_input' undeclared here (not in a function) > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:93: = error: 'rip6_output' undeclared here (not in a function) > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:94: = error: 'rip6_ctloutput' undeclared here (not in a function) > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:95: = error: 'rip6_usrreqs' undeclared here (not in a function) > cc1: warnings being treated as errors > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:102: = warning: no previous prototype for 'in6_gif_output' = [-Wmissing-prototypes] > /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c: = In function 'in6_gif_output': > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:104: = error: 'struct gif_softc' has no member named 'gif_ro6' > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:192: = error: invalid application of 'sizeof' to incomplete type 'struct = ip6_hdr' > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:215: = error: dereferencing pointer to incomplete type > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: = error: dereferencing pointer to incomplete type > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: = error: 'IPV6_VERSION_MASK' undeclared (first use in this function) > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: = error: (Each undeclared identifier is reported only once > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: = error: for each function it appears in.) > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:217: = error: dereferencing pointer to incomplete type > = /scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:217: = error: =91IPV6_VERSION=92 undeclared (first use in this function) > . . . > [stripped another several dozen lines] > --- in6_gif.o --- > *** [in6_gif.o] Error code 1 >=20 > bmake: stopped in /scratch/tmp/bz/head.svn/sys/modules/if_gif > --- all_subdir_if_gif --- > *** [all_subdir_if_gif] Error code 1 >=20 > bmake: stopped in /scratch/tmp/bz/head.svn/sys/modules > --- modules-all --- > *** [modules-all] Error code 1 >=20 > bmake: stopped in = /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91 > linking kernel.debug > text data bss dec hex filename > 2708527 198924 147936 3055387 2e9f1b kernel.debug > --- buildkernel --- > *** [buildkernel] Error code 1 >=20 > bmake: stopped in /scratch/tmp/bz/head.svn > --- buildkernel --- > *** [buildkernel] Error code 1 >=20 > bmake: stopped in /scratch/tmp/bz/head.svn >=20 >=20 >=20 >=20 >=20 >=20 > =97=20 > Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames, = 1983 >=20 >=20 =97=20 Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames, 1983