From owner-svn-src-head@freebsd.org Tue Aug 30 10:14:04 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68A67B789C0; Tue, 30 Aug 2016 10:14:04 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail107.syd.optusnet.com.au (mail107.syd.optusnet.com.au [211.29.132.53]) by mx1.freebsd.org (Postfix) with ESMTP id 32C46CFC; Tue, 30 Aug 2016 10:14:03 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c122-106-149-109.carlnfd1.nsw.optusnet.com.au (c122-106-149-109.carlnfd1.nsw.optusnet.com.au [122.106.149.109]) by mail107.syd.optusnet.com.au (Postfix) with ESMTPS id A89BCD4362D; Tue, 30 Aug 2016 20:13:44 +1000 (AEST) Date: Tue, 30 Aug 2016 20:13:44 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: hiren panchasara cc: Bruce Evans , Bruce Evans , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Subject: Re: svn commit: r304895 - head/usr.bin/netstat In-Reply-To: <20160830000121.GD27495@strugglingcoder.info> Message-ID: <20160830195941.V2030@besplex.bde.org> References: <201608271106.u7RB669G009115@repo.freebsd.org> <20160828183439.GU41576@strugglingcoder.info> <20160829050500.D3932@besplex.bde.org> <20160830000121.GD27495@strugglingcoder.info> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=EfU1O6SC c=1 sm=1 tr=0 a=R/f3m204ZbWUO/0rwPSMPw==:117 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=_M-uqYzlgCjfyfPiSZcA:9 a=CjuIK1q_8ugA:10 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 10:14:04 -0000 On Mon, 29 Aug 2016, hiren panchasara wrote: > On 08/29/16 at 05:14P, Bruce Evans wrote: >> On Sun, 28 Aug 2016, hiren panchasara wrote: >> >>> On 08/27/16 at 11:06P, Bruce Evans wrote: >>>> >>>> Log: >>>> Fix build without INET6 and with gcc. A function definition was ifdefed >>>> for INET6, but its protototype was not, and gcc detects the error. >>>> >>>> Modified: >>>> head/usr.bin/netstat/route.c >>> >>> Thanks for the fix. >>> >>> Wouldn't stable/11 be broken in the same way? >> >> Probably. >> >> This only affects gcc users who omit INET6, and much more is broken for >> stable/11 for gcc. > > Broken as in couldn't build? I don't think so. gcc + no-v6 seems like a > special case but I think this should be fixed in 11. If you don't want > to, I'll MFC the change myself. :-) Couldn't build. Building gives at least the same failures as -current used to have: - openssl has hard-coded AVX asms not supported by old binutils (even in FreeBSD-11 IIRC). Fixed in -current. Awaiting MFC. - after turning off openssl, about 20 more things break, including some things that shouldn't be optional. Hacked around in my checkout, but only for -current - something with c+11 for libunwind. Breaks building -current too. Hacked around in my copy, but only for -current. Universe builds are much more broken. No amd64 or i386 kernel builds, due to hard-coded -msse4 -mpclmul in CFLAGS for aesni. Perhaps much more, but the build stops on these flags early. Please MFC it to all affected branches. Bruce