From owner-freebsd-hackers@freebsd.org Wed Apr 28 20:57:26 2021 Return-Path: Delivered-To: freebsd-hackers@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 69619622281 for ; Wed, 28 Apr 2021 20:57:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FVrYK1bR2z3MJG for ; Wed, 28 Apr 2021 20:57:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1619643443; bh=FfnqdV09XPfIePOoo6uPIjlOvwTN1snVwngfCxYJZBY=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=iVvsuB56a6keBNq3/vBC6o6Di2XU3sVCD2KE3ifMiN9gzJq65Xk+ZeJHvTYncd8MLvKfyLUsbcWUEIvbvAUpNPpoIQMLNsq9+f0x+9Byvp/rySV0joruS9Qcs1oEE5eiBo6OwjkgqTbzKk0VM11V1nO5+mwIehN5qhOuSFSn9kgvzgZbXkOy0L0af8A/bimhuhvkE1Z6GJn8pQCSR0mRT7quslzysiIJwF3sQh/zZsXlTg8/VgznYNocu8RxNOnK5xeZV1xFhDUH2X2wrDNqGlT82fbrxzeIrGnFGlT3ahebcP7E3LdUnAonP+wAOg5XCuIvA3ddikKDGI+D+vb20A== X-YMail-OSG: dY0GNJkVM1ltQvELKt6yiSGTPC0kRbC3HPPIDYvZTwdfuby.jHHXOsJoACyTMS. pUDXlidzZexUJf0Nj__fyTlGxW.5dOObEjR2NuqXBiB8vwaFKAVJgc_pDnzYnCetZswSH7a_n8b5 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cEfnvWLZXJFcEDJA1WBhXNsgsLP61b5OQHfMt rSuIaKvCKotLc05ZOBjR2y7fDHpEF7BPSMV5UfAn47EklvBk9NwpgQ02YkBEF.njVKFslTKzE1qr plYWohVMO82_WIFGabp3gI1rRn_2UkkhvRrGOAhl5lPK2EG_oQjCqe8rTh1lMAc1ohe3q3uxbF.x Q2gdDPxOurzWRJ6EJ.LBVrYLUMEM0SJH3BEVVHTa5Dt3xozaineZCBZFhWRv69SzQfIb7.g-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Wed, 28 Apr 2021 20:57:23 +0000 Received: by kubenode573.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 38485bdf339202ee3edf3d5e42a72267; Wed, 28 Apr 2021 20:57:19 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Issues building FreeBSD-current (head f9668e4) From: Mark Millard In-Reply-To: Date: Wed, 28 Apr 2021 13:57:18 -0700 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <60A64E80-3B76-4760-B793-283FDF163D21@yahoo.com> References: To: jake h X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FVrYK1bR2z3MJG X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.31:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2021 20:57:26 -0000 On 2021-Apr-28, at 04:39, jake h wrote: > Hey everyone, > I have been having some issues building FreeBSD-current from src, on > freebsd-13 (build 1300500). It appears to stem from several files = compiling > with -Werror , despite my specification in make.conf of -Wno-error . = As > these files then have warnings, the make kernel exits. A log of the = error > is attached. > System info: > Current version: 13.0 - STABLE, build 1300500 > make.conf: CFLAGS=3D -Wall -Wextra -Wno-error > Attempting to update to: 14-CURRENT (Git head f8668e4) >=20 Your use of the number from sys/sys/param.h : #define __FreeBSD_version 1300500 /* Master, propagated to newvers = */ is a bit problematical and does not identify a specific build or a specific commit. It would be incremented for any addition to the kernel Application Binary Interface, for example, but is left unchanged by most development activity. The 1300500 number was established in: author Glen Barber 2021-02-05 16:38:27 +0000 committer Glen Barber 2021-02-05 16:38:27 = +0000 commit 3c6a89748a01869c18955d5e3bfcdf35f6705d26 (patch) The next change to the figure was 2 months later, in: author Konstantin Belousov 2021-04-05 03:05:44 = +0000 committer Konstantin Belousov 2021-04-23 = 11:14:06 +0000 commit c3f97dd75a1c294c4f60f42b604ee8bcda17be09 (patch) It was changed to be: #define __FreeBSD_version 1300501 /* Master, propagated to newvers = */ All builds of any commit on the stable/13 branch between those use the 1300500 number. (On 2021-04-26 it was updated again, this time to 1300502 .) As for disabling treating things as errors . . . "man src.conf" reports, in part, WITHOUT_WARNS Set this to not add warning flags to the compiler = invocations. Useful as a temporary workaround when code enters the tree = which triggers warnings in environments that differ from the = original developer. WITHOUT_WERROR Set this to not treat compiler warnings as errors. Useful = as a temporary workaround when working on fixing compiler = warnings. When set, warnings are still printed in the build log but = do not fail the build. Direct manipulation of CFLAGS for this is not recommended and various Makefile contents may override the attempt to control CFLAGS (or part of its content). Other difficulties with having context to provide help . . . You did not include the text of the specific commands in the build that generated the output that you provided. My recent build of main (so: 14) was as of commit 1b00608b264f . The buildworld buildkernel sequence worked but was based on building from an environment running based on releng/13.0's release/13.0.0commit instead of on a stable/13 commit: # uname -apKU FreeBSD CA72_4c8G_ZFS 13.0-RELEASE FreeBSD 13.0-RELEASE #1 = releng/13.0-n244733-ea31abc261ff-dirty: Wed Apr 28 05:45:27 PDT 2021 = root@CA72_4c8G_ZFS:/usr/obj/BUILDs/13_0R-CA72-nodbg-clang/usr/src/arm64.aa= rch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1300139 1300139 But I can not even tell the relationship of 1b00608b264f to what you tried to build: https://cgit.freebsd.org/src/log/?qt=3Drange&q=3Df8668e4 reports no match for your "Git head f8668e4". Nor does: https://github.com/freebsd/freebsd-src/commit/f8668e4 find a match. For reference, for the main (so: 14) that I built . . . # ~/fbsd-based-on-what-freebsd.sh branch: main merge-base: 1b00608b264f1fac846e571e23d8ef7134834638 merge-base: CommitDate: 2021-04-27 19:18:13 +0000 1b00608b264f (HEAD -> main, freebsd/main, freebsd/HEAD) Merge llvm = commits for kernel address and memory sanitizer support n246360 (--first-parent --count for merge-base) and for what produced that output: # more ~/fbsd-based-on-what-freebsd.sh #! /bin/sh branch=3D"`git branch --show-current`" \ && echo "branch: $branch" \ && base=3D"`git merge-base freebsd/$branch HEAD`" \ && git log --oneline --no-color $base..HEAD \ && base_date=3D"`TZ=3DUTC git log --format=3Dfuller --date=3Diso-local = --no-color $base^..$base | grep CommitDate:`" \ && echo "merge-base: $base" \ && echo "merge-base: $base_date" \ && git log --oneline --no-color $base^..$base \ && echo "n`git rev-list --first-parent --count $base` (--first-parent = --count for merge-base)" When booted uname -apKU reports for the installed main build: # uname -apKU FreeBSD CA72_4c8G_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #0 = main-n246360-1b00608b264f-dirty: Wed Apr 28 01:22:56 PDT 2021 = root@CA72_4c8G_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/src/arm64.aar= ch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400012 1400012 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)