From nobody Thu Mar 30 19:56:53 2023 X-Original-To: freebsd-toolchain@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 4PnZ2N4zLLz42GRP for ; Thu, 30 Mar 2023 19:57:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PnZ2M35Gpz3jKT for ; Thu, 30 Mar 2023 19:57:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=OJHv9mjJ; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1680206231; bh=bEFUkCLfcmuB6SyZTizHXQHyHurtYrwdHQO9FYWC7lk=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=OJHv9mjJjmW0xL2dE5grLYhpi2ON9T+NyIrphDp+9PaJo3UvCVsDtH+q7j9q3Ga9nuiuA1amTHdqbj2Tl+F8xxLszCgrigvnaIsOmjf7omAcByl/2KkUnAxk9zHBS6QKW2OXFTRy3VlX+32B83NS9oDkDZmVMDAsyJo82e1+mpL3hz/PGnsXJ8MHN20d5nVFzeRosR4YWqpkp7wrBpIxdMUSklnftOtTGWZJme2hoY812ePF3TlaHFQnsIoBR5ZMgZbObb5lyfyHQaRqhRh3Bz5fQMEbT3O8NTitHQX6F7U5LlPeUXW9kWm5/b8TcYjDTK1msK2BZmGrmx+mYzH19A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1680206231; bh=s6eOrlqS9E7/konBI+8dtmG/kHZZPEreOJ+dV70juNR=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=QWaLiS+Uot3i70R4Y9q6O2xW0eb5J3Asm0prqZ4DD7N/jqXkQkVW5456ZxNBtmd7kILVwpDL/jYz2rw6P/08DbO6hmTNls03ZwABRHU1OqDTbldVD9qyFmbs2Bkt98CYxXhXYI1o6jLkN6xYfs1bqG6+CdzwzbSvyPdYGiSUVK9RrRvZF/bjNdi7kwi68gLZ1+ru1HPjIK72Rg9dR/5kQmKBu38YNuMGtD43lPBYwHKDfCEGqdYY6DzqwLwNb/aiYtlH3XQyTk97q6GL4BVZB4UdH8XDT+lU7wu7jtM3GZUnRF70EXGnRMTwVokYCTnMCr6YRsWW/oFmCjk3vjwPeA== X-YMail-OSG: TwVaAPUVM1mTgtvSQberm0aJMbDRi5TwkVd8XYrU4qTsldz3gJVtfXrbjgZYl9v O8At1ZIxQ3IzA5rjs6zVr8zYwOOszqfElltZebRTBBibUwlHx.48Y_OAbDiqKXUHaWss0ovPpIjn kZs2rgAzO7gfaGnywtZpppq7zied_PbJnR8dyOSM9fuIlN78v0yRTEzBO70KHaV6hy3E5Lx_h2c3 QeLQk0rd8HcKvBeLpmIgev1csrSX9ZVNajBnxKOystr70vF_BjJssn3HinKZ68GLFg0SzyFiv0JK Tk7xosLXTb0_XANT8SIT7eQM1qAgpt8QzOvUTxKcWkXSZvklHNsR7weBvcU8gtUYep8zzIIjnZ7t HZWLkebUNTiADbAF73TSYlJ0AP7LCZShWphIgKWgnAgCOlCol_9ZJr5OVZbuj6HWikue3vmyCy3k 5YrTPovpqFB1VRtGtxUzwCFtywgGcf_IzI0s2K7axt88WxxHcwFl7jZytCPO6852zPHEiz8yYthC oJuoPPh_t9L4LryiAmUNNMJbH7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5ZeZWyE_xLazBBpmCoURjZ2y5KVRpj1MP1NpPbYyY hY5Lt6F07dQeQhuDoPI8Y.J7FrrC_IOAPgYsYBH08JZNlJAJXuJaj73ZE0xA5WwG8kqkJF3FaNb8 eq3F0N_RkCFnz_OZcnCDKeI2U4WEu5dI7_EJHjXW97ktZv_RFCgo82fid5_0TRnptRhGbmnI61u0 uRnQmu_XWXslXxIjoZKjgDoVtBXL1tW9FAs1gtI8rW4g_S5xEsmv69XxWVJWbdgN.0b46Kl6ZgPN nAewPWdWIXAdyxAwearB26cjyU5OcBafCdTOEZWqj2nnnKfDxKYK0h4g8k62dSedsyJm0OjtA1iq .j02yqaEBG04liz7J7Ib8ZwMZ225lKC6rrDEp3YTVyRKpMpI98ubvccbrSHf85stldPPDP5gGecT iGaX2.UTY_hAeWewM7xngrm.pE6y4TlFaKJkQQaT_b28zE415tW2zEcTq7U1CROViZVY10WmmBYA rxDOuxkC4MW4ScJ82Ll4iJyjqL.Vt830UAY3TcLm9vf4U5.Z0fA1J.entjYHpcVNi3.Q.RGBOjhq VdAt8.dfrXakhyuAMMAOMDFQMwSHJIZu4SnubmYbR.TsQIjBAb0ph.o_R87C3vm0pBpFBqMeKXKY CIrUzHBN3LiBHNUo9dwsZSanXv9on3CP3odfRwXE8TxbEuzzkRG8n0eBLyL2RDrFvu86vsVr8ul8 D3LQwdqY- X-Sonic-MF: X-Sonic-ID: 396498d3-995e-4b70-8be6-99ef8963cc9a Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Thu, 30 Mar 2023 19:57:11 +0000 Received: by hermes--production-bf1-5f9df5c5c4-n84wh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5a8037eb64ea0b48d051c376d3f876a7; Thu, 30 Mar 2023 19:57:05 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : ld: error: args.o: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') Message-Id: Date: Thu, 30 Mar 2023 12:56:53 -0700 Cc: freebsd@walstatt-de.de To: Mateusz Guzik , Current FreeBSD , FreeBSD Toolchain X-Mailer: Apple Mail (2.3731.400.51.1.1) References: X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_THREE(0.00)[4]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.206:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-toolchain@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.206:from] X-Rspamd-Queue-Id: 4PnZ2M35Gpz3jKT X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Mateusz Guzik wrote on Date: Thu, 30 Mar 2023 14:56:09 UTC : > On 3/30/23, Mateusz Guzik wrote: > > On 3/30/23, FreeBSD User wrote: > >> . . . > > >=20 > So I looked into it and landed > = https://cgit.FreeBSD.org/src/commit/?id=3D82eb549f800e08158802b74bef62e7db= 0939a3fe >=20 > As of that commit I can both buildworld and buildkernel a stable/13 > tree while running main, without any magic to change compilers. For reference, that patch involves: +.if ${COMPILER_VERSION} >=3D 150000 +CWARNFLAGS+=3D -Wno-error=3Ddeprecated-non-prototype +CWARNFLAGS+=3D -Wno-error=3Darray-parameter +CWARNFLAGS+=3D -Wno-error=3Dstrict-prototypes +.endif I'm unclear here. Is the goal that a system clang 15+ toolchain can build just the bootstrap toolchain and such that are then used to actually build stable/13? Otherwise I'm unclear on how compatibility with what a system clang 14 toolchain would produce is established. To my knowledge, FreeBSD has not actively supported newer FreeBSD building older FreeBSD across versions. It has supported somewhat-older building newer. I'd guess there are various ways that having newer toolchains build compatible results for older toolchains is messy and that FreeBSD has generally avoided systematically dealing with such. I'll note that even when the toolchain stays at the same LLVM version, FreeBSD version V to V+1 gets a change in the default target triple: even that case is a form of "cross-build" between the older compiler and the bootstrap compiler to be used in building V+1 (and any later V+1 compiler builds for V+1). Has the target triple been systematically forced to be correct for targeting the older FreeBSD? May be just some more explanation of the context/intent will clear my confusion(s). But for now using a system clang 15+ toolchain to produce an older FreeBSD that is based on s system clang 14 toolchain and an older target triple seems odd to me. =3D=3D=3D Mark Millard marklmi at yahoo.com