From nobody Thu May 30 19:56:50 2024 X-Original-To: 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 4Vqxpp4y9pz5LJYl for ; Thu, 30 May 2024 19:56:50 +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 4Vqxpp3Vmbz4Kyg for ; Thu, 30 May 2024 19:56:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717099010; a=rsa-sha256; cv=none; b=dgEPNnRb+VHWrRSZheG19DrvY/nofwAZY6A56tiUoX2uYdMXAioVU7WkWAJawaZ7ZNDUGa ds960bg81lPESgJ2pJipEiDXl5nd2+oUXjJIXpln5PXwfI5+yEqTYVUtArM0KeQMDi5z5Z i3aHaCc8PGNC8c/HW2Uiz6vpRvn4ctKbPMJ3OW0SQkdomiRrVcdgG2ercjMMq3k3jegyM8 E/ldBKHgr3amAf+bT3CK412krtSi01KmdNRfV8WOZ98bkRZSOEhGr+sFb+RdHHPAejWGB1 0uS4TBO3i429ROZJ41ZQEgX/7ofYf85qDA0hX3ecR/5m8xPp03okhVOb1rPpZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717099010; 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=FZpEk+5ilEPbpxkW8aFK7OzoYMG/xKKiYLKd07oA7D4=; b=Oh9p/OFX+kJw7gmptYfmUeeUxYDJt54x8yiIMs03oyEGt5EHgiy61SNkA9Qdc5vJ4VnIKP XnjCsnr/v2lCLNzD/aLpXz/E6Nv/1Cfss2zcVMUPW/PImEcsXrP65Knmfry1sJSxoi62uX YZ2lHMKV7wjnLF3yDejl87GbGAXteAHiG6TBbF7QBcGWeeov337V2GUhC/++NmBQ6gzR82 SM6osdAKrjJI3K40pNVVKyqmJxejme2YRBxPHecmdLbv4TNGWfgF+v71KC5BHsLwrjoV6s +zCsLAMgd4WWCnTKDeAYz5pytLiPg857e9sFzVQxx5JBlOAfuno1sWalB1N/aA== 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 4Vqxpp2tD3zst3 for ; Thu, 30 May 2024 19:56:50 +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 44UJuoOu004172 for ; Thu, 30 May 2024 19:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44UJuo6x004169 for bugs@FreeBSD.org; Thu, 30 May 2024 19:56:50 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: bugs@FreeBSD.org Subject: [Bug 279403] typedef redeclaration in base include becoming an issue for DTrace Date: Thu, 30 May 2024 19:56:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279403 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Status|New |Open --- Comment #1 from Mark Johnston --- Has this example ever worked on FreeBSD? The problem isn't with duplicate typedefs; those are errors in C as well. In dt_parser.c we have: 1451 /*=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1452 * If we are nested inside of a C include file, add the declaration to=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1453 * the C definition module; otherwise use the D definition mod= ule.=20 1454 */=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1455 if (yypcb->pcb_idepth !=3D 0)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 1456 dmp =3D dtp->dt_cdefs;=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 1457 else=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1458 dmp =3D dtp->dt_ddefs; When we hit the error, we're actually using ddefs instead of cdefs, which is incorrect according to the comment. How is pcb_idepth set? It's adjusted = when we see line control directives emitted by the processor, but it looks like = our version of the D lexer isn't handling this properly somehow. --=20 You are receiving this mail because: You are the assignee for the bug.=