pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc12 incompatible with ctfconvert?



On Tue, Oct 03, 2023 at 08:34:34PM +0200, Rhialto wrote:
> On Tue 03 Oct 2023 at 17:01:20 +0200, Martin Husemann wrote:
> > Does it actually work in any sane way? Does gdb support CTF? It is not
> > documented.
> 
> I don't know. The ctwm upstream wants to use CTF to support DTrace.
> It does that if it detects ctfconvert and ctfmerge.
> Using gcc12 as compiler breaks this. We have to fix this one way or
> another.
> 
> The latest version of the proposed patch enables _OPSYS_SUPPORTS_CTF
> only .if exists(/usr/bin/ctfconvert); that same condition is already
> used to set TOOLS_PLATFORM.ctfconvert (or not).

That part sounds good, and especially this implicitly forcing an older dwarf
version via gcc command line.

I am just scared by the other parts that Jonathan described, which sounded
a bit like this might break debugging pkgs on NetBSD completely.

Martin


Home | Main Index | Thread Index | Old Index