Author: aurel32
Date: 2010-05-25 13:53:58 +0000 (Tue, 25 May 2010)
New Revision: 4286

Added:
   
glibc-package/branches/eglibc-2.11/debian/patches/amd64/submitted-tst-audit6-avx.diff
Modified:
   glibc-package/branches/eglibc-2.11/debian/changelog
   glibc-package/branches/eglibc-2.11/debian/patches/series
Log:
  * Add debian/patches/submitted-tst-audit6-avx.diff to skip AVX tests if if
    AVX is not available.



Modified: glibc-package/branches/eglibc-2.11/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/changelog 2010-05-24 17:01:16 UTC 
(rev 4285)
+++ glibc-package/branches/eglibc-2.11/debian/changelog 2010-05-25 13:53:58 UTC 
(rev 4286)
@@ -83,6 +83,8 @@
     UMOUNT_NOFOLLOW.
   * Add debian/patches/any/cvs-glob.diff from upstream to fix glob() with empty
     pattern.
+  * Add debian/patches/submitted-tst-audit6-avx.diff to skip AVX tests if if
+    AVX is not available.
 
   [ Samuel Thibault ]
   * debian/patches/hurd-i386/submitted-rtld_lock_recursive.diff: New patch to

Added: 
glibc-package/branches/eglibc-2.11/debian/patches/amd64/submitted-tst-audit6-avx.diff
===================================================================
--- 
glibc-package/branches/eglibc-2.11/debian/patches/amd64/submitted-tst-audit6-avx.diff
                               (rev 0)
+++ 
glibc-package/branches/eglibc-2.11/debian/patches/amd64/submitted-tst-audit6-avx.diff
       2010-05-25 13:53:58 UTC (rev 4286)
@@ -0,0 +1,26 @@
+2010-05-25  Aurelien Jarno  <[email protected]>
+
+       * elf/tst-audit6.c: always succeed if not AVX support.
+
+diff --git a/elf/tst-audit6.c b/elf/tst-audit6.c
+index 1f6dcb1..3a8411b 100644
+--- a/elf/tst-audit6.c
++++ b/elf/tst-audit6.c
+@@ -1,5 +1,6 @@
+ /* Test case for x86-64 preserved registers in dynamic linker.  */
+ 
++#ifdef __AVX__
+ #include <stdlib.h>
+ #include <string.h>
+ #include <cpuid.h>
+@@ -26,3 +27,10 @@ main (void)
+     }
+   return 0;
+ }
++#else
++int
++main (void)
++{
++  return 0;
++}
++#endif

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series    2010-05-24 
17:01:16 UTC (rev 4285)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series    2010-05-25 
13:53:58 UTC (rev 4286)
@@ -60,6 +60,7 @@
 amd64/local-biarch.diff
 amd64/local-clone.diff
 amd64/local-linuxthreads-gscope.diff
+amd64/submitted-tst-audit6-avx.diff
 
 arm/local-atomic.diff
 arm/local-eabi-wchar.diff


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to