From owner-freebsd-current@FreeBSD.ORG Fri Jan 6 23:13:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4946B1065670 for ; Fri, 6 Jan 2012 23:13:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id F35118FC14 for ; Fri, 6 Jan 2012 23:13:34 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so2551124vbb.13 for ; Fri, 06 Jan 2012 15:13:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=wTiMbTyxCzLR01GybDn808cWa4+mvTYzguyDMTjrWgA=; b=eySgBlHm7UTNT8RQC+Cc0Kk2+GVKL4ua9Fdc/+V09G0YEnLYpmcxX+mPOb6dxsqbIm Sy/kovb7iIwDf5jvag0JSPO/8jVgzMWdxgQpjk2TAIWNFtwOWFBqGFq+5DX7TcOy6GH4 3Nm2kLR13gQ1okndtqcjMZFG7+sfCWMLqXzEc= MIME-Version: 1.0 Received: by 10.52.24.35 with SMTP id r3mr4001262vdf.81.1325891614159; Fri, 06 Jan 2012 15:13:34 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.36.5 with HTTP; Fri, 6 Jan 2012 15:13:34 -0800 (PST) In-Reply-To: <4F077C2D.6040309@zedat.fu-berlin.de> References: <4F077C2D.6040309@zedat.fu-berlin.de> Date: Fri, 6 Jan 2012 15:13:34 -0800 X-Google-Sender-Auth: QrZwX9IVnumKgFAy8iStQxso9nk Message-ID: From: Adrian Chadd To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Current FreeBSD Subject: Re: kernel: build fails in most recent sources in ath 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: Fri, 06 Jan 2012 23:13:35 -0000 Hi, You need to build the system with: options AH_SUPPORT_AR5416 .. even if you're not building _with_ the ath device. This is a byproduct of how the modules are currently built. I'm sorry for introducing this breakage. I'm going to try and fix the driver soon but it's going to require a little more extensive code shuffling and changes to make it "neat" to do. Adrian On 6 January 2012 14:56, O. Hartmann wrote: > Hello, > I receive this error since I reeled in the most recent sources for FBSD > 10.0-CURRENT/amd64. I build the system with CLANG. > > > > clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3 > -fno-strict-aliasing -march=3Dnative -D_KERNEL -DKLD_MODULE -nostdinc =A0= -I. > -I/usr/src/sys/modules/ath/../../dev/ath > -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal > -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/THOR/opt_global.h -I. -I@ -I@/contrib/altq > -fno-common =A0-fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THOR > -mno-aes -mno-avx -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign > -fformat-extensions =A0-Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality =A0-c > /usr/src/sys/modules/ath/../../dev/ath/if_ath_sysctl.c > clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3 > -fno-strict-aliasing -march=3Dnative -D_KERNEL -DKLD_MODULE -nostdinc =A0= -I. > -I/usr/src/sys/modules/ath/../../dev/ath > -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal > -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/THOR/opt_global.h -I. -I@ -I@/contrib/altq > -fno-common =A0-fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THOR > -mno-aes -mno-avx -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign > -fformat-extensions =A0-Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality =A0-c > /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c > /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3136:17: error: no > member named 'ts_flags' in 'struct ath_tx_status' > =A0 =A0 =A0 =A0hasba =3D !! (ts.ts_flags & HAL_TX_BA); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0~~ ^ > /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3139:13: error: no > member named 'ts_ba_low' in 'struct ath_tx_status' > =A0 =A0 =A0 =A0ba[0] =3D ts.ts_ba_low; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0~~ ^ > /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3140:13: error: no > member named 'ts_ba_high' in 'struct ath_tx_status' > =A0 =A0 =A0 =A0ba[1] =3D ts.ts_ba_high; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0~~ ^ > /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3156:16: error: no > member named 'ts_tid' in 'struct ath_tx_status' > =A0 =A0 =A0 =A0if (tid !=3D ts.ts_tid) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~~ ^ > /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3158:25: error: no > member named 'ts_tid' in 'struct ath_tx_status' > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0__func__, tid, ts.ts_tid); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~~ ^ > 5 errors generated. > >