Date: Thu, 18 Feb 2016 17:50:04 -0800 From: Ngie Cooper <yaneurabeya@gmail.com> To: Michal Suszko <Michal@dry.pl> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: buildkernel ULE related breakage Message-ID: <CAGHfRMDPD2wEOGT12yyZkGV_XXrmRk-tfG_zcmF54q4yxu%2B7XA@mail.gmail.com> In-Reply-To: <20030707152010.GB39108@dry.pl> References: <20030707152010.GB39108@dry.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 18, 2016 at 2:10 PM, Michal Suszko <Michal@dry.pl> 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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMDPD2wEOGT12yyZkGV_XXrmRk-tfG_zcmF54q4yxu%2B7XA>