Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2021 16:27:17 +0100
From:      Xavier Humbert <xavier@groumpf.org>
To:        ports@freebsd.org
Subject:   failed to resolve type kernel struct thread *
Message-ID:  <0df8d43b-17ab-defd-9ffa-456aad374ce3@groumpf.org>

next in thread | raw e-mail | index | archive | help
Hello,

I cannot compile www/node (and some others) with this error

> dtrace: failed to compile script src/v8ustack.d: 
> "/usr/lib/dtrace/psinfo.d", line 93: failed to resolve type 
> kernel`struct thread * for identifier curthread: Unknown type name
My kernel is compiled with CTF options :

> [root@numenor ports]# grep CTF /usr/src/sys/amd64/conf/XAVIER
> makeoptions     WITH_CTF=1              # Run ctfconvert(1) for DTrace 
> support
> options         DDB_CTF                 # Kernel ELF linker loads CTF data
>
I'm running 13-stable, an did a full buildword/buildkernel. And
ctfdump  /boot/kernel/kernel produces an output

Is this a known problem, or did I mess something ?

Thanks,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0df8d43b-17ab-defd-9ffa-456aad374ce3>