[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2187: uplift pthread_attr_setstack version for ppc (bug 3617)

Mats Wichmann mats at linuxfoundation.org
Thu Jan 30 00:50:33 UTC 2014


------------------------------------------------------------
revno: 2187
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Wed 2014-01-29 17:50:33 -0700
message:
  uplift pthread_attr_setstack version for ppc (bug 3617)
modified:
  headers/PPC32/5.0/limits.h.defs
  headers/PPC64/5.0/limits.h.defs
  headers/limits.h
  package/Makefile
  stub_libs/5.0/PPC32/libpthread.Version
  stub_libs/5.0/PPC32/libpthread.c
  stub_libs/5.0/PPC64/libpthread.Version
  stub_libs/5.0/PPC64/libpthread.c
-------------- next part --------------
=== modified file 'headers/PPC32/5.0/limits.h.defs'
--- a/headers/PPC32/5.0/limits.h.defs	2012-05-21 13:27:33 +0000
+++ b/headers/PPC32/5.0/limits.h.defs	2014-01-30 00:50:33 +0000
@@ -6,4 +6,4 @@
 #define CHAR_MIN	0
 #define CHAR_MAX	255
 
-#define PTHREAD_STACK_MIN	16384
+#define PTHREAD_STACK_MIN	131072

=== modified file 'headers/PPC64/5.0/limits.h.defs'
--- a/headers/PPC64/5.0/limits.h.defs	2012-05-21 13:27:33 +0000
+++ b/headers/PPC64/5.0/limits.h.defs	2014-01-30 00:50:33 +0000
@@ -6,4 +6,4 @@
 #define CHAR_MIN	0
 #define CHAR_MAX	255
 
-#define PTHREAD_STACK_MIN	16384
+#define PTHREAD_STACK_MIN	131072

=== modified file 'headers/limits.h'
--- a/headers/limits.h	2013-03-11 21:23:29 +0000
+++ b/headers/limits.h	2014-01-30 00:50:33 +0000
@@ -257,12 +257,6 @@
 #if defined __i386__
 #define PTHREAD_STACK_MIN	16384
 #endif
-#if defined __powerpc__ && !defined __powerpc64__
-#define PTHREAD_STACK_MIN	16384
-#endif
-#if defined __powerpc64__
-#define PTHREAD_STACK_MIN	16384
-#endif
 #if defined __s390__ && !defined __s390x__
 #define PTHREAD_STACK_MIN	16384
 #endif
@@ -277,8 +271,26 @@
 #define PTHREAD_STACK_MIN	196608
 #endif
 #define PTHREAD_DESTRUCTOR_ITERATIONS	4
+#if __LSB_VERSION__ < 50
+#if defined __powerpc__ && !defined __powerpc64__
+#define PTHREAD_STACK_MIN	16384
+#endif
+#if defined __powerpc64__
+#define PTHREAD_STACK_MIN	16384
+#endif
+#endif				/* __LSB_VERSION__ < 5.0 */
+
 #endif				/* __LSB_VERSION__ >= 3.0 */
 
+#if __LSB_VERSION__ >= 50
+#if defined __powerpc__ && !defined __powerpc64__
+#define PTHREAD_STACK_MIN	131072
+#endif
+#if defined __powerpc64__
+#define PTHREAD_STACK_MIN	131072
+#endif
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
 
 
 #ifdef __cplusplus

=== modified file 'package/Makefile'
--- a/package/Makefile	2014-01-24 23:21:19 +0000
+++ b/package/Makefile	2014-01-30 00:50:33 +0000
@@ -42,7 +42,7 @@
 # Should have leading "."
 # a big number (80-99) is leading up to the next minor spec
 # build_env is version-independent so can wait till late to bump this
-SUB_VERSION=.56
+SUB_VERSION=.57
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called

=== modified file 'stub_libs/5.0/PPC32/libpthread.Version'
--- a/stub_libs/5.0/PPC32/libpthread.Version	2013-02-25 22:24:48 +0000
+++ b/stub_libs/5.0/PPC32/libpthread.Version	2014-01-30 00:50:33 +0000
@@ -82,7 +82,6 @@
   pthread_attr_init;
   pthread_attr_setguardsize;
   pthread_attr_setstackaddr;
-  pthread_attr_setstacksize;
   pthread_create;
   pthread_getconcurrency;
   pthread_mutexattr_gettype;
@@ -124,7 +123,6 @@
   pread;
   pread64;
   pthread_attr_getstack;
-  pthread_attr_setstack;
   pthread_barrier_destroy;
   pthread_barrier_init;
   pthread_barrier_wait;
@@ -180,3 +178,7 @@
   pthread_mutexattr_setprotocol;
   pthread_mutexattr_setrobust_np;
 };
