RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1972828 - [ppc64le specific] error: implicit declaration of function ‘clflush_cache_range’
Summary: [ppc64le specific] error: implicit declaration of function ‘clflush_cache_range’
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: systemtap
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Frank Ch. Eigler
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-16 17:18 UTC by Martin Cermak
Modified: 2021-12-07 21:53 UTC (History)
3 users (show)

Fixed In Version: systemtap-4.5-3.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:50:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Martin Cermak 2021-06-16 17:18:46 UTC
[ppc64le specific] error: implicit declaration of function ‘clflush_cache_range’


(1) scr0   9.0 Server ppc64le # rpm -q systemtap ; uname -r
systemtap-4.5-2.el9.ppc64le
5.13.0-0.rc4.33.el9.ppc64le
scr0   9.0 Server ppc64le # stap -e 'probe kernel.trace("*"){}' -t -u -v -c '/bin/true'
Pass 1: parsed user script and 506 library scripts using 119104virt/93248res/14592shr/76160data kb, in 310usr/0sys/318real ms.
WARNING: tracepoint hcall_entry is blocklisted on architecture powerpc
WARNING: tracepoint hcall_exit is blocklisted on architecture powerpc
WARNING: tracepoint hash_fault is blocklisted on architecture powerpc
Pass 2: analyzed script: 1644 probes, 0 functions, 0 embeds, 0 globals using 136320virt/113088res/16384shr/93376data kb, in 270usr/250sys/1940real ms.
Pass 3: translated to C into "/tmp/stapHD34iB/stap_42961ff297d3abfe69582caf678878e4_127284_src.c" using 136320virt/113088res/16384shr/93376data kb, in 200usr/10sys/206real ms.
In file included from ./include/trace/events/intel_iommu.h:16,
                 from /tmp/stapHD34iB/stap_42961ff297d3abfe69582caf678878e4_127284_aux_91.c:10:
./include/linux/intel-iommu.h: In function ‘__iommu_flush_cache’:
./include/linux/intel-iommu.h:661:17: error: implicit declaration of function ‘clflush_cache_range’; did you mean ‘flush_cache_range’? [-Werror=implicit-function-declaration]
  661 |                 clflush_cache_range(addr, size);
      |                 ^~~~~~~~~~~~~~~~~~~
      |                 flush_cache_range
cc1: all warnings being treated as errors
make[1]: *** [scripts/Makefile.build:272: /tmp/stapHD34iB/stap_42961ff297d3abfe69582caf678878e4_127284_aux_91.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1855: /tmp/stapHD34iB] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_42961ff297d3abfe69582caf678878e4_127284.ko" in 180600usr/8360sys/25717real ms.
Pass 4: compilation failed.  [man error::pass4]
(1) scr0   9.0 Server ppc64le #

Comment 1 Frank Ch. Eigler 2021-06-24 17:33:39 UTC
upstream commit 515a6a2d63


Note You need to log in before you can comment on or make changes to this bug.