From nobody Tue Jan 28 18:32:33 2025 X-Original-To: dev-commits-src-main@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 4YjDRg4jbJz5lwKH for ; Tue, 28 Jan 2025 18:32:47 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjDRf1mVbz3VpL for ; Tue, 28 Jan 2025 18:32:46 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jrtc27@jrtc27.com designates 209.85.128.45 as permitted sender) smtp.mailfrom=jrtc27@jrtc27.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4361f65ca01so63448995e9.1 for ; Tue, 28 Jan 2025 10:32:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738089165; x=1738693965; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=huBeTx4i3pVXwBrySPJc+nsfwsufI4c4tL9kbEbGigo=; b=tvtyt0j1MtnQcFcJCgMuglJ1i09eeAo7C30XvkpIeqBxHPWEWeMwqNorD0zrQxG2Mb tHfwtRF/l6eF9p3eThZmacLA/NMj8/O6UN+fzkz6iAAzZkqrwsGXpxtqmIv2Cu5/iBcE Lxs1jOwhA8YYVjCsieFt661Q4vUYQl5W0O87+oxOGueejH7NwBiNsToLFdRnSnZNrkuL Yd0VFlj8VPjZkYJ4fjQmWcq4w1Bgxng/i9pcEqnO38PbkAPaKNn4bnFE8Vjme4FPJc/m nUabm00eeHTPfCVON3ciM4mXfnsD6Pwx7nnpTBZkOZoeON32A4xqiz8aaZnWUM/jkcvU mYPw== X-Forwarded-Encrypted: i=1; AJvYcCVuVjtxqVwOrAC8vm9t14BR80Wvtfsr5VpRuhR8F40XrHDeAb18TkNU+I1m+INfDgmQIfEBXSCSfJBQe9JytjiyCPPxHg==@freebsd.org X-Gm-Message-State: AOJu0YzjuRRJPBm1VI9p7gmaX4+FXvWuj92bwkkUpqaGAohetNmpLMlt XBLNw994BqPHbP1ciswRoBje2EsSodHIDdA7jeqElw8XkGiSLV3PC0l2oV6rI/k= X-Gm-Gg: ASbGncudOoMcfpuFQvwI+j6Brtk9nYW5wfH2GTuHQcZ40Xr6aqqqinstKre+RC/v2Rg wK46bFLwq1qHNwUoXHmnL8aqJMtUFS0yKk48GHG6HLq5TTETdk6UlcT1FOFxln93yQfEClWt4CA Nes6UMKA6KukybeNoPhG24RjobcXptKfE4dbx1pj4d965CVwgpWM2Xp6W3LJp+A2Y73aletTeOa M8zV7Ea+Vahw6LO5kjjz0/FEiQhjRQcR1V6Fzz42tEsQysIRKlf+w50KkUCvr08mrR3G2K0Gc5+ L/NfdRKNry+TrvafI6kH1Hazdg1lwg== X-Google-Smtp-Source: AGHT+IFIzGLZSePkDA6Bqp1glMO0N/RoNZEhk1fdblP14vzaAQxhQiIIOUBZcHCWoULYnSJG0b1BRg== X-Received: by 2002:a05:600c:5027:b0:434:f5c0:3288 with SMTP id 5b1f17b1804b1-43891430ed1mr410363525e9.29.1738089164548; Tue, 28 Jan 2025 10:32:44 -0800 (PST) Received: from smtpclient.apple ([131.111.5.201]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a1c4212sm14366613f8f.87.2025.01.28.10.32.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jan 2025 10:32:44 -0800 (PST) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: Re: git: c3450ad127e9 - main - clang: re-downgrade implicit int/function declarations to warning only From: Jessica Clarke In-Reply-To: <202306222111.35MLBAqB066211@gitrepo.freebsd.org> Date: Tue, 28 Jan 2025 18:32:33 +0000 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <202306222111.35MLBAqB066211@gitrepo.freebsd.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Spamd-Result: default: False [-1.01 / 15.00]; RBL_SENDERSCORE_REPUT_6(1.00)[209.85.128.45:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.908]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; FREEFALL_USER(0.00)[jrtc27]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_SPF_ALLOW(0.00)[+ip4:209.85.128.0/17:c]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-main@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.45:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.45:from] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4YjDRf1mVbz3VpL On 22 Jun 2023, at 22:11, Dimitry Andric wrote: > The branch main has been updated by dim: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Dc3450ad127e94d3fa67ae337310e59c0= 02f51bfc >=20 > commit c3450ad127e94d3fa67ae337310e59c002f51bfc > Author: Dimitry Andric > AuthorDate: 2023-04-25 19:24:04 +0000 > Commit: Dimitry Andric > CommitDate: 2023-06-22 18:22:33 +0000 >=20 > clang: re-downgrade implicit int/function declarations to warning = only >=20 > This reapplies upstream commit c0141f3c300f by Aaron Ballman: >=20 > Downgrade implicit int and implicit function declaration to = warning only >=20 > The changes in Clang 15.0.0 which enabled these diagnostics as a > warning which defaulted to an error caused disruption for people > working on distributions such as Gentoo. There was an explicit = request > to downgrade these to be warning-only in Clang 15.0.1 with the > expectation that Clang 16 will default the diagnostics to an = error. >=20 > See > = https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror= -implicit-function-declaration/65213 > for more details on the discussion. >=20 > See https://reviews.llvm.org/D133800 for the public review of = these > changes. >=20 > As noted in the upstream discussion, there are many programs that = fail > to configure or build correctly, if these warnings are turned into > errors by default. >=20 > Note that most affected programs in ports are relatively old, and = are > unlikely to be fixed by actually adjusting their declarations, but = by > compiling with -std=3Dgnu89, which downgrades the errors back to = warning > again. Lots of tedious work for very little gain. This remains as a downstream divergence 1.5 years later, but I do not think we should be carrying this indefinitely. Software needs to build with upstream LLVM, and the fact that many ports do not is now biting us for CheriBSD where we use our own external toolchain that does not have such a diff. In my opinion this should be reverted for FreeBSD 15 and it=E2=80=99s long time for ports people to step up or have the = broken ports removed; we can=E2=80=99t keep going on like this with abandonware = holding back forward progress. Jess