+GLIBC_2.6 {
+  pthread_attr_setstack;
+  pthread_attr_setstacksize;
+};

=== modified file 'stub_libs/5.0/PPC32/libpthread.c'
--- a/stub_libs/5.0/PPC32/libpthread.c	2013-02-25 22:24:48 +0000
+++ b/stub_libs/5.0/PPC32/libpthread.c	2014-01-30 00:50:33 +0000
@@ -41,8 +41,12 @@
 void pthread_attr_setschedpolicy() {} ;
 void pthread_attr_setscope() {} ;
 void pthread_attr_setstack() {} ;
+void pthread_attr_setstack_depr_0() {} ;
+__asm__(".symver pthread_attr_setstack_depr_0,pthread_attr_setstack at GLIBC_2.2");
 void pthread_attr_setstackaddr() {} ;
 void pthread_attr_setstacksize() {} ;
+void pthread_attr_setstacksize_depr_0() {} ;
+__asm__(".symver pthread_attr_setstacksize_depr_0,pthread_attr_setstacksize at GLIBC_2.1");
 void pthread_barrier_destroy() {} ;
 void pthread_barrier_init() {} ;
 void pthread_barrier_wait() {} ;

=== modified file 'stub_libs/5.0/PPC64/libpthread.Version'
--- a/stub_libs/5.0/PPC64/libpthread.Version	2013-02-25 22:24:48 +0000
+++ b/stub_libs/5.0/PPC64/libpthread.Version	2014-01-30 00:50:33 +0000
@@ -46,9 +46,7 @@
   pthread_attr_setschedparam;
   pthread_attr_setschedpolicy;
   pthread_attr_setscope;
-  pthread_attr_setstack;
   pthread_attr_setstackaddr;
-  pthread_attr_setstacksize;
   pthread_barrier_destroy;
   pthread_barrier_init;
   pthread_barrier_wait;
@@ -172,3 +170,7 @@
   pthread_mutexattr_setprotocol;
   pthread_mutexattr_setrobust_np;
 };
+GLIBC_2.6 {
+  pthread_attr_setstack;
+  pthread_attr_setstacksize;
+};

=== modified file 'stub_libs/5.0/PPC64/libpthread.c'
--- a/stub_libs/5.0/PPC64/libpthread.c	2013-02-25 22:24:48 +0000
+++ b/stub_libs/5.0/PPC64/libpthread.c	2014-01-30 00:50:33 +0000
@@ -41,8 +41,12 @@
 void pthread_attr_setschedpolicy() {} ;
 void pthread_attr_setscope() {} ;
 void pthread_attr_setstack() {} ;
+void pthread_attr_setstack_depr_0() {} ;
+__asm__(".symver pthread_attr_setstack_depr_0,pthread_attr_setstack at GLIBC_2.3");
 void pthread_attr_setstackaddr() {} ;
 void pthread_attr_setstacksize() {} ;
+void pthread_attr_setstacksize_depr_0() {} ;
+__asm__(".symver pthread_attr_setstacksize_depr_0,pthread_attr_setstacksize at GLIBC_2.3");
 void pthread_barrier_destroy() {} ;
 void pthread_barrier_init() {} ;
 void pthread_barrier_wait() {} ;



More information about the lsb-messages mailing list