GMP aborting in __gmpn_cpuvec_init when run inside KVM
Richard Guenther
rguenther at suse.de
Thu May 31 17:17:51 CEST 2012
KVM unfortunately defaults to an impossible CPU model/family on x86_64
("GenuineIntel", family 6, model 2). This leads to
__gmpn_cpuvec_init abort()ing. Of course KVM is to blame here but
they appearantly don't want to fix ...
Now, libraries such as GMP should not call abort(), at least not if
they can do something reasonable - like in this case simply defaulting
to the default code-path.
So - can you please change all abort () calls in __gmpn_cpuvec_init
to break;
Thanks,
Richard.
--
Richard Guenther <rguenther at suse.de>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
More information about the gmp-devel
mailing list