Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 14:53:41 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Aleksandr Rybalko <ray@dlink.ua>
Cc:        current@freebsd.org
Subject:   Re: build with KTR and KTR_CPUMASK
Message-ID:  <CAJ-FndBz2jDFVb3MNnNfaHxd%2BShuGuo=AuTbMqjrXT=eBEnwtA@mail.gmail.com>
In-Reply-To: <20120413163729.3ecd1136.ray@dlink.ua>
References:  <20120413163729.3ecd1136.ray@dlink.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Please read NOTES.

Attilio

Il 13 aprile 2012 14:37, Aleksandr Rybalko <ray@dlink.ua> ha scritto:
> Hi,
>
> When kernel build with option KTR_CPUMASK, build failed with following
> error:
>
> cc -c -O2 -pipe -fno-strict-aliasing =C2=A0-std=3Dc99 =C2=A0-Wall -Wredun=
dant-decls
> -Wnested-externs -Wstrict-prototypes =C2=A0-Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual =C2=A0-Wundef -Wno-pointer-sign
> -fformat-extensions =C2=A0-Wmissing-include-dirs -fdiagnostics-show-optio=
n
> -nostdinc =C2=A0-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=3D8000 --param inline-unit-growth=3D10000 --param
> large-function-growth=3D100000 --param max-inline-insns-single=3D10000
> -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=3D0x80001000 -march=3Dmips32
> -msoft-float -ffreestanding
> -Werror =C2=A0/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_kt=
r.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 <ray@dlink.ua>
> aka Alex RAY <ray@ddteam.net>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"



--=20
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndBz2jDFVb3MNnNfaHxd%2BShuGuo=AuTbMqjrXT=eBEnwtA>