public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/22278] New: the nss client code doesn't handle '-I DIR' well
@ 2017-10-10 16:44 dsmith at redhat dot com
  2017-10-10 16:47 ` [Bug translator/22278] " fche at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dsmith at redhat dot com @ 2017-10-10 16:44 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=22278

            Bug ID: 22278
           Summary: the nss client code doesn't handle '-I DIR' well
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

Using a custom tapset directory works fine:

====
# cat tapset/foo.stp
function foo()
{
        printf("Hello\n")
}
# stap -I tapset -e 'probe oneshot { foo() }'
Hello
====

However, if you try to do the same thing with a compile server, you get an
error:

====
# stap --use-server -I tapset -e 'probe oneshot { foo() }'
semantic error: unresolved function (similar: log, HZ, pn, pp, cpu): identifier
'foo' at <input>:1:17
        source: probe oneshot { foo() }
                                ^

WARNING: unused command line option $1/@1
Pass 2: analysis failed.  [man error::pass2]
Passes: via server failed.  Try again with another '-v' option.
====

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-17 13:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 16:44 [Bug translator/22278] New: the nss client code doesn't handle '-I DIR' well dsmith at redhat dot com
2017-10-10 16:47 ` [Bug translator/22278] " fche at redhat dot com
2017-10-10 17:02 ` brolley at redhat dot com
2017-10-10 17:32 ` dsmith at redhat dot com
2017-10-10 17:38 ` dsmith at redhat dot com
2017-10-10 18:29 ` brolley at redhat dot com
2017-10-17 13:50 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).