public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "vedabharath12345 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug runtime/24681] Systemtap regression on 5.2.0-rc4+
Date: Fri, 14 Jun 2019 16:58:00 -0000	[thread overview]
Message-ID: <bug-24681-6586-wivDOFezbh@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24681-6586@http.sourceware.org/bugzilla/>

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

--- Comment #2 from Bharath <vedabharath12345 at gmail dot com> ---
Hey, On Oracle Linux 7.5 with linux 5.2.0-rc4+ and with stap 4.2, I get the
following regression:

Pass 1: parsed user script and 476 library scripts using
215736virt/85988res/4624shr/81904data kb, in 330usr/20sys/360real ms.
Pass 2: analyzed script: 5 probes, 6 functions, 1 embed, 9 globals using
267040virt/138920res/6180shr/133208data kb, in 660usr/20sys/672real ms.
Pass 3: translated to C into
"/tmp/stapHe4lxX/stap_a1937e59a38430d00dc862c2e665d999_8306_src.c" using
267040virt/139048res/6308shr/133208data kb, in 0usr/0sys/7real ms.
In file included from /usr/local/share/systemtap/runtime/runtime.h:26:0,
                 from
/tmp/stapHe4lxX/stap_a1937e59a38430d00dc862c2e665d999_8306_src.c:26:
/usr/local/share/systemtap/runtime/linux/runtime.h:72:17: error:
‘udelay_simple’ undeclared here (not in a function)
 typedef typeof(&udelay_simple) udelay_simple_fn;
                 ^
/usr/local/share/systemtap/runtime/linux/probe_lock.h: In function
‘stp_lock_probe’:
/usr/local/share/systemtap/runtime/linux/runtime.h:73:23: error: cast from
pointer to integer of different size [-Werror=pointer-to-int-cast]
 #define udelay(x) ((* (udelay_simple_fn)(kallsyms_udelay_simple))((x)))
                       ^
/usr/local/share/systemtap/runtime/linux/probe_lock.h:58:5: note: in expansion
of macro ‘udelay’
     udelay (TRYLOCKDELAY);
     ^
/usr/local/share/systemtap/runtime/linux/runtime.h:73:21: error: invalid type
argument of unary ‘*’ (have ‘int’)
 #define udelay(x) ((* (udelay_simple_fn)(kallsyms_udelay_simple))((x)))
                     ^
/usr/local/share/systemtap/runtime/linux/probe_lock.h:58:5: note: in expansion
of macro ‘udelay’
     udelay (TRYLOCKDELAY);
     ^
/usr/local/share/systemtap/runtime/linux/runtime.h:73:23: error: cast from
pointer to integer of different size [-Werror=pointer-to-int-cast]
 #define udelay(x) ((* (udelay_simple_fn)(kallsyms_udelay_simple))((x)))
                       ^
/usr/local/share/systemtap/runtime/linux/probe_lock.h:69:5: note: in expansion
of macro ‘udelay’
     udelay (TRYLOCKDELAY);
     ^
/usr/local/share/systemtap/runtime/linux/runtime.h:73:21: error: invalid type
argument of unary ‘*’ (have ‘int’)
 #define udelay(x) ((* (udelay_simple_fn)(kallsyms_udelay_simple))((x)))
                     ^
/usr/local/share/systemtap/runtime/linux/probe_lock.h:69:5: note: in expansion
of macro ‘udelay’
     udelay (TRYLOCKDELAY);
     ^
/tmp/stapHe4lxX/stap_a1937e59a38430d00dc862c2e665d999_8306_src.c: At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
[-Werror]
cc1: all warnings being treated as errors
make[2]: *** [/tmp/stapHe4lxX/stap_a1937e59a38430d00dc862c2e665d999_8306_src.o]
Error 1
make[1]: *** [_module_/tmp/stapHe4lxX] Error 2
make: *** [sub-make] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_a1937e59a38430d00dc862c2e665d999_8306.ko" in
8480usr/1310sys/9931real ms.
Pass 4: compilation failed.  [man error::pass4]

The previous error on Oracle Linux 7.5 with 5.2.0-rc4+ was with stap 3.2

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

  parent reply	other threads:[~2019-06-14 16:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 16:15 [Bug runtime/24681] New: " vedabharath12345 at gmail dot com
2019-06-14 16:57 ` [Bug runtime/24681] " vedabharath12345 at gmail dot com
2019-06-14 16:58 ` vedabharath12345 at gmail dot com [this message]
2019-10-15 16:01 ` fche at redhat dot com
2023-05-25 16:38 ` fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-24681-6586-wivDOFezbh@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).