Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 05:55:51 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        freebsd-hackers@freebsd.org
Cc:        rmacklem@freebsd.org
Subject:   DTrace instrumentation build error
Message-ID:  <201905241255.x4OCtpGV037672@slippy.cwsent.com>

next in thread | raw e-mail | index | archive | help
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:

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.


-- 
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?201905241255.x4OCtpGV037672>