Re: [head tinderbox] failure on ia64/ia64

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Fri, 26 Apr 2013 12:56:32 +0400
On Thu, Apr 25, 2013 at 10:13:33PM +0000, FreeBSD Tinderbox wrote:
F> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/netinet/ip_output.c
F> cc1: warnings being treated as errors
F> /src/sys/netinet/ip_output.c: In function 'ip_output':
F> /src/sys/netinet/ip_output.c:625: warning: cast discards qualifiers from pointer target type
F> /src/sys/netinet/ip_output.c:659: warning: cast discards qualifiers from pointer target type

So, the r249894 appeared buildable on clang, but not on gcc.

What I can do is to change if_output declaration to use pointer to a constant
sockaddr. The change requires editing a lot, and changes API. However this is
a change in a right direction.

Any objections?

-- 
Totus tuus, Glebius.
Received on Fri Apr 26 2013 - 06:56:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC