From nobody Fri Jun 17 14:58:54 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E7EAB8356D3 for ; Fri, 17 Jun 2022 14:59:03 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LPhyG3C6Tz3nXK for ; Fri, 17 Jun 2022 14:59:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 25HEwtRr035938 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 17 Jun 2022 07:58:55 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 25HEwtUp035937; Fri, 17 Jun 2022 07:58:55 -0700 (PDT) (envelope-from fbsd) Date: Fri, 17 Jun 2022 07:58:54 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Cc: bob prohaska Subject: ./bus_if.h:1:3: error: invalid preprocessing directive Message-ID: <20220617145854.GA35906@www.zefox.net> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4LPhyG3C6Tz3nXK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.90 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N Here's an example of a persistent buildkernel failure on a Pi3 tracking stable/13. This particular failure has been persistent over the last couple weeks with new builds attempted every few days. Logfiles are at http://www.zefox.net/~fbsd/rpi3/crashes/20220617/ The initial error is --- bhnd_pcie2_hostb.o --- In file included from /usr/src/sys/dev/bhnd/cores/pcie2/bhnd_pcie2_hostb.c:59: In file included from /usr/src/sys/sys/bus.h:764: ./bus_if.h:1:3: error: invalid preprocessing directive # Meta data file /usr/obj/usr/src/arm64.aarch64/sys/GENERIC/modules/usr/src/sys/modules/bhnd/siba_bhndb/siba_bhndb.o.meta That looks like the result of a stale file, but repeated updates don't seem to clear it and the aftermath of the error is a flood of non-ascii characters in the logfile, which I've not seen before during OS build attempts. The build command is make -j2 -DWITh_META_MODE buildworld > buildworld.log && make -j4 -DWITH_META_MODE buildkernel > buildkernel.log which has been used for some months without visible difficulty. The use of filemon has been continuous, generally without global cleans though I have used make clean in selected subdirectories under /usr/src from time to time. An otherwise-similar Pi3 running -current exhibits no such behavior. Thanks for reading, and any suggestions. bob prohaska