svn commit: r304895 - head/usr.bin/netstat

Bruce Evans brde at optusnet.com.au
Tue Aug 30 10:14:04 UTC 2016


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


More information about the svn-src-head mailing list