From nobody@FreeBSD.org  Tue Apr 21 13:11:06 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 335D61065675
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Apr 2009 13:11:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 20D4C8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Apr 2009 13:11:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3LDB5OQ092655
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Apr 2009 13:11:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n3LDB5Y3092654;
	Tue, 21 Apr 2009 13:11:05 GMT
	(envelope-from nobody)
Message-Id: <200904211311.n3LDB5Y3092654@www.freebsd.org>
Date: Tue, 21 Apr 2009 13:11:05 GMT
From: Joo Rocha Braga Filho <goffredo@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133892
>Category:       kern
>Synopsis:       /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    adrian
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 21 13:20:00 UTC 2009
>Closed-Date:    
>Last-Modified:  Thu Nov 29 20:28:28 UTC 2012
>Originator:     Joo Rocha Braga Filho
>Release:        FreeBSD 7.1 AMD64
>Organization:
Paraty.com
>Environment:
FreeBSD super.paraty.com 7.1-STABLE FreeBSD 7.1-STABLE #1: Wed Feb 11 18:11:05 BRST 2009     root@super.paraty.com:/usr/obj/usr/src/sys/SUPER  amd64

>Description:
I've made csup to the latest version, RELENG_7, "made buildkernel", and happened this:

"
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror  /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
/usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
/usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags'
*** Error code 1

Stop in /usr/obj/usr/src/sys/SUPER.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
"
>How-To-Repeat:
recompilation repeat this error.
>Fix:
May be inserting 'const struct ath_rx_status' has in 'rs_flags'

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: =?koi8-r?Q?Jo=E3o?= Rocha Braga Filho <goffredo@gmail.com>
Cc: Sam Leffler <sam@FreeBSD.org>, bug-followup@FreeBSD.org
Subject: Re: kern/133892: /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const
	struct ath_rx_status' has no member named 'rs_flags'
Date: Tue, 21 Apr 2009 17:49:29 +0400

 On Tue, Apr 21, 2009 at 01:11:05PM +0000, Joo Rocha Braga Filho wrote:
 > >Number:         133892
 > >Category:       kern
 > >Synopsis:       /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Tue Apr 21 13:20:00 UTC 2009
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Joo Rocha Braga Filho
 > >Release:        FreeBSD 7.1 AMD64
 > >Organization:
 > Paraty.com
 > >Environment:
 > FreeBSD super.paraty.com 7.1-STABLE FreeBSD 7.1-STABLE #1: Wed Feb 11 18:11:05 BRST 2009     root@super.paraty.com:/usr/obj/usr/src/sys/SUPER  amd64
 > 
 > >Description:
 > I've made csup to the latest version, RELENG_7, "made buildkernel", and happened this:
 > 
 > "
 > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath= 387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror  /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
 > /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
 > /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
 > /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags'
 > *** Error code 1
 > 
 > Stop in /usr/obj/usr/src/sys/SUPER.
 > *** Error code 1
 > 
 I've reported this to Sam a while ago.  The solution exists, but is not
 immediate (not in SVN/CVS yet).  In the mean time you can do:
 
 rm -rf /usr/obj
 
 Then your buildkernel will complete successfully.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer

From: Ruslan Ermilov <ru@freebsd.org>
To: Joao Rocha Braga Filho <goffredo@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/133892: /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const
	struct ath_rx_status' has no member named 'rs_flags'
Date: Tue, 21 Apr 2009 19:36:47 +0400

 On Tue, Apr 21, 2009 at 11:41:23AM -0300, Joao Rocha Braga Filho wrote:
 > 2009/4/21 Ruslan Ermilov <ru@freebsd.org>:
 > > On Tue, Apr 21, 2009 at 01:11:05PM +0000, Joo Rocha Braga Filho wrote:
 > >> >Number:     133892
 > >> >Category:    kern
 > >> >Synopsis:    /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
 > >> >Confidential:  no
 > >> >Severity:    critical
 > >> >Priority:    medium
 > >> >Responsible:  freebsd-bugs
 > >> >State:     open
 > >> >Quarter:
 > >> >Keywords:
 > >> >Date-Required:
 > >> >Class:     sw-bug
 > >> >Submitter-Id:  current-users
 > >> >Arrival-Date:  Tue Apr 21 13:20:00 UTC 2009
 > >> >Closed-Date:
 > >> >Last-Modified:
 > >> >Originator:   Joo Rocha Braga Filho
 > >> >Release:    FreeBSD 7.1 AMD64
 > >> >Organization:
 > >> Paraty.com
 > >> >Environment:
 > >> FreeBSD super.paraty.com 7.1-STABLE FreeBSD 7.1-STABLE #1: Wed Feb 11 18:11:05 BRST 2009   root@super.paraty.com:/usr/obj/usr/src/sys/SUPER amd64
 > >>
 > >> >Description:
 > >> I've made csup to the latest version, RELENG_7, "made buildkernel", and happened this:
 > >>
 > >> "
 > >> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpma th=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
 > >> /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
 > >> /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
 > >> /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags'
 > >> *** Error code 1
 > >>
 > >> Stop in /usr/obj/usr/src/sys/SUPER.
 > >> *** Error code 1
 > >>
 > > I've reported this to Sam a while ago. The solution exists, but is not
 > > immediate (not in SVN/CVS yet). In the mean time you can do:
 > >
 > > rm -rf /usr/obj
 > >
 > > Then your buildkernel will complete successfully.
 > 
 > Thanks, but...
 > 
 > didn't worked.
 > 
 > I will wait a while.
 > 
 Then please add "options AH_SUPPORT_AR5416" to your kernel config.
 It's actually not optional now, due to above mentioned problem.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer
Responsible-Changed-From-To: freebsd-bugs->sam 
Responsible-Changed-By: ru 
Responsible-Changed-When: Wed Apr 22 06:05:23 UTC 2009 
Responsible-Changed-Why:  
A friendly reminder that "option AH_SUPPORT_AR5416" should actually 
be made optional. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133892 
Responsible-Changed-From-To: sam->adrian 
Responsible-Changed-By: adrian 
Responsible-Changed-When: Thu Nov 29 20:27:35 UTC 2012 
Responsible-Changed-Why:  
I've been meaning to tidy this code up so the 802.11n stuff becomes 
correctly optional again. 

Thus, I'll nab this, and attack it with a slightly larger stick. 
(Since my 802.11n TX aggregation code makes the driver not compile 
without AH_SUPPORT_AR5416 enabled.) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=133892 
>Unformatted:
