From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0ACFF384B0C1; Mon, 22 Jun 2020 18:45:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0ACFF384B0C1 From: "wcohen at redhat dot com" 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 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 18:45:44 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26152 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 funct= ion =E2=80=98function___global__struct_compat_timex_u__overload_0=E2=80=99: /tmp/stapjqCFmW/stap_bf428e306108d6ed4ee7e688fdb3a93d_67608_src.c:4195:22: error: storage size of =E2=80=98ts=E2=80=99 isn=E2=80=99t known struct compat_timex ts; ^~ /tmp/stapjqCFmW/stap_bf428e306108d6ed4ee7e688fdb3a93d_67608_src.c:4203:14: error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type = =E2=80=98struct old_timex32=E2=80=99 sizeof(struct compat_timex)) =3D=3D 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] --=20 You are receiving this mail because: You are the assignee for the bug.=