[leaf-commits] src/bering-uclibc4/source/buildenv uClibc-pthread_initialize.patch, NONE, 1.1 buildtool.cfg, 1.6, 1.7 buildtool.mk, 1.7, 1.8

david M brooke <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/buildenv
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26154

Modified Files:
	buildtool.cfg buildtool.mk 
Added Files:
	uClibc-pthread_initialize.patch 
Log Message:
Patch to uClibc pthread_initialize() for aiccu daemon mode problem

Index: buildtool.cfg
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/buildenv/buildtool.cfg,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** buildtool.cfg	23 Oct 2010 11:44:23 -0000	1.6
--- buildtool.cfg	29 Oct 2010 16:00:11 -0000	1.7
***************
*** 132,133 ****
--- 132,146 ----
  	Envname = UC_PATCH2
  </File>
+ 
+ # This next patch is a (hopefully) temporary fix for uClibc-0.9.30.3
+ # Review for deletion when upgrading to 0.9.31 or above
+ # Symptoms fixed by the patch are "aiccu" hanging when run in "daemon" mode
+ # See leaf-devel mailing list postings "GCC update to 4.4.5" from October 2010
+ # The content of this patch is based on the following posting:
+ # http://old.nabble.com/pthread-and-daemon%28%29-problem-td27029024.html 
+ <File uClibc-pthread_initialize.patch>
+ 	Server = cvs4-sourceforge
+ 	Directory = buildenv
+ 	Revision = HEAD 
+ 	Envname = UC_PATCH3
+ </File>

Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/buildenv/buildtool.mk,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** buildtool.mk	23 Oct 2010 11:44:23 -0000	1.7
--- buildtool.mk	29 Oct 2010 16:00:11 -0000	1.8
***************
*** 366,369 ****
--- 366,371 ----
  	zcat $(UC_PATCH1) | patch -d $(UCLIBC_DIR) -p1 
  	cat $(UC_PATCH2) | patch -d $(UCLIBC_DIR) -p1 
+ 	# This next patch is temporary - see comments in buildtool.cfg
+ 	cat $(UC_PATCH3) | patch -d $(UCLIBC_DIR) -p1 
  	touch $(UCLIBC_DIR)/.unpacked
  

--- NEW FILE: uClibc-pthread_initialize.patch ---
*** uClibc-0.9.30.3/libpthread/linuxthreads/pthread.c.orig	2010-03-12 19:32:42.000000000 +0000
--- uClibc-0.9.30.3/libpthread/linuxthreads/pthread.c	2010-10-29 10:49:29.000000000 +0100
***************
*** 223,229 ****
        mask with e.g. sigsetjmp before creating the first thread);
     - a regular function called from pthread_create when needed. */
  
! static void pthread_initialize(void) __attribute__((constructor));
  
  #ifndef HAVE_Z_NODELETE
  extern void *__dso_handle __attribute__ ((weak));
--- 223,229 ----
        mask with e.g. sigsetjmp before creating the first thread);
     - a regular function called from pthread_create when needed. */
  
! static void pthread_initialize(void);
  
  #ifndef HAVE_Z_NODELETE
  extern void *__dso_handle __attribute__ ((weak));


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.