From nobody Sun May 28 05:18:24 2023 X-Original-To: freebsd-current@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 4QTRlB134jz4XLDx for ; Sun, 28 May 2023 05:18:30 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTRl91g8fz4bm6; Sun, 28 May 2023 05:18:29 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=IjsqubWy; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::62a as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1ae763f9c0bso14839695ad.2; Sat, 27 May 2023 22:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685251107; x=1687843107; h=to:cc:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=k/oJbO3hJDmhCiS0iX8a8TRwnqMm9hICQO2pHoFNx1A=; b=IjsqubWy111Glw9MRAaFSiZ1FmNtmDLWrGz8OFjmInZQBOvUyoQs0tzzlxdop0GE42 axWjJAJ/2lfoCjHxrbjdEpCooR2bGfTtTLOZ3vs/IjSN3ef8FA7woVSdEr6eu7r9L9Wc N9mKeLqqcTM8MmH9UHVEK70KYOJWkaxQ8S5Saf+hE+hfmg2dSAv2eVyWVBOsXPpGydfs vCvx/gDvU/QA2XjIE29M+nj2opaGnnp8q7eTfauQ+K1SanUcjflUz6AIiTIYxRUWC21V k8LYTkQSJCI4BfLJC0pNRC1GFCDDjJVJTLSG745+aKfvxar8Wt8fnTuenhT1KpBm8nVo FScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685251107; x=1687843107; h=to:cc:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=k/oJbO3hJDmhCiS0iX8a8TRwnqMm9hICQO2pHoFNx1A=; b=SbkLwVa4vN4uQdmJWG7V5XxXILtyZUd3BdqctQ687Gb+mtDfPld/aqwwsyog5WiNvZ zRajse/CNY+IRaMEfeCDxFw/4WzDvmxyEfpq8iP+aqjYR+01ku+zeB5CBpTRtM/FHxtR 2qq1dLKV6Gi6pUxWbKiLXSzrAjxXz7QBa/0NxIZjbOfBDQ+jmcf/OtBaqxzwBIoKi3rw hlLKZxg3WpSUXOZwdAv5jbHEAiOHQ95KwPsDWhM3XzJQdrUmRLy3402pOy3sl4XblZ/5 kBD4p5Z+Z9EvBingeyNzivlmnmSvrk3fnJFgA2TXVrPg2Twef/PpOdCLWVMdj0UbMSlC U6qg== X-Gm-Message-State: AC+VfDxruFli9t5Muk+QqSKzvL0BaGgQYH5GhbyCv7spmgqjPZNNVc73 JVNbUjBYKh4O4YkmoPhiVNMr1o0inJfSEQ== X-Google-Smtp-Source: ACHHUZ4do0BpliepSe4185B8wyi9Gm+dZOu66KBEvMatxFQh6QxuCtot7X6Emjni3t+hwnxnVXSwSA== X-Received: by 2002:a17:902:d2cf:b0:1ae:1237:8754 with SMTP id n15-20020a170902d2cf00b001ae12378754mr9277517plc.68.1685251107175; Sat, 27 May 2023 22:18:27 -0700 (PDT) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id b10-20020a170902d88a00b001aaecc15d66sm5655791plz.289.2023.05.27.22.18.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 May 2023 22:18:26 -0700 (PDT) From: Enji Cooper Content-Type: multipart/signed; boundary="Apple-Mail=_03B6F014-F320-4F2F-9F3E-5CE01D401001"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: "make hierarchy" from main tree breaks c++ headers on older branches with unclear errors if "make install world" is interrupted Message-Id: Date: Sat, 27 May 2023 22:18:24 -0700 Cc: Dimitry Andric To: FreeBSD Current X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Spamd-Result: default: False [-5.55 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.948]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; HAS_ATTACHMENT(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::62a:from]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org] X-Rspamd-Queue-Id: 4QTRl91g8fz4bm6 X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_03B6F014-F320-4F2F-9F3E-5CE01D401001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all, I just tried to run =E2=80=9Cmake hierarchy=E2=80=9D from a main = tree on a 13.2-RELEASE system, and doing so completely broke my headers. It took me about 30 minutes to figure out what happened=E2=80=A6 = /usr/include/c++/v1/__string was a header, whereas on :main it=E2=80=99s = a directory?! $ git diff freebsd/releng/13.2 main -- etc/mtree/BSD.include.dist) ... @@ -47,8 +53,12 @@ .. __ranges .. + __string + .. __thread .. + __type_traits + .. __utility .. __variant @@ -202,6 +212,8 @@ ... $ make hierarchy seems to wipe out the file and replace it with a = directory, which I guess isn=E2=80=99t terribly confusing since it=E2=80=99= s just an unlink, but the error messages that followed from c++ was = confusing; the error message of note was the first part saying __string = was missing =E2=80=94 the rest was just garbage complaints about C++20 = extensions, e.g., :9:5: warning: use of function template name with no prior = declaration in function call with explicit template arguments is a C++20 = extension [-Wc++20-extensions] I reinstalled the headers by going to lib/libc++ in my = releng/13.2 tree, building, and installing all of the 13.2-RELEASE = headers. This change has been live for almost a year now on :main =E2=80=94= is this a known caveat when doing a source-based upgrade from = 13.2-RELEASE* to 14.0-CURRENT, i.e., that the installworld (if = interrupted) could break the c++ compiler? Thank you, -Enji $ git blame etc/mtree/BSD.include.dist ... 81ad626541db9 (Dimitry Andric 2022-07-04 21:20:19 +0200 56) = __string 81ad626541db9 (Dimitry Andric 2022-07-04 21:20:19 +0200 57) = .. ... $ git log 81ad626541db9^..81ad626541db9 commit 81ad626541db97eb356e2c1d4a20eb2a26a766ab Merge: 5fff09660e06 145449b1e420 Author: Dimitry Andric Date: Mon Jul 4 21:20:19 2022 +0200 Merge llvm-project main llvmorg-15-init-15358-g53dc0f10787 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb = and openmp to llvmorg-15-init-15358-g53dc0f10787. PR: 265425 MFC after: 2 weeks commit 145449b1e420787bb99721a429341fa6be3adfb6 (tag: = vendor/llvm-project/llvmorg-15-init-15358-g53dc0f107877) Author: Dimitry Andric Date: Sun Jul 3 16:10:23 2022 +0200 Vendor import of llvm-project main = llvmorg-15-init-15358-g53dc0f107877. --Apple-Mail=_03B6F014-F320-4F2F-9F3E-5CE01D401001 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAmRy5CEACgkQ5JFNMZeD GN7b2RAAlDTMcKDKVqzmA2H1Ghs9kob4itqlG4r+1/1S/kZNZvcp6JbNwVZxyc+p 09zRjt8otyZ13hlNsLZnCOQpN76KRytqtd9z0voza9nsQ3vW1HFzv0mLfTSodTxm CE5rahNQLYSaeojTd6mixlk9jefXt8y4EUJDNS9vxXZk0iSKAICvAod1Pr/KwlLZ hQfqmX1MdTHF3kgG456BSA3/Ymb01Ric01JVlD9guyLfJToO9aE342W/07KqYr/L WTbQFRc2kGzQnbulUmDn51//Zg/m7T7kviBt47KEQrv6hEqnD99oEGCAK55y/iva L8IUpxHOZ2rMBJFDEtt4Hruqhl3oCwwsJlr15+Zd03SZZPHnQfc/umYuM7N/t83E 9lLgPd1LhEipPf2xPbeJ/lvjoTIj0GCGekhG8K4Qs2SHvnmQnPFs8Jjy5qnFTABX Vvpr8+lTzvsmgGLeaDZqIvjxxQwCEKsoRVI8c4KhZcdaCrmMdbfRLkeY8DNG+wEP H+6dsGxTyfnkxp62ByueXDb0l8GO8qTh2SDTl/+AKY3cbaKPUXJpXvaD1kCAbqRq zXa2/bVA0Zj7kCulQVCzDBbSzz48q/Z0ABTn9oRndAKhawcdyG8KhggB019t9HUV sWjWkxkIfkvFV4UW0RWnaGk7dQmwQ4ZLdgLTCMpnAX8dqrBH8G0= =prPX -----END PGP SIGNATURE----- --Apple-Mail=_03B6F014-F320-4F2F-9F3E-5CE01D401001--