From nobody Thu Mar 10 19:55:44 2022 X-Original-To: uboot@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 466C419F9D71 for ; Thu, 10 Mar 2022 19:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KF0DJ4tkFz4qgW for ; Thu, 10 Mar 2022 19:55:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 87B863148 for ; Thu, 10 Mar 2022 19:55:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22AJtipS044766 for ; Thu, 10 Mar 2022 19:55:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22AJti4q044765 for uboot@FreeBSD.org; Thu, 10 Mar 2022 19:55:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: uboot@FreeBSD.org Subject: [Bug 261930] sysutils/dtc: fix build with clang 14 Date: Thu, 10 Mar 2022 19:55:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-uboot List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-uboot@freebsd.org X-BeenThere: freebsd-uboot@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646942144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qt9gVUSolbs9ntr5FcRvL5Zj+F0mEOlZuR3hZFCZ0Kc=; b=o9q5DUeXD8PRs1pYQKpjkNBxdvMEQaNQZgfjrfx80a5wWw9fZCyMdXs/AD+LqV81Mqt5d0 RhGwJJC6xmkgM4i9LzSNAJygWDr1cEGSeMAh8jrtYv/S/hG1OPoEdM1IA/NhIip4w+6fn0 WwGXgEH4RW72sBQ1vr3vIa3ZdbEp2gEmsdyiiQQTKxbWZ5IgdCZlB1QIgsV79bWiq35f8W 9JIfy08QVTM4GCGAabqawn0JLX1xLJbsH/E7pTJjifhQubPGe+O9dav88rt/Tbm2BVX+Er OtmKe8lShxe7A0RjvgbOOqyFqdvtT3CeLEUqykDn0gPC5QgBVl0IKzWbzQi0Qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646942144; a=rsa-sha256; cv=none; b=tR1tPn3QsZT10IQW/ebfkwLjS2Ca3wlrLHglsKXlpKpluKJQH8QjXslQqKlxMiSBLKabQv ZQO9zwBjVArPwxrin6v/BW7tajSYE829YSeu+SVW8Qi9JvAiLyRuYd59uQhMezUITVz2iJ CB6BvyUkidpuxeAwI0lw5DQ0kUfb8HwwWc76ifTI3YVcDhVuZHhtvQEBpAVjPGPpMbI5my 0+msPgOtDpKBahsFlQaBjt3fHeuUEQQHmyhn/GnkXX6E0Gd7qVglxgjVbT+xZKU6BCtIAh OBEPM0i4E2wmNKhOA6VKqu3VTCVyQeISmD/5POSDMgfSttF7SOdt9iy6QbTYfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261930 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D7f2fdcb022ca2f4ff3f34829a453946= 3bdfd390d commit 7f2fdcb022ca2f4ff3f34829a4539463bdfd390d Author: Dimitry Andric AuthorDate: 2022-02-13 14:01:05 +0000 Commit: Dimitry Andric CommitDate: 2022-03-10 19:53:43 +0000 sysutils/dtc: fix clang 14 warning about use of bitwise logical operator During an exp-run for llvm 14 (see bug 261742), it turned out that sysutils/dtc fails to build with clang 14: libfdt/fdt_rw.c:438:6: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] if (can_assume(LIBFDT_ORDER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ || libfdt/libfdt_internal.h:171:29: note: expanded from macro 'can_assume' ^ libfdt/fdt_rw.c:438:6: note: cast one or both operands to int to silence this warning libfdt/libfdt_internal.h:171:29: note: expanded from macro 'can_assume' ^ This should have been a logical or instead. Upstream fixed this in: =20=20=20 https://github.com/dgibson/dtc/commit/7be250b4d059771c47be00ec8d4df7f47e4ac= 77c PR: 261930 Approved by: maintainer timeout (2 weeks) MFH: 2022Q1 sysutils/dtc/files/patch-libfdt_fdt__rw.c (new) | 11 +++++++++++ 1 file changed, 11 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=