Re: WITHOUT_INET6 broken on CURRENT

From: Garrett Cooper <yanefbsd_at_gmail.com>
Date: Mon, 9 Feb 2009 11:19:01 -0800
On Mon, Feb 9, 2009 at 3:20 AM, Randall Stewart <rrs_at_lakerest.net> wrote:
> Garrett:
>
> Pointy hat to me :-)
>
> I will be committing a fix within the next few minutes (also adding the
> no-v6 option to
> my build list :-D)
>
> Thanks
>
> R
> On Feb 8, 2009, at 7:59 PM, Garrett Cooper wrote:
>
>> Hi Randall,
>>   I recently rebuilt my sources today and I noticed that it's now
>> breaking on a valid warning with sctp:
>>
>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona
>> -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
>> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
>> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc
>> -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
>> -finline-limit=8000 --param inline-unit-growth=100 --param
>> large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
>> -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
>> -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables
>> -ffreestanding -fstack-protector -Werror
>> /usr/src/sys/netinet/sctputil.c
>> cc1: warnings being treated as errors
>> In file included from /usr/src/sys/netinet/sctputil.c:6553:
>> /usr/src/sys/netinet6/sctp6_var.h:57: warning: 'struct icmp6_hdr'
>> declared inside parameter list
>> /usr/src/sys/netinet6/sctp6_var.h:57: warning: its scope is only this
>> definition or declaration, which is probably not what you want
>> *** Error code 1
>>
>> Stop in /usr/obj/usr/src/sys/OPTIMUS.
>> *** Error code 1
>>
>> Stop in /usr/src.
>> *** Error code 1
>>
>> Stop in /usr/src.
>>
>>   I'm going to rebuild setting WITHOUT_SCTP for now, but this needs
>> to be fixed.
>> Thanks,
>> -Garrett

Thanks a million Randall ;).
-Garrett
Received on Mon Feb 09 2009 - 18:19:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC