Date: Fri, 24 May 2019 22:01:10 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: freebsd-hackers@freebsd.org Cc: rmacklem@freebsd.org Subject: Re: DTrace instrumentation build error Message-ID: <201905250501.x4P51A1A015826@slippy.cwsent.com> In-Reply-To: Message from Cy Schubert <Cy.Schubert@cschubert.com> of "Fri, 24 May 2019 05:55:51 -0700."
next in thread | previous in thread | raw e-mail | index | archive | help
Cy Schubert writes: > Hi, > > I'm helping rmacklem@ with instrumentation of mountd with USDT > probes.It builds fine on amd64 however fails on i386 > > ===> sbin/sconfig (all) > ld: error: cannot open /usr/lib32/dtrace/drti.o: No such file or > directory > dtrace: failed to link script /home/cy/stable12/usr.sbin/mountd/mountd_d > t.d: fai > led to link mountd_dt.o: ld exited with status 1 > --- mountd_dt.o --- > *** [mountd_dt.o] Error code 1 > > make[6]: stopped in /home/cy/stable12/usr.sbin/mountd > 1 error > > make[6]: stopped in /home/cy/stable12/usr.sbin/mountd > --- all_subdir_usr.sbin/mountd --- > *** [all_subdir_usr.sbin/mountd] Error code 2 > > A couple of interesting things here: I found a bit of time to investigate this tonight. > > 1. /usr/lib32/dtrace/drti.o doesn't exist in the universe12a and > universe12b jails. > > 2. Why would buildworld (tinderbox in this case) link against an object > outside of /usr/obj? > > I can look at this tonight to cobble up a patch for review to our build > infrastructure to address #1 tonight. Speaking of #2, we can add additional link paths to dtrace(1) using -L. However it probably makes sense for dtrace(1) to support --sysroot as other toolchain tools do. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905250501.x4P51A1A015826>