On Thu, Aug 11, 2022 at 08:19:12AM +0000, Richard Biener wrote:
On Thu, 11 Aug 2022, Dan Čermák wrote:
Larry Len Rainey
writes: Can anyone prove or disprove that the kernel has to be V3 for things like ImageMagic to run if it is complied V3?
No, the kernel does not have to be compiled with x86_64 v3.
I could see a ImageMagic-V3 as an option for those with hardware that can take advantage of it and just plain ImageMagic for those that cannot.
Yes, that's what I'd like to see as well, but currently rpm does not support this natively (it could be worked around via different multiple repositories though, but I'd like a proper solution to be honest).
The first and foremost rpm feature missing is a standard way to specify a minimum required set of HW capabilities a package requires. Currently the rpm meta includes the architecture, so one "obvious" way would be to simply add additional architectures. But then rpm itself doesn't do any magic and will happily install even arm architecture packages to your x86_64 system IIRC.
That would be immensely useful feature, actually. Unfortunately there is no support for having the required support libraries for multiple architectures.
There are already packages existing in our x86_64 repository that will not run correctly on original x86_64 hardware but SIGILL. Unfortunately there's currently no way to annotate those appropriately and prevent them from installing on systems not capable enough.
If it as subarchitectures like i386/i486/i586/i686 then you could tell rpm which you want and which not but then there is a need for rpm to know that i686 package can use i386 library as dependency, but not an armv7l one. Thanks Michal