From owner-freebsd-stable@freebsd.org Mon Nov 25 14:58:26 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99CBE1AF5B9 for ; Mon, 25 Nov 2019 14:58:26 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47M9C45hZFz4WMP for ; Mon, 25 Nov 2019 14:58:24 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (124-18-96-116.dz.commufa.jp [124.18.96.116]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id xAPEwEon061488; Mon, 25 Nov 2019 23:58:14 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Mon, 25 Nov 2019 23:58:14 +0900 From: Tomoaki AOKI To: freebsd-stable@freebsd.org Cc: kostikbel@gmail.com, tschweikle@gmail.com Subject: Re: Error building stable/12 (amd64) at r355087 Message-Id: <20191125235814.6aea80894959b37c9b267f70@dec.sakura.ne.jp> In-Reply-To: <20191125142141.GC10580@kib.kiev.ua> References: <20191125115810.GD1373@albert.catwhisker.org> <20191125142141.GC10580@kib.kiev.ua> Reply-To: junchoon@dec.sakura.ne.jp Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47M9C45hZFz4WMP X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 210.188.226.8) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [5.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[junchoon@dec.sakura.ne.jp]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[116.96.18.124.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:9370, ipnet:210.188.224.0/19, country:JP]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; IP_SCORE(1.76)[ipnet: 210.188.224.0/19(4.85), asn: 9370(3.93), country: JP(0.02)]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2019 14:58:26 -0000 r347836 (not MFC'ed) on head eliminates inclusion of machine/bus.h for usr.sbin/camdd/camdd.c. This whole commit introduces some bool functions, but head builds fine. I'm not shure applying camdd.c part alone is OK, so cherry-picked this revision excluding sys/compat/linuxkpi/common/src/linux_pci.c part and it fixes build. Not yet tested r355089, though. On Mon, 25 Nov 2019 16:21:41 +0200 Konstantin Belousov wrote: > On Mon, Nov 25, 2019 at 03:58:10AM -0800, David Wolfskill wrote: > > This is during a source-based update from r355048 to r355087, during > > "stage 4.3: building everything" (using META_MODE); meta file reads: > > > > # Meta data file /common/S3/obj/usr/src/amd64.amd64/usr.sbin/camdd/camdd.o.meta > > CMD cc -target x86_64-unknown-freebsd12.1 --sysroot=/common/S3/obj/usr/src/amd64.amd64/tmp -B/common/S3/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/camdd/camdd.c -o camdd.o > > CMD > > CWD /common/S3/obj/usr/src/amd64.amd64/usr.sbin/camdd > > TARGET camdd.o > > -- command output -- > > In file included from /usr/src/usr.sbin/camdd/camdd.c:54: > > In file included from /common/S3/obj/usr/src/amd64.amd64/tmp/usr/include/machine/bus.h:6: > > In file included from /common/S3/obj/usr/src/amd64.amd64/tmp/usr/include/x86/bus.h:1043: > > In file included from /common/S3/obj/usr/src/amd64.amd64/tmp/usr/include/machine/bus_dma.h:34: > > /common/S3/obj/usr/src/amd64.amd64/tmp/usr/include/x86/bus_dma.h:182:1: error: unknown type name 'bool' > > bool bus_dma_dmar_set_buswide(device_t dev); > > ^ > > /common/S3/obj/usr/src/amd64.amd64/tmp/usr/include/x86/bus_dma.h:182:31: error: unknown type name 'device_t' > > bool bus_dma_dmar_set_buswide(device_t dev); > > ^ > > 2 errors generated. > > > > *** Error code 1 > > I hope that this is fixed by r355089. I did not tracked down how HEAD > was immune to the problem. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Tomoaki AOKI