From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug tapsets/26152] New: _struct_compat_timex_u() function doesn't work on rhel8
Date: Mon, 22 Jun 2020 18:45:43 +0000 [thread overview]
Message-ID: <bug-26152-6586@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=26152
Bug ID: 26152
Summary: _struct_compat_timex_u() function doesn't work on
rhel8
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
Assignee: systemtap at sourceware dot org
Reporter: wcohen at redhat dot com
Target Milestone: ---
When running the current snapshot of systemtap on rhel8 some of the examples
(errsnoop and strace) that probe all the syscalls were failing. Tracked the
problem down to the _struct_compat_timex_u() function. This doesn't appear to
be a problem with the newer kernels in feora 32.
$ rpm -q kernel
kernel-4.18.0-216.el8.x86_64
$ stap -V
Systemtap translator/driver (version 4.4/0.180, rpm 4.4-1.202006221421.el8)
Copyright (C) 2005-2020 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.32 ... 5.7.0
enabled features: AVAHI BOOST_STRING_REF DYNINST BPF JAVA PYTHON3 LIBRPM
LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS READLINE MONITOR_LIBS
$ stap -p4 -e 'probe syscall.clock_adjtime {printf("%s\n", tx_uaddr_str)}'
/tmp/stapjqCFmW/stap_bf428e306108d6ed4ee7e688fdb3a93d_67608_src.c: In function
‘function___global__struct_compat_timex_u__overload_0’:
/tmp/stapjqCFmW/stap_bf428e306108d6ed4ee7e688fdb3a93d_67608_src.c:4195:22:
error: storage size of ‘ts’ isn’t known
struct compat_timex ts;
^~
/tmp/stapjqCFmW/stap_bf428e306108d6ed4ee7e688fdb3a93d_67608_src.c:4203:14:
error: invalid application of ‘sizeof’ to incomplete type ‘struct old_timex32’
sizeof(struct compat_timex)) == 0)
^~~~~~
make[1]: *** [scripts/Makefile.build:315:
/tmp/stapjqCFmW/stap_bf428e306108d6ed4ee7e688fdb3a93d_67608_src.o] Error 1
make: *** [Makefile:1545: _module_/tmp/stapjqCFmW] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2020-06-22 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 18:45 wcohen at redhat dot com [this message]
2020-06-29 15:39 ` [Bug tapsets/26152] " wcohen at redhat dot com
2023-10-04 14:30 ` wcohen 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-26152-6586@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).