From nobody Fri Nov 06 20:03:29 2026 X-Original-To: dev-commits-src-all@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 4jLqqj4SqVz6ygHD for ; Fri, 06 Nov 2026 20:03:29 +0000 (UTC) (envelope-from git@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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jLqqj3XF5z4NFF for ; Fri, 06 Nov 2026 20:03:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793995409; 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=i+daslbLbuQyZuRyOGPMpjkJoc+omREIXg7B/+SVicw=; b=jHzDSNke63OeI3tMkPLsTBzW7bQn43ggsqMvQG79EVbi0haKOte9yIQqgjdE5QEl9wswYK HUCS+tskBaZQlpe4IUrf4iOK8/pejt8lHmGv3nhYSC/vGSFncafnDP+YlUsECste1Iu3w3 SXUkxnKGI5yur9odOLFx+gRh05y13SzjOCSZ0Fo/CFi2AaQDICR5q7v0wlYJeH9n0QG/oQ AA+OxTANvYAh6YaTGzQlCNEKQFJp8fMxEVQaJ3elI3pSthwpvA1uuWs1SR1f3NrZNJ48dd gA98PeIKri2D67n+2W6ijtYnbPzgZacfCFw3RT8gyYft49FCaU1F/aKMVMpIMQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793995409; b=NDZUVlQYK28yEQVpXKx5B4CB7C9GAX1y8FiuFQl4oq2OyNXmDi6tpPU0YOXzkHEgZ4GuEL zuq73AtpRYXY9p8p3aQH7hHXVdxLLixYbmFtVvCUvijbpKcag33ST+51Ddw/evTKEBxnvC 8Xxg1+pGx7fTcRKMbBISwXK5RkcbTL/UaGXDlxd4Xi+ijZeFOfOtLf0trGzczKHqqDTIkx IaMYvsZJc0V2bQAQ6XmgN3/Wr7nLOxDuR8bAQVv0xwLTj8ZOn6KRL/23+QKig6VniCDqUo CcGRe9U2kJr9USGSbm3yqIf1+mXIG9Tt/6zVfJ+9HiprobBn7JRsgjZ7RYqAsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793995409; 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=i+daslbLbuQyZuRyOGPMpjkJoc+omREIXg7B/+SVicw=; b=EdF3dVSshBPfuUWAyKc9+r3Ie92nNx8/plFqoG6KlmQTkVVzzo1bUmp5hTmbuXSEUNp8fF OgX42CgUV0I8A40mpefR2xP6hEdAnWxyWVeEy0pOhLxy17AtobbPoGpNMg6PAJxeWqtH/u asnkWgOc3oXojeurLMaav7crSxxs2vt07tAyBoeW3JrHJddmUyAIaBBHOM2iK0myaCo+ZR NKtzXoDNcdjyOA5gwGL659gMw631dDSwC2SFUu9fxUdNTo/29R3x365c1FXYcTjU2sRA2N Pv6ENzzBFaC0kdxhMSUVnRO0Q5P3yUes1jgs6bbJKbFLPJS0SdqSnpuIzfIN3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jLqqj3Bzkzs9d for ; Fri, 06 Nov 2026 20:03:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1f185 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 06 Nov 2026 20:03:29 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 40371e514185 - main - ctfconvert: Make the absence of debug info non-fatal List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 40371e514185247d7416d4e4e981d4c71c7b6ba1 Auto-Submitted: auto-generated Date: Fri, 06 Nov 2026 20:03:29 +0000 Message-Id: <6aee3291.1f185.7198349a@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=40371e514185247d7416d4e4e981d4c71c7b6ba1 commit 40371e514185247d7416d4e4e981d4c71c7b6ba1 Author: Mark Johnston AuthorDate: 2026-11-05 18:30:48 +0000 Commit: Mark Johnston CommitDate: 2026-11-06 16:59:43 +0000 ctfconvert: Make the absence of debug info non-fatal When compiled with gcc14, subr_ticks.o legitimately doesn't contain any DWARF sections. Just emit a warning in this case. In general we still want to run ctfconvert on asm files. Reviewed by: emaste, des Fixes: e959f2a7d8a8 ("ctf*: exit with error upon terminate()") Differential Revision: https://reviews.freebsd.org/D61231 --- cddl/contrib/opensolaris/tools/ctf/cvt/ctfconvert.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/ctfconvert.c b/cddl/contrib/opensolaris/tools/ctf/cvt/ctfconvert.c index 68969356e75e..59c3683fa351 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/ctfconvert.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/ctfconvert.c @@ -230,8 +230,13 @@ main(int argc, char **argv) filetd = tdata_new(); - if (!file_read(filetd, infile, ignore_non_c)) - terminate("%s doesn't have type data to convert\n", infile); + /* + * asm files may legitimately not have debug info. + */ + if (!file_read(filetd, infile, ignore_non_c)) { + warning("%s doesn't have type data to convert\n", infile); + exit(0); + } if (verbose) iidesc_stats(filetd->td_iihash);