r246916 probably broke amd64 build

From: Simon L. B. Nielsen <simon_at_qxnitro.org>
Date: Tue, 19 Feb 2013 14:22:45 +0000
Hey,

I think r246916 broke the build. I get the following when building amd64 kernel:

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
-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/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 -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -Werror  /usr/src/sys/x86/isa/clock.c
cc1: warnings being treated as errors
/usr/src/sys/x86/isa/clock.c: In function 'set_i8254_freq':
/usr/src/sys/x86/isa/clock.c:409: warning: 'new_mode' may be used
uninitialized in this function

Could you have a look? Thanks.

-- 
Simon L. B. Nielsen
Received on Tue Feb 19 2013 - 13:22:52 UTC

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