Bug 2402550
| Summary: | retsnoop 0.11 FTBFS on ppc64le | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michel Lind <michel> | ||||
| Component: | retsnoop | Assignee: | Michel Lind <michel> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | aditi, dan, davide, michel | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | ppc64le | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1071880 | ||||||
| Attachments: |
|
||||||
I'll take look. Created attachment 2110828 [details]
Attaching my patch
The change is in bpf_tracing header file where sp doesn't exist for powerpc arch.
|
retsnoop.bpf.c:182:8: error: no member named 'sp' in 'struct pt_regs' 182 | sp = PT_REGS_SP((struct pt_regs *)ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .output/include/bpf/bpf_tracing.h:503:43: note: expanded from macro 'PT_REGS_SP' 503 | #define PT_REGS_SP(x) (__PT_REGS_CAST(x)->__PT_SP_REG) | ~~~~~~~~~~~~~~~~~ ^ .output/include/bpf/bpf_tracing.h:314:21: note: expanded from macro '__PT_SP_REG' 314 | #define __PT_SP_REG sp | ^ 1 error generated. make: *** [Makefile:119: .output/retsnoop.bpf.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: 1. fedpkg clone -a retsnoop 2. cd retsnoop 3. Try a scratch build for ppc64le of 0.11-1 Actual Results: Fails as above Expected Results: Should succeed