Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 06:28:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [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)
Message-ID:  <bug-209920-6-TjDqmp10pw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209920-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209920-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209920

Mark Millard <markmi@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@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:1=
3:
error: redundant redeclaration of 'tcp_dooptions' [-Werror=3Dredundant-decl=
s]
 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=20=20=20=20
markmi@FreeBSDx64:/usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODBG  amd=
64
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)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209920-6-TjDqmp10pw>