CURRENT is broken on 32 bit architectures for kernels with KTR enabled (r244445)

Lev Serebryakov lev at FreeBSD.org
Wed Dec 26 05:28:36 UTC 2012


Hello, Current.

cc -c -O2 -pipe -fno-strict-aliasing -march=geode -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/data/src/sys -I/data/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  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  /data/src/sys/i386/i386/trap.c
cc1: warnings being treated as errors
In file included from /data/src/sys/i386/i386/trap.c:1136:
/data/src/sys/i386/i386/../../kern/subr_syscall.c: In function 'syscallenter':
/data/src/sys/i386/i386/../../kern/subr_syscall.c:80: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/data/src/sys/i386/i386/../../kern/subr_syscall.c:154: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

 It  was  introduced  by r244445, as it added new code (KTR_START4 and
 KTR_STOP4)  at lines 80 and 154.

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-current mailing list