Date: Tue, 16 Aug 2016 16:17:35 -0700 From: Conrad Meyer <cem@freebsd.org> To: Manfred Antar <null@pozo.com> Cc: freebsd-current <freebsd-current@freebsd.org>, Gleb Smirnoff <glebius@freebsd.org> Subject: Re: /head/sys/kern/kern_timeout.c breaks build on current amd64 Message-ID: <CAG6CVpV4mh14=hitkgA2OP86ehvm47sVFXdwGAzXdv6aQdK%2B=Q@mail.gmail.com> In-Reply-To: <8B151916-FC96-4A43-B14B-E10A468258F6@pozo.com> References: <8B151916-FC96-4A43-B14B-E10A468258F6@pozo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Fixed in r304245. Thanks! On Tue, Aug 16, 2016 at 3:52 PM, Manfred Antar <null@pozo.com> wrote: > New commit to current breaks build amd64: > > /usr/local/bin/ccache cc -c -O2 -pipe -fno-strict-aliasing -g -nostdinc = -I. -I../../.. -I../../../contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HE= ADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-p= ointer -MD -MF.depend.kern_timeout.o -MTkern_timeout.o -mcmodel=3Dkernel -= mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-table= s -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decl= s -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith= -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kp= rintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragm= as -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenth= eses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error= -shift-negative-value -mno-aes -mno-avx -std=3Diso9899:1999 ../../../ke= rn/kern_timeout.c > ../../../kern/kern_timeout.c:1064:56: error: use of undeclared identifier= 'dir' > if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)= ) { > ^ > 1 error generated. > *** Error code 1 > > Stop. > make: stopped in /usr/src/sys/amd64/compile/pozo > > here is the commit: > OLD = NEW > 1064 <https://svnweb.freebsd.org/base/head/sys/kern/kern_timeout.c?annota= te=3D304244&sortby=3Ddate#l1064> if (cc_exec_waiting(cc,= direct)) { =3D=3D=3D=3D> if (cc_exec_waiting(cc, direc= t) || cc_exec_drain(cc, dir)) { > = = ^^^ > > I think it is just a typo if you change the dir to direct it compiles and= boots fine. > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpV4mh14=hitkgA2OP86ehvm47sVFXdwGAzXdv6aQdK%2B=Q>