On Wed, May 07, 2008 at 10:51:41AM -0700, James McIlree wrote:
> 
> On May 7, 2008, at 6:19 AM, Chris Dumoulin wrote:
> > Could this error be related to using GNU ld? This thread:
> > http://mail.opensolaris.org/pipermail/dtrace-discuss/2006-March/001199.html
> > indicates that DTrace USDT might not work with GNU ld, but that  
> > posting was over two years ago.
> >
> > Should this work with GNU ld? Why would it work on x86 and not on a  
> > Sparc system? Perhaps it's related to the difference in object code  
> > that dtrace emits for these two platforms. Anybody have any comments?
> 
>       Have you verified that the probes are actually firing when enabled on  
> x86?
> 
>       It may be that you are just getting lucky that things link on x86,  
> but they aren't actually working.
> 
>       I would try with the Solaris toolchain and see if things work  
> correctly. If they still do not, you've likely got a real bug.

As James knows, we made some non-trivial linker changes to accommodate USDT.
The GNU linker will not work properly (though if anyone has any pull with
the GNU linker team, it's certainly something I'd like to see added).

Adam

-- 
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to