[Bug 209920] 11.0 -r303469 buildkernel via amd64-gcc fails for: .../dev/cxgb/ulp/tom/cxgb_listen.c:926:13: error: redundant redeclaration of 'tcp_dooptions'; (note retested: a different cxbge issue too)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 30 06:28:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209920

Mark Millard <markmi at dsl-only.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|11.0 -r300944 buildkernel   |11.0 -r303469 buildkernel
                   |via amd64-gcc fails for:    |via amd64-gcc fails for:
                   |.../dev/cxgb/ulp/tom/cxgb_l |.../dev/cxgb/ulp/tom/cxgb_l
                   |isten.c:926:13: error:      |isten.c:926:13: error:
                   |redundant redeclaration of  |redundant redeclaration of
                   |'tcp_dooptions'; a          |'tcp_dooptions'; (note
                   |different cxbge issue too   |retested: a different cxbge
                   |                            |issue too)
            Version|11.0-BETA1                  |11.0-BETA3

--- Comment #9 from Mark Millard <markmi at dsl-only.net> ---
Attempting to builds BETA3 via amd64-gcc again got the following so I'm
updating het information to track:

/usr/src/sys/modules/cxgb/tom/../../../dev/cxgb/ulp/tom/cxgb_listen.c:926:13:
error: redundant redeclaration of 'tcp_dooptions' [-Werror=redundant-decls]
 extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);
             ^
In file included from
/usr/src/sys/modules/cxgb/tom/../../../dev/cxgb/ulp/tom/cxgb_listen.c:49:0:
/usr/src/sys/netinet/tcp_var.h:766:7: note: previous declaration of
'tcp_dooptions' was here
 void  tcp_dooptions(struct tcpopt *, u_char *, int, int);
       ^
cc1: all warnings being treated as errors
*** [cxgb_listen.o] Error code 1

(I have not re-testd what was later reported in comments 1 or 4.)

Context:

make[5]: stopped in /usr/src/sys/modules/cxgb/tom

# uname -apKU
FreeBSD FreeBSDx64 11.0-BETA3 FreeBSD 11.0-BETA3 #1 r303469M: Fri Jul 29
03:54:43 PDT 2016    
markmi at FreeBSDx64:/usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODBG  amd64
amd64 1100120 1100120
# svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/11
Relative URL: ^/stable/11
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 303469
Node Kind: directory
Schedule: normal
Last Changed Author: gjb
Last Changed Rev: 303469
Last Changed Date: 2016-07-28 17:00:54 -0700 (Thu, 28 Jul 2016)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list