From owner-freebsd-current@freebsd.org Tue Aug 16 23:25:43 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 03A90BBCFA4 for ; Tue, 16 Aug 2016 23:25:43 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) (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 CB80F12A2; Tue, 16 Aug 2016 23:25:42 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io0-f179.google.com with SMTP id b62so121812126iod.3; Tue, 16 Aug 2016 16:25:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=RdhU/tqsb5kDQF8ubnhQbH0oc86MQCRt+ilMN2CIV30=; b=f3hSsdoVMAKquV6SavLKmAcu8YsnD21s/IqltfQNYYm27Xc1GSLdEnrUGyX/VKLo15 BFSstdqYgkiibDvuDuizG3NJq+aAMgpWaZDCz+C2u1OgvBYYFEm3ahNNY256T/+josgv 4KfxTxqySXAx54BLzualBoGD6Qks0gotjkJVfWtQQL7oNfizahPlkJQNJ15sflVoLDaI KjtNTKg9OaJ7jZ9NybDWdOjZ1So5gJyR0yZ3TOCnoEkVdjk+XB6jkf/BU3rBtxIrG68w UmfHmuc5P8QxeUMLnliO1j4lQwLvOEEyuCbjudph+/tIj1IKotwKEN6dgEO/X3xSTgxn tPxg== X-Gm-Message-State: AEkoouum396/+Kx9vTPX/fIjwlZTj1rSuP7xH/NatnoTM0wzMH2TNgk9l3czwqnuIlRTTg== X-Received: by 10.107.138.212 with SMTP id c81mr42002880ioj.148.1471389457005; Tue, 16 Aug 2016 16:17:37 -0700 (PDT) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com. [209.85.223.173]) by smtp.gmail.com with ESMTPSA id b135sm3148361ioa.13.2016.08.16.16.17.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 16:17:36 -0700 (PDT) Received: by mail-io0-f173.google.com with SMTP id q83so121876920iod.1; Tue, 16 Aug 2016 16:17:36 -0700 (PDT) X-Received: by 10.107.147.138 with SMTP id v132mr43976194iod.27.1471389455978; Tue, 16 Aug 2016 16:17:35 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.36.220.129 with HTTP; Tue, 16 Aug 2016 16:17:35 -0700 (PDT) In-Reply-To: <8B151916-FC96-4A43-B14B-E10A468258F6@pozo.com> References: <8B151916-FC96-4A43-B14B-E10A468258F6@pozo.com> From: Conrad Meyer Date: Tue, 16 Aug 2016 16:17:35 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: /head/sys/kern/kern_timeout.c breaks build on current amd64 To: Manfred Antar Cc: freebsd-current , Gleb Smirnoff Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 16 Aug 2016 23:25:43 -0000 Fixed in r304245. Thanks! On Tue, Aug 16, 2016 at 3:52 PM, Manfred Antar 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 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= "