Date: Tue, 30 Aug 2016 20:13:44 +1000 (EST) From: Bruce Evans <brde@optusnet.com.au> To: hiren panchasara <hiren@strugglingcoder.info> Cc: Bruce Evans <brde@optusnet.com.au>, Bruce Evans <bde@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Subject: Re: svn commit: r304895 - head/usr.bin/netstat Message-ID: <20160830195941.V2030@besplex.bde.org> In-Reply-To: <20160830000121.GD27495@strugglingcoder.info> References: <201608271106.u7RB669G009115@repo.freebsd.org> <20160828183439.GU41576@strugglingcoder.info> <20160829050500.D3932@besplex.bde.org> <20160830000121.GD27495@strugglingcoder.info>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160830195941.V2030>