From nobody Mon Dec 16 22:02:59 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 4YBv840zL8z5gZkZ for ; Mon, 16 Dec 2024 22:03:00 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBv8370YKz42QY for ; Mon, 16 Dec 2024 22:02:59 +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=1734386580; 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=3x608LWxPsjIwfoUBZos/lGr/7do4Lm71AikDbkMNWQ=; b=Bob6fpgW1PwLJmRk8KesAakIEiAHaWeROzZHn6b4PapkQ1mw83AsW9PUKjfVTO4IcllzzR N1hos+ihGELOi39vM0suxDedXf9enBPBcuvl9lVLo8AnP3RmmHRo3NGtYWZbrK3qUQBu8g lZ5q0TVuRlNCRIEBkaX3Y2+unvz2mlJ8pMQcHvUbXVm3pFXJg3i2Z6mCAIaXqV7N70/u2P 0b7xPV/fjQLDVs+H+a5NKwre3RWloARzj9qTBZFJVVkGDhObq/HN3O596u1ePxHo1nNvaf birrEh6OEl5OMX+6kj97fwYpA8pDPjK6OusQUKnvDm35AhY0Uoa3ObP9BPLPIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734386580; a=rsa-sha256; cv=none; b=Tr1OMF0S74kKRCKxAqhKjMTUC/pUg5XHf5w2kjw2FTs5xGe1YgFauccwgk9ca22O1xS/m6 tPrL/469sWlwndeb1lO2ZVy6WO4koPx5oUgM+Ut/jdyx8+ytpXM7WWmxGgQiBEaFTwqxDw aryGjJBu4++Vd4hlSnB7lLIZM7o7WbojKcs80vsqfdriLuSy6YNdZ9STVz+Yznvvkcaxfv g6sUEVfJgZ8eoXaoGJ7byoGIuE6VU+OKHnguKQ0vQvscWG5tEBbyIyhWPpJSY8V0tIpCAg YE34LguKAXjJf1lPe0A83RIO6mdMeM0XQtmkXgeL+fPoXwMQne74oEN1TrWcWg== 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 4YBv836c2cz19sy for ; Mon, 16 Dec 2024 22:02:59 +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 4BGM2xIk055308 for ; Mon, 16 Dec 2024 22:02:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGM2xgS055307 for bugs@FreeBSD.org; Mon, 16 Dec 2024 22:02:59 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 283359] dtrace -h is broken again Date: Mon, 16 Dec 2024 22:02:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People 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: 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=3D283359 --- Comment #4 from Mark Johnston --- (In reply to shamaz.mazum from comment #2) Thanks for the repro hints. The "problem" is that there's no kernel in this jail, so dtrace has no acce= ss to the CTF info. But /usr/lib/dtrace/ipfw.d (parsed only when ipfw.ko is loaded) relies on some definitions, e.g., for in_addr_t and struct ip6_addr= .=20 If I install kernel.txz as well, "dtrace -h" works again. We've had these kinds of problems before. The workaround is generally to a= dd "-x nolibs" to the "dtrace -h" invocation in various build scripts. "-x nolibs" means that the definitions in /usr/lib/dtrace won't be processed (as they aren't needed for usdt probes in general). In fact, it looks like the perl configure script knows about this and tries= to add "-x nolibs" if dtrace(1) accepts that option. Why doesn't that work? = Can you share the log where the perl build failed? In any case, I think adding "#pragma D depends_on module kernel" to ipfw.d = is sufficient to prevent "dtrace -h" from trying to process the file. --=20 You are receiving this mail because: You are the assignee for the bug.=