Subject: Re: kern/35364: Kernel compile fails due to code warning on
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yancm@sdf.lonestar.org>
List: netbsd-bugs
Date: 01/06/2007 20:10:03
The following reply was made to PR kern/35364; it has been noted by GNATS.

From: yancm@sdf.lonestar.org
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/35364: Kernel compile fails due to code warning on 
     sys/net/if_ethersubr.c
Date: Sat, 6 Jan 2007 15:09:37 -0500 (EST)

 > The following reply was made to PR kern/35364; it has been noted by GNATS.
 >
 > From: Manuel Bouyer <bouyer@antioche.eu.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
 > 	netbsd-bugs@NetBSD.org
 > Subject: Re: kern/35364: Kernel compile fails due to code warning on
 > sys/net/if_ethersubr.c
 > Date: Sat, 6 Jan 2007 15:51:22 +0100
 >
 >  --nFreZHaLTZJo0R7j
 >  Content-Type: text/plain; charset=us-ascii
 >  Content-Disposition: inline
 >
 >  On Sat, Jan 06, 2007 at 03:27:00PM +0100, Manuel Bouyer wrote:
 >  > On Sat, Jan 06, 2007 at 01:05:00AM +0000, yancm@sdf.lonestar.org wrote:
 >  > > For about the last 2-3 weeks, I have been unable to build the kernel
 > from a clean CVS. The fix is aparently trivial - comment or delete
 > line 1034 to eliminate the unused label statement.
 >  > >
 >  > > The build.sh job fails with:
 >  > > Every time I try to compile my kernel (mostly a tuned i386 GENERIC
 > with raid, ipf and ippool support) this crashes until I delete or
 > comment out the offending line of unused label/unreachable code.
 >  > > >Fix:
 >  > > Delete or comment out line 1034 in sys/net/if_ethersubr.c per the
 > compile error.
 >  >
 >  > No, this label is used in some cases. I guess your kernel config file
 > has
 >  > LLC without ISO nor NETATALK, can you confirm ?
 >
 >  The attached patch should fix it, can you confirm ?
 
 Hey Manuel,
 
 I can confirm I have LLC without ISO nor NETATALK presently.
 I suspect I can remove this though since I do not think I am
 using x.25 networking.
 
 I can also confirm that the patch fixes the build issue with my
 config as is.
 
 Much Thanks!
 --gene