build with KTR and KTR_CPUMASK

2012-04-13 Thread Aleksandr Rybalko
Hi,

When kernel build with option KTR_CPUMASK, build failed with following
error:

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/usr/1/MIPS_FreeBSD/HEAD/head/sys
-I/usr/1/MIPS_FreeBSD/HEAD/head/sys/contrib/altq
-I/usr/1/MIPS_FreeBSD/HEAD/head/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=1 --param
large-function-growth=10 --param max-inline-insns-single=1
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80001000 -march=mips32
-msoft-float -ffreestanding
-Werror  /usr/1/MIPS_FreeBSD/HEAD/head/sys/kern/kern_ktr.c cc1:
warnings being treated as
errors /usr/1/MIPS_FreeBSD/HEAD/head/sys/kern/kern_ktr.c: In function
'ktr_cpumask_initializer': 
/usr/1/MIPS_FreeBSD/HEAD/head/sys/kern/kern_ktr.c:112:
warning: passing argument 2 of 'cpusetobj_strscan' makes pointer from
integer without a cast *** Error code 1

SVN revision 234222.

WBW
-- 
Alexandr Rybalko r...@dlink.ua 
aka Alex RAY r...@ddteam.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: build with KTR and KTR_CPUMASK

2012-04-13 Thread Attilio Rao
Please read NOTES.

Attilio

Il 13 aprile 2012 14:37, Aleksandr Rybalko r...@dlink.ua ha scritto:
 Hi,

 When kernel build with option KTR_CPUMASK, build failed with following
 error:

 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/usr/1/MIPS_FreeBSD/HEAD/head/sys
 -I/usr/1/MIPS_FreeBSD/HEAD/head/sys/contrib/altq
 -I/usr/1/MIPS_FreeBSD/HEAD/head/sys/contrib/libfdt -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=8000 --param inline-unit-growth=1 --param
 large-function-growth=10 --param max-inline-insns-single=1
 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80001000 -march=mips32
 -msoft-float -ffreestanding
 -Werror  /usr/1/MIPS_FreeBSD/HEAD/head/sys/kern/kern_ktr.c cc1:
 warnings being treated as
 errors /usr/1/MIPS_FreeBSD/HEAD/head/sys/kern/kern_ktr.c: In function
 'ktr_cpumask_initializer': 
 /usr/1/MIPS_FreeBSD/HEAD/head/sys/kern/kern_ktr.c:112:
 warning: passing argument 2 of 'cpusetobj_strscan' makes pointer from
 integer without a cast *** Error code 1

 SVN revision 234222.

 WBW
 --
 Alexandr Rybalko r...@dlink.ua
 aka Alex RAY r...@ddteam.net
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org



-- 
Peace can only be achieved by understanding - A. Einstein
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: build with KTR and KTR_CPUMASK

2012-04-13 Thread Aleksandr Rybalko
On Fri, 13 Apr 2012 14:53:41 +0100
Attilio Rao atti...@freebsd.org wrote:

 Please read NOTES.

It is really my fault, but with different source :)
Sorry for noise.

P.S. It was wrong kernel config generated by zrouter.

WBW
-- 
Aleksandr Rybalko r...@ddteam.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org