Hello community,

here is the log from the commit of package gmp for openSUSE:Factory checked in 
at 2012-05-29 11:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmp (Old)
 and      /work/SRC/openSUSE:Factory/.gmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmp", Maintainer is "rguent...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmp/gmp.changes  2012-05-07 22:47:21.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.gmp.new/gmp.changes     2012-05-29 
11:48:31.000000000 +0200
@@ -1,0 +2,6 @@
+Tue May 29 08:01:17 UTC 2012 - co...@suse.com
+
+- do not abort on kvm's x86_64 "CPU", just use generic support for
+  unknown CPUs
+
+-------------------------------------------------------------------

New:
----
  gmp-support-kvm.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmp.spec ++++++
--- /var/tmp/diff_new_pack.mxKMCy/_old  2012-05-29 11:48:32.000000000 +0200
+++ /var/tmp/diff_new_pack.mxKMCy/_new  2012-05-29 11:48:32.000000000 +0200
@@ -31,6 +31,7 @@
 Source:         gmp-%{version}.tar.bz2
 Source2:        baselibs.conf
 Patch0:         gmp-noexec.diff
+Patch1:         gmp-support-kvm.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -85,6 +86,7 @@
 %ifnarch %arm
 %patch0
 %endif
+%patch1 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fexceptions";

++++++ gmp-support-kvm.diff ++++++
From: Stephan Kulow <co...@suse.de>

KVM defaults to a basically non-existant CPUid, so it needs special
handling model 1 is Pentium Pro (1995) and model 3 is Pentium II (1997),
model 2 was never released

Index: gmp-5.0.5/mpn/x86_64/fat/fat.c
===================================================================
--- gmp-5.0.5.orig/mpn/x86_64/fat/fat.c 2012-05-06 13:19:50.000000000 +0200
+++ gmp-5.0.5/mpn/x86_64/fat/fat.c      2012-05-29 09:58:12.540345955 +0200
@@ -201,9 +201,12 @@ __gmpn_cpuvec_init (void)
        case 6:
          switch (model)
            {
+           case 0x02:         /* KVM default */
+              /* generic will do */
+               break;
+       
            case 0x00:
            case 0x01:
-           case 0x02:
            case 0x03:
            case 0x04:
            case 0x05:
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to