View Issue Details

IDProjectCategoryView StatusLast Update
0016188CentOS-7-OTHERpublic2019-06-17 05:41
Reporterasheplyakov 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016188: "asm goto" statements in kernel headers break bcc-tools
DescriptionMost of bcc-tools fail to run due to "asm goto" in kernel headers. For instance,

$ sudo /usr/share/bcc/tools/opensnoop -T
In file included from /virtual/main.c:4:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/sched.h:17:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/timex.h:56:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/uapi/linux/timex.h:56:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/time.h:5:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/seqlock.h:35:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/spinlock.h:50:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/preempt.h:9:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/thread_info.h:66:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/arch/x86/include/asm/thread_info.h:22:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/arch/x86/include/asm/cpufeature.h:7:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/arch/x86/include/asm/processor.h:30:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/irqflags.h:15:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/arch/x86/include/asm/irqflags.h:9:
In file included from /lib/modules/3.10.0-957.12.2.el7.x86_64/build/arch/x86/include/asm/nospec-branch.h:12:
/lib/modules/3.10.0-957.12.2.el7.x86_64/build/arch/x86/include/asm/jump_label.h:22:2: error: 'asm goto' constructs are not supported yet
asm_volatile_goto("1:"
^
/lib/modules/3.10.0-957.12.2.el7.x86_64/build/include/linux/compiler-gcc.h:224:42: note: expanded from macro 'asm_volatile_goto'
#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
^
[skipped, the complete trace is available at https://github.com/iovisor/bcc/issues/2368]
Steps To Reproduce1. install bcc-tools: yum install bcc-tools kernel-devel
2. run opensnoop (or any other /usr/share/bcc/tools/*): sudo /usr/share/bcc/tools/opensnoop -T

Additional InformationThe problem appears to be solved in the upstream version of bcc-tools: https://github.com/iovisor/bcc/pull/2133/commits/c4d0d6f6ea898a0341478e44ffd7bb04893ec10a
TagsNo tags attached.
abrt_hash
URL

Activities

toracat

toracat

2019-06-17 05:41

manager   ~0034675

CentOS is a rebuild of the sources used to create RHEL. We do not modify anything except to remove branding and logos. You will need to submit your request to Red Hat via http://bugzilla.redhat.com and if/when RH accepts it and incorporates it into RHEL and releases a patched version, then CentOS will pick it up and rebuild it.

Issue History

Date Modified Username Field Change
2019-06-17 04:32 asheplyakov New Issue
2019-06-17 05:41 toracat Note Added: 0034675