From nobody Mon Apr 24 15:29:43 2023 X-Original-To: ports-bugs@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 4Q4pw74RnXz46yL1 for ; Mon, 24 Apr 2023 15:29:43 +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 4Q4pw73QSkz3v6C for ; Mon, 24 Apr 2023 15:29:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682350183; 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; bh=L8UAJFywqXmynp86wkVkBDn1Q8eDKzxk8xCTa+VcdOY=; b=jz4zZZfz4ygiGaVRF9l0xLdif3XYesAuwT9zSMszp2fMUSxtesDRZ/JN76Dtvovh0lUIV0 YOTxeuU8LvJz/YW1C/avAmt3c9M0iGVMjSm6hXDbqWDNgYjZzZDMeprThO6l7jQSKIwYKI v0Qj4+upCtPOamNR1TS3qRZ7RqyhD5Pig1PsU4xdKE+QhUT/+3A2tNkHjb1F4UzaGlWFjr V7hrI74FT4u1JdGm5f97F1aMo6ysUwfKCimOIsq3w89qIG9gFSsRALjyQny7JqG62KIK4+ W3n7SgyXOOyOlUgI0Es1yFvhA9rigAtFZQrVFlNdvajfSzihUncz7/gw91rNiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682350183; a=rsa-sha256; cv=none; b=j8JMrMfB7WDape7sVgE8/j2s9nWrQdtm55TfSCkdeJvn/kHGU0+KFujNls5L7BuVumKUnR SWtfucn6S1MqBBDAKBgXZ44jFkblY8l5/N+INyuPWwaXMQSNjTSzGNQR9G8D+o572qVivM 6+OLxJIst2ZFTIe7415g8h2R0gi5gWcjSCbMFUebfyZL0xt9voi1PBlQQCR8DHKjwo+cw2 YBjCHhvTGtmJLM+hWv9tUk2G1KzKDFuvf6Ovoj1V9srQIBp50LPpWMdPAE04QI7qZv3mYh 7D6/e/2cxGvBYY+QgKY5zyxrYDoacnnJF38vKRASg0MMYA+GadqCSKe1VcCHmw== 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 4Q4pw72FtPzWP3 for ; Mon, 24 Apr 2023 15:29:43 +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 33OFThNS037523 for ; Mon, 24 Apr 2023 15:29:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OFThlM037522 for ports-bugs@FreeBSD.org; Mon, 24 Apr 2023 15:29:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271045] devel/gdb: fix build with clang 16 Date: Mon, 24 Apr 2023 15:29:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pizzamig@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271045 Bug ID: 271045 Summary: devel/gdb: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pizzamig@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(pizzamig@freebsd.org) Assignee: pizzamig@freebsd.org Clang 16 has a new error about integer values being outside the valid range for enum types, which shows up when building gdb: In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/x86-fbsd-nat.c:20: In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/defs.h:65: =20 /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/../gdbsupport/enum-flag= s.h:95:52: error: integer value -1 is outside the valid range of values [0, 15] for th= is enumeration type [-Wenum-constexpr-conversion] integer_for_size(T (-1) < T (0))>::type ^ In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/x86-bsd-nat.c:20: In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/defs.h:65: =20 /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/../gdbsupport/enum-flag= s.h:95:52: error: integer value -1 is outside the valid range of values [0, 15] for th= is enumeration type [-Wenum-constexpr-conversion] integer_for_size(T (-1) < T (0))>::type ^ In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/x86-nat.c:20: In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/defs.h:65: =20 /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/../gdbsupport/enum-flag= s.h:95:52: error: integer value -1 is outside the valid range of values [0, 15] for th= is enumeration type [-Wenum-constexpr-conversion] integer_for_size(T (-1) < T (0))>::type ^ In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/windows-tdep.c:18: In file included from /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/defs.h:65: =20 /wrkdirs/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/../gdbsupport/enum-flag= s.h:95:52: error: integer value -1 is outside the valid range of values [0, 15] for th= is enumeration type [-Wenum-constexpr-conversion] integer_for_size(T (-1) < T (0))>::type ^ Upstream already noticed this, and committed https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Dae61525fcf4= as a workaround, so add this as an additional patch, until gdb 13.2 is released. --=20 You are receiving this mail because: You are the assignee for the bug.=