Red Hat Bugzilla – Bug 606308
oprofile-jit: libjvmti_oprofile.so is not built
Last modified: 2011-05-13 08:51:28 EDT
Description of problem:
The libjvmti_oprofile.so is not built and packaged in the oprofile-jit package. Without the libjvmti_oprofile.so library, performance profiling is not available for Java programs.
The lib is not built because the in the %prep section of the rpm specfile, the openjdk-include.tar.gz tarball containing required header files are not extracted. The oprofile configure script does not find the required jvmti.h file and, therefore, the lib is built and packaged.
Fix proposal: extract the the openjdk-include.tar.gz during the %prep step of the rpm build. For example, add the following into the %prep section (after the first %setup):
%setup -T -D -a 1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
check the file list of the oprofile-jit if "/usr/lib64/oprofile/libjvmti_oprofile.so" is included
The lib is not included.
"/usr/lib64/oprofile/libjvmti_oprofile.so" is included.
The problem has been found on s390x, but it might exist on other architectures.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
This should be fixed in oprofile-0.9.6-7.el6.
*** This bug has been marked as a duplicate of bug 463223 ***
I guess that fix can be expected with snap7 - right?