Will, On Mon, Aug 21, 2006 at 05:22:13PM -0400, 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. > I agree.
> 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. > Although the config.mk details every processor (or processor family), I anticipate that what really matters in the end is the architecture. In other words, for IA-64, X86-64, I386, MIPS you always want to compile ALL the available processors. I think you need one RPM for i386, one X86-64, and one for IA-64. For the header files, the same approach must be used. For instance for I386 (32-bit x86) processors, we must install all the headers for P4, P6, generic, AMD64 in 32-mode, ...If this is not the case today, then this is a bug. -- -Stephane _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
