NetBSD Problem Report #57664
From mrg@eterna.com.au Tue Oct 17 05:01:22 2023
Return-Path: <mrg@eterna.com.au>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id BF5FA1A9238
for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Oct 2023 05:01:22 +0000 (UTC)
Message-Id: <20231017050120.F2A461590F7@splode.eterna.com.au>
Date: Tue, 17 Oct 2023 16:01:20 +1100 (AEDT)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@NetBSD.org
Subject: ctf tools don't handle DWARF version 5.
X-Send-Pr-Version: 3.95
>Number: 57664
>Category: toolchain
>Synopsis: ctf tools don't handle DWARF version 5.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 17 05:05:00 +0000 2023
>Originator: matthew green
>Release: NetBSD 10.99.7
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
all netbsd ports
>Description:
upstream GCC 12 defaults to using DWARF version 5 output,
which the CTF tools we have in netbsd are unable to handle.
i changed netbsd native gcc12 to default back to version 4:
https://mail-index.netbsd.org/source-changes/2023/08/03/msg146601.html
this is clearly suboptimal and doesn't help eg, GCC 12 in
pkgsrc, or GCC 13, or beyond etc.
>How-To-Repeat:
build with -gdwarf-5 and then try to ctfconvert the output.
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.