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

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Wed, 26 Dec 2012 09:28:20 +0400
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>
Received on Wed Dec 26 2012 - 04:28:36 UTC

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