Bug 1076116
Summary: | oprofile do not build for powerpc | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michel Normand <normand> | ||||
Component: | oprofile | Assignee: | William Cohen <wcohen> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | jcapik, normand, wcohen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ppc64le | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | oprofile-0.9.9-3.54.gb7e9a57.fc21 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-13 18:18:02 UTC | Type: | Bug | ||||
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: | 1051573 | ||||||
Attachments: |
|
Could you submit the attached patch to the oprofile upstream mailing list, oprofile-list.net, for review and inclusion by upstream oprofile? Then it will be pulled in automatically the next time the rawhide code is pulled from the upstream git repo. (In reply to William Cohen from comment #1) > Could you submit the attached patch to the oprofile upstream mailing list, > oprofile-list.net, for review and inclusion by upstream > oprofile? Then it will be pulled in automatically the next time the rawhide > code is pulled from the upstream git repo. The patch of this bugzilla is a correction of the oprofile-0.9.7-xen.patch that is in fedora, but that is not in oprofile upstream. I took a closer look at the patch and it looked reasonable, so added it to the rawhide spec file. You should be able to build oprofile-0.9.9-3.54.gb7e9a57.fc21 on powerpc. Please verify. Verified, works. Thank you. Closing. |
Created attachment 874026 [details] oprofile_no_code_domain_switch.patch Description of problem: oprofile do not build on powerpc Version-Release number of selected component (if applicable): oprofile-0.9.9-2.18.g810bb80.fc21 Steps to Reproduce: 1. fedpkg clone -a oprofile 2. fedpkg prep 3. fedpkg mockbuild Actual results: gcc -DHAVE_CONFIG_H -I. -I.. -I ../libabi -I ../libutil -I ../libop -I ../libdb -W -Wall -fno-common -Wdeclaration-after-statement -Werror -fno-omit-frame-pointer -O2 -g -fsigned-char -c -o opd_trans.o opd_trans.c opd_trans.c:270:13: error: 'code_domain_switch' defined but not used [-Werror=unused-function] static void code_domain_switch(struct transient *trans) ^ cc1: all warnings being treated as errors Refer to patch in attachment to solve the problem (only tested on ppc64le)