Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2012 23:56:45 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   kernel: build fails in most recent sources in ath
Message-ID:  <4F077C2D.6040309@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB96AB9B388A283C77AA244CE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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  -I=
=2E
-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  -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  -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-empty-body
-Wno-error-parentheses-equality  -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  -I=
=2E
-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  -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  -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-empty-body
-Wno-error-parentheses-equality  -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'
        hasba =3D !! (ts.ts_flags & HAL_TX_BA);
                    ~~ ^
/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'
        ba[0] =3D ts.ts_ba_low;
                ~~ ^
/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'
        ba[1] =3D ts.ts_ba_high;
                ~~ ^
/usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3156:16: error: no
member named 'ts_tid' in 'struct ath_tx_status'
        if (tid !=3D ts.ts_tid) {
                   ~~ ^
/usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3158:25: error: no
member named 'ts_tid' in 'struct ath_tx_status'
                    __func__, tid, ts.ts_tid);
                                   ~~ ^
5 errors generated.



--------------enigB96AB9B388A283C77AA244CE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBAgAGBQJPB3wtAAoJEOgBcD7A/5N8d2IH/0xJT9LDhlUDDQkIZLJYHysO
HrfdMC4JS4LceGI4eDdTPoP4INV2xd2pZ4Tsyv/xvlJ9eIRTA7EEdW5M33Xmygfe
dUMCvus0y7JYx+me19LpgjD887K0nnOuXgVwQnHCIi8z1W+nmW0TS7Q2hFjJSMKD
8TsfUAGKudyjBwvltDT3eFA/UkxmyGRXPsXHPYU7WoGQJsKzHzDiQo8a0x8bxjTr
p/N66dO2Q78YiJQW7VC7LCUXyCAhpKNld2FjgZQYTvzRKpkMRJVGhip2grp0UWBB
vns5cnHHR2JFvrFRSk/bUPykq85nakDmWH7MVQTA8JtPwTdaGedlFpMQqoyZVB8=
=+tmr
-----END PGP SIGNATURE-----

--------------enigB96AB9B388A283C77AA244CE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F077C2D.6040309>