William Cohen wrote:
Generally Red Hat builds RPM packages for different processors, but only
one package for each processor architecture. No seperate packages for
different processor implementations, e.g. Intel Pentium 4 and Pentium M
use the same binary RPMs. There are a few exceptions to this like glibc
where there is a i386 and i686 version of the same library, but they are
very rare. For packages like libpfm and pfmon there is no way to justify
multiple versions of the packages.
Looking through libpfm it is only building and installing the files for
the specific processor implementation. Thus, only files for the
processor implementation that the build is being done on are going to be
built and only header files for the processor implementation are going
to be installed. This is going to present a problem when someone install
a RPM built on one processor implemantion on their machine with a
different processor implementation. libpfm (and pfmon) should be more
like the kernel in the sense that they build code for all the possible
architectures it could run on.
-Will
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
Grouping thing together could simplify things and avoid the typo I found
in perfmon2/libpfm/include/Makefile. The attached is a trivial correction.
-Will
? install.problems
? examples/multiplex
? examples/multiplex2
? examples/notify_self
? examples/notify_self2
? examples/notify_self3
? examples/notify_standalone
? examples/pfmsetup
? examples/rtop
? examples/self
? examples/self_standalone
? examples/self_view
? examples/set_notify
? examples/showevtinfo
? examples/showreginfo
? examples/smpl_standalone
? examples/syst
? examples/task
? examples/task_attach
? examples/task_attach_timeout
? examples/task_smpl
? examples/task_smpl_user
? examples/whichpmu
? examples/x86_64/smpl_pebs
? lib/libpfm.so.3.2.0
? lib/pfmlib_amd64.lo
? lib/pfmlib_common.lo
? lib/pfmlib_os.lo
? lib/pfmlib_pentium4.lo
? libpfms/syst_smp
? libpfms/lib/libpfms.lo
? libpfms/lib/libpfms.so.0.1.0
Index: include/Makefile
===================================================================
RCS file: /cvsroot/perfmon2/libpfm/include/Makefile,v
retrieving revision 1.6
diff -r1.6 Makefile
69c69
< ifeq ($(CONFIG_PFMLIB_AMD_X86_64),y)
---
> ifeq ($(CONFIG_PFMLIB_AMD64),y)
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/