From owner-freebsd-hackers@freebsd.org Sat May 25 05:01:17 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9FE41598E4E for ; Sat, 25 May 2019 05:01:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CD6348E97E; Sat, 25 May 2019 05:01:15 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id UOnvh6eAzsAGkUOnwhDedK; Fri, 24 May 2019 23:01:13 -0600 X-Authority-Analysis: v=2.3 cv=WeVylHpX c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=E5NmQfObTbMA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=s36clbOmzjy2MfsT8kEA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 727681048; Fri, 24 May 2019 22:01:10 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id x4P51AJU015829; Fri, 24 May 2019 22:01:10 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id x4P51A1A015826; Fri, 24 May 2019 22:01:10 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201905250501.x4P51A1A015826@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: freebsd-hackers@freebsd.org cc: rmacklem@freebsd.org Subject: Re: DTrace instrumentation build error In-Reply-To: Message from Cy Schubert of "Fri, 24 May 2019 05:55:51 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 May 2019 22:01:10 -0700 X-CMAE-Envelope: MS4wfKTxnQlVoMCVZfnCWGWh+Gk4fmJV8GDMuT1MT/wedI7yjEESpz7EITyrIteg9qXM4m3JCljHkA5L+AIruqjjnmYkVvH5+gzJ/n6mc98Bl46ReJd8CjwY HxD7TCwr5J8wfQi9P6sjrSo1AQgd7pqzVgzST4Oi377t9Dt+sYroHsJcIWP3vBQkpGTnIKNU3ACF0uGduYI5YHnzCLCbf3eQXqr4NoLKoUPgFAyEgJWyx1MW X-Rspamd-Queue-Id: CD6348E97E X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: spqr.komquats.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.54)[ip: (-6.86), ipnet: 64.59.128.0/20(-3.25), asn: 6327(-2.50), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[9.134.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2019 05:01:17 -0000 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 FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.