From owner-freebsd-current@FreeBSD.ORG Fri Apr 13 13:53:43 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24102106566C for ; Fri, 13 Apr 2012 13:53:43 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 960D98FC08 for ; Fri, 13 Apr 2012 13:53:42 +0000 (UTC) Received: by lagv3 with SMTP id v3so3119949lag.13 for ; Fri, 13 Apr 2012 06:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Vzen1s1WunniAwiHE9YoneiVVmjYSpQQZ1c448laiBk=; b=XYyymP/dnS5nS6pjPOGMlCIEQ7kZVmZIcWEF1RlgO/R2S0eGkNZ2G6Odn14h703Zny dHZqZXTi2+0G57aDJJAOYjTCgn/oBq4LphoeWTvDs06IIW+e3LoLhfOFcWf+nX5YJtlA lQV0PI7MnT+4JRQfJE4fTu1IKfc4Dh4gs0/e7tHQQ2M6Eok7IRtefFt4qdH0edDKMeSZ iQ8ZM14zJDXaxcG8D/4D2ISsYJw1AZUOiPYpT5w787tvf86jxoTBlmxzrvOTtu9wfXSW EVmVd/oqcxFJrp6JoU+hzkrt0UjsgzQzsJZ+j4Owc/1kQtDNp9Sxvd40zXAbWM9bHks6 SMLg== MIME-Version: 1.0 Received: by 10.152.147.202 with SMTP id tm10mr1617586lab.49.1334325221525; Fri, 13 Apr 2012 06:53:41 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.93.138 with HTTP; Fri, 13 Apr 2012 06:53:41 -0700 (PDT) In-Reply-To: <20120413163729.3ecd1136.ray@dlink.ua> References: <20120413163729.3ecd1136.ray@dlink.ua> Date: Fri, 13 Apr 2012 14:53:41 +0100 X-Google-Sender-Auth: Ux6Gr1dWFVI9d7SmExKOdtuq0eI Message-ID: From: Attilio Rao To: Aleksandr Rybalko Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: build with KTR and KTR_CPUMASK X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2012 13:53:43 -0000 Please read NOTES. Attilio Il 13 aprile 2012 14:37, Aleksandr Rybalko 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 > aka Alex RAY > _______________________________________________ > 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