Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 07:14:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 209920] 11.0 -r300944 buildkernel via amd64-gcc fails for: .../dev/cxgb/ulp/tom/cxgb_listen.c:926:13: error: redundant redeclaration of 'tcp_dooptions'; a different cxbge issue too
Message-ID:  <bug-209920-6-W6m5JlnXDQ@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

--- Comment #5 from Mark Millard <markmi@dsl-only.net> ---
(In reply to Mark Millard from comment #4)

As of 11.0 -r301815 the example changes tested have not been applied and so=
 the
status has not changed. (I can not update official FreeBSD source so someone
else would have to.)

# svnlite diff /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c
Index: /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c (revision 301815)
+++ /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c (working copy)
@@ -923,7 +923,7 @@
 }

 /* XXX */
-extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);
+//extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);

 int
 t3_syncache_respond(struct toedev *tod, void *arg, struct mbuf *m)
# svnlite diff /usr/src/sys/dev/cxgbe/tom/t4_listen.c
Index: /usr/src/sys/dev/cxgbe/tom/t4_listen.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/src/sys/dev/cxgbe/tom/t4_listen.c      (revision 301815)
+++ /usr/src/sys/dev/cxgbe/tom/t4_listen.c      (working copy)
@@ -636,7 +636,7 @@
        refcount_acquire(&synqe->refcnt);
 }

-static inline void
+static /* inline */ void
 release_synqe(struct synq_entry *synqe)
 {

@@ -666,7 +666,7 @@
 }

 /* XXX */
-extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);
+//extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);

 int
 t4_syncache_respond(struct toedev *tod, void *arg, struct mbuf *m)

--=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-W6m5JlnXDQ>