Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2022 12:00:58 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-stable@freebsd.org
Subject:   Re: stable/13: undefined symbol: dtrace_instr_size
Message-ID:  <87r17oa80l.wl-herbert@gojira.at>
In-Reply-To: <87sfs4abph.wl-herbert@gojira.at>
References:  <YgcYPm7kFKkBVhb9@gate.intra.daemon.contact> <87sfs4abph.wl-herbert@gojira.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Feb 2022 10:41:14 +0100, "Herbert J. Skuhra" wrote:
> 
> On Sat, 12 Feb 2022 03:15:26 +0100, Peter wrote:
> > 
> > 
> > Hija,
> > 
> >   when adding "device dtrace" to kernel conf, I get this:
> > 
> > linking kernel.full
> > ld: error: undefined symbol: dtrace_instr_size
> > >>> referenced by dtrace_subr.c:0 (/usr/src/sys/cddl/dev/dtrace/amd64/dtrace_sub
> > r.c:0)
> > >>>               dtrace_subr.o:(dtrace_trap)
> > *** [kernel.full] Error code 1
> > 
> > 
> > When adding "device dtrace" AND "device dtraceall", it does
> > link, but then does panic on boot right after finding the CPUs.
> > 
> > Is this to be expected, or am I doing something wrong?
> 
> There is a PR from September 2020:
> 
> Bug 249369 - device dtrace and device dtraceall are incompatible with options ZFS
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249369
> 
> Maybe if you add a note there the PR will get some attention? But
> maybe try HEAD first?!

The same happens on 14.0-CURRENT... even without "opions ZFS".
But 'kldload dtraceall' works. 

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r17oa80l.wl-herbert>