illegal instruction - create compile variants ?
Ralf Corsepius
rc040203 at freenet.de
Sun May 1 06:47:02 UTC 2011
On 05/01/2011 08:30 AM, David Timms wrote:
> Hi, a user of rakarrack was getting startup exception SIGILL [1].
>
> Seems the config/make/compile process for this app checks CPU capability
> of the machine it is being compiled on, and applies optimisations that
> are available on that processor.
>
> The user has a much older processor.
>
> Upstream suggest [2] that distros could add a script to detect runtime
> CPU, and call the appropriately compiled executable.
>
> To do that in rpm, I think I would need to call configure a second time.
> Also, the new compile would overwrite the first compile, so it doesn't
> seem that easy.
>
> Any suggestions on a way forward ?
Rpm's and Fedora's philosophy is to let rpm specify/dictate CFLAGS,
which packages are supposed to respect.
Ralf
More information about the devel
mailing list