Public bug reported:

---Problem Description---
Papi support for Power 8 has a bug in the declaration of a statically 
initialized array.  The issue is to access the Power 8 data the index is 
outside the declared array.  On Ubuntu, the papi testcases receive a 
segmentation fault. The fix has been identified.
 
---uname output---
Linux genoa 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:57:29 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux
 
Machine Type = Power 8 LE 
 
---Steps to Reproduce---
 Install papi, configure and make the tools and test cases.  Run the PAPI tests.
 
Userspace tool common name: PAPI 
 
The userspace tool has the following bit modes: http://icl.cs.utk.edu/papi/ 

I have attached a patch to fix the issue.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bugnameltc-117488 severity-medium 
targetmilestone-inin14042

** Tags added: architecture-ppc64le bugnameltc-117488 severity-medium
targetmilestone-inin14042

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1380820

Title:
  PAPI for PPC64 architecture specific array sys_mem_info[] is not
  properly decalared

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1380820/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to