NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60642: dtrace(1): doesn't call preprocessor correctly



The following reply was made to PR bin/60642; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/60642: dtrace(1): doesn't call preprocessor correctly
Date: Wed, 26 Aug 2026 07:21:20 +0000 (UTC)

 On Tue, 25 Aug 2026, Thomas Klausner via gnats wrote:
 
 > Thanks, that does help it progress further, until:
 >
 > [1/633] Generating 'dix/liblibxserver_dix.a.p/Xserver.o'
 > FAILED: [code=1] dix/liblibxserver_dix.a.p/Xserver.o
 > /usr/sbin/dtrace -C -G -s ../include/Xserver.d -o dix/liblibxserver_dix.a.p/Xserver.o
 > dtrace: failed to link script ../include/Xserver.d: No probe sites found for declared provider
 >
 > Any ideas about that?
 >
 
 That invocation is wrong. dtrace needs object files with probes to operate on.
 For eg.:
 
 https://github.com/NetBSD/xsrc/blob/trunk/external/mit/xorg-server/dist/os/Makefile.am#L61
 
 &
 
 https://github.com/NetBSD/xsrc/blob/trunk/external/mit/xorg-server/dist/os/connection.c#L469
 
 -RVP
 



Home | Main Index | Thread Index | Old Index