Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2012 09:28:20 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Current FreeBSD <freebsd-current@FreeBSD.org>
Subject:   CURRENT is broken on 32 bit architectures for kernels with KTR enabled (r244445)
Message-ID:  <1602606631.20121226092820@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1602606631.20121226092820>