From owner-freebsd-current@FreeBSD.ORG Mon Aug 20 14:27:35 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0A4610656D8 for ; Mon, 20 Aug 2012 14:27:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C32C98FC18 for ; Mon, 20 Aug 2012 14:27:34 +0000 (UTC) Received: by dadr6 with SMTP id r6so2337917dad.13 for ; Mon, 20 Aug 2012 07:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nWa3QMYMk3R/tCKeqWzu8Rhb8O6Er6UL1VUUug2M0IM=; b=uxAoxLt/aNOHC+ZDDMXT1y/TMqdQA8qMoIJYcmZsi7qzxQD3KMq7B8MOw8g1hxZ/Do 2/md/LkePZCmYhvNjC+IHYAEBRxOGBTgS1pd1zSZTtBs9NnE9gqh7YzZhlpmQWP2YLqR ve5xMyQgdA3390GoldEliymKJPXryMe6RHjQ2aPjFn93HpJr6TMIAcA/vyC76TIksjis U1An/DmZ3jVD7Sami4Uim68mzVSmXNFqAQ9DyUgAO4a84GHBPl6olYnJC0xjI8H2xOFb hsJ3HbXWU2Gm2cnnugl3CvsaDcOLdfMBzteVzgvC7gQQAYctkIPwK/p8MSZQ/himEHGq O6ug== MIME-Version: 1.0 Received: by 10.68.231.233 with SMTP id tj9mr34810385pbc.39.1345472854114; Mon, 20 Aug 2012 07:27:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.43.169 with HTTP; Mon, 20 Aug 2012 07:27:34 -0700 (PDT) In-Reply-To: <20120820120925.GE1415@albert.catwhisker.org> References: <20120820120925.GE1415@albert.catwhisker.org> Date: Mon, 20 Aug 2012 07:27:34 -0700 X-Google-Sender-Auth: dEvVofuJz4X-uKAu-dEKrOufVjQ Message-ID: From: Adrian Chadd To: David Wolfskill Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: FreeBSD buildkernel fails @r239409 in sys/dev/ath/if_ath_tx.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 14:27:35 -0000 Yup, I forgot an #ifdef ATH_DEBUG. I'll fix it shortly. Adrian On 20 August 2012 05:09, David Wolfskill wrote: > This is using clang: > > ... >>>> stage 3.2: building everything > cd /usr/obj/usr/src/sys/CANARY; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH= =3Di386 MACHINE=3Di386 CPUTYPE=3D GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/l= egacy/usr/bin GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/grof= f_font GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLI= BDIRPREFIX=3D/usr/obj/usr/src/tmp _LDSCRIPTROOT=3D VERSION=3D"FreeBSD 10.= 0-CURRENT i386 1000017" INSTALL=3D"sh /usr/src/tools/install.sh" PATH=3D/= usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/us= r/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/u= sr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr= /bin /usr/obj/usr/src/make.i386/make KERNEL=3Dkernel all -DNO_MODULES_OBJ > clang -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs= -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-= qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs= -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empt= y-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/us= r/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_= global.h -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -= fstack-protector -Werror /usr/src/sys/dev/ath/if_ath_tx.c -I/usr/src/sys/d= ev/ath > /usr/src/sys/dev/ath/if_ath_tx.c:379:22: error: use of undeclared identif= ier > 'ATH_DEBUG_XMIT' > if (sc->sc_debug & ATH_DEBUG_XMIT) > ^ > /usr/src/sys/dev/ath/if_ath_tx.c:380:4: error: implicit declaration of fu= nction > 'ath_printtxbuf' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > ath_printtxbuf(sc, bf, qnum, 0, 0); > ^ > 2 errors generated. > *** [if_ath_tx.o] Error code 1 > > Stop in /common/S4/obj/usr/src/sys/CANARY. > *** [buildkernel] Error code 1 > > Stop in /usr/src. > *** [buildkernel] Error code 1 > > Stop in /usr/src. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Depriving a girl or boy of an opportunity for education is evil. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key.