From owner-freebsd-current@freebsd.org Fri Feb 19 01:50:07 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34530AAC1F7 for ; Fri, 19 Feb 2016 01:50:07 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFDD2BCA for ; Fri, 19 Feb 2016 01:50:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-lb0-x229.google.com with SMTP id x4so39497746lbm.0 for ; Thu, 18 Feb 2016 17:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DJ8K9mACK+cy4lkg/ZpwvaRdRCIO8ESK7+K5xIGIaXA=; b=xd3c+SUcZ1pAiY0bzkENua72eyDOzMYB4OpiWx5jFzWhQ7ekevFJvRyRJ1uGwOOCDn zDFlwnZwUayfEvPeeGcKUgxJLfsyN0qcceATx0ja3fTGRwCIZuEki6JI99sFKBXW3toa AtxarB60NKRZ+T1QUiswyD+D7PfPlidyD1bDuhSk8vOUQM1+DY6woZrkn5dwmtPB5FoE LUEQYCktd+JyZkd/3d6/3+VIeeGUI/aLvvWSywkrBvcfPOgJskhFCfHixfm6ormJ+a8f tDbFsUkFnD6fDFV6szxbb+o4XBna2SelynmJKvzPKCYPAKGP+eB+ZgS2m+pPNkppnDkT 1DsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DJ8K9mACK+cy4lkg/ZpwvaRdRCIO8ESK7+K5xIGIaXA=; b=khyeJIC/KMsjGEzVu0oS4BR7YFu3lowdFvBX/sjdM8mKfaMg4YAampqfdJP5RHVXGP 067fo62wP0ITQ+jH07UN6BAoCypI0WFOMa4IDuPEM+eN83Xiugv4Di1Aokq4MbA4qilN HV4Q6oVFHr8jFIOhFu+d5wqDmuLjaYxTTAsMc6tqNvQkJT8wKjP+WPrkrQXNtEqmKNGF OMZiRyyx98ECEsAhoC9nXxl1UoHR6K+q7dcYATBk1vAuspmLj/SMs4uh0QdbFbkvhpzq WUjfS4fQeP8WbJkkBWuiXYj46+LVN0GR0oMNjHjzPqNWRvp17QLifyX38rJB0M3w/atT 0pXQ== X-Gm-Message-State: AG10YOS0IpeFPyamkwCElCoJ+c/7/Mw8bzMsqjWOWarjLqH/9oGEMwrq8/ZQVA3Ha7kmy8fOsx4f/U7KTsyThg== MIME-Version: 1.0 X-Received: by 10.112.223.37 with SMTP id qr5mr4400876lbc.19.1455846604822; Thu, 18 Feb 2016 17:50:04 -0800 (PST) Received: by 10.112.160.133 with HTTP; Thu, 18 Feb 2016 17:50:04 -0800 (PST) In-Reply-To: <20030707152010.GB39108@dry.pl> References: <20030707152010.GB39108@dry.pl> Date: Thu, 18 Feb 2016 17:50:04 -0800 Message-ID: Subject: Re: buildkernel ULE related breakage From: Ngie Cooper To: Michal Suszko Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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, 19 Feb 2016 01:50:07 -0000 On Thu, Feb 18, 2016 at 2:10 PM, Michal Suszko wrote: > > Hi, > Got this error compiling GENERIC with s/4BSD/ULE/ on recent -CURRENT > ( wrapped long lines ) > > cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h > -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > -ffreestanding -Werror /usr/src/sys/kern/sched_ule.c > cc1: warnings being treated as errors > /usr/src/sys/kern/sched_ule.c: In function `sched_setup': > /usr/src/sys/kern/sched_ule.c:531: warning: unused variable `i' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/TEST. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. I'm not sure what you're running, but it doesn't look like untainted CURRENT. 1. Please post `TEST` somewhere in pastebin. 2. Please note what revision you're on, whether you're forked from another version, etc. Thanks, -Ngie 526 /* 527 * Load is maintained for all threads RUNNING and ON_RUNQ. Add the load 528 * for this thread to the referenced thread queue. 529 */ 530 static void 531 tdq_load_add(struct tdq *tdq, struct thread *td) 532 { 533 534 TDQ_LOCK_ASSERT(tdq, MA_OWNED); 535 THREAD_LOCK_ASSERT(td, MA_OWNED); 536 537 tdq->tdq_load++; 538 if ((td->td_flags & TDF_NOLOAD) == 0) 539 tdq->tdq_sysload++; 540 KTR_COUNTER0(KTR_SCHED, "load", tdq->tdq_loadname, tdq->tdq_load); 541 SDT_PROBE2(sched, , , load__change, (int)TDQ_ID(tdq), tdq->tdq_load); 542 }