Re: sigprocmask testing program failed with static linking

2011-04-23 Thread Peter Mazinger
Datum: Thu, 21 Apr 2011 18:23:21 -0700 Von: Austin Foxley aust...@cetoncorp.com An: Jian Peng jip...@broadcom.com CC: uclibc@uclibc.org uclibc@uclibc.org Betreff: Re: sigprocmask testing program failed with static linking On 03/27/2011 12:27 AM, Jian Peng wrote: This is one of many potential

Re: sigprocmask testing program failed with static linking

2011-04-23 Thread Rich Felker
On Sat, Apr 23, 2011 at 01:25:59PM +0200, Peter Mazinger wrote: I am all for removing duplicated functions in libc/libpthread, began this in future branch (cancellable functions), if we need separate implementations, I would prefer to rename functions in libpthread to show us, that this is

Re: sigprocmask testing program failed with static linking

2011-04-22 Thread Austin Foxley
On 03/27/2011 12:27 AM, Jian Peng wrote: This is one of many potential static linking problems in uClibc. Last time, I reported a bug on sigaction and submitted a patch, but similar multiple definition error could happen to any function that was defined as GLOBAL in both libc.a and

Re: sigprocmask testing program failed with static linking

2011-04-22 Thread Jian Peng
Thank you, Austin. Since I am not familiar with internal design of libc and libpthread, I am afraid of messing it up by reimplementing those pieces. Looking forward to testing your patch. Jian On Apr 21, 2011, at 6:23 PM, Austin Foxley aust...@cetoncorp.com wrote: On 03/27/2011 12:27 AM,

Re: sigprocmask testing program failed with static linking

2011-04-22 Thread Austin Foxley
On 04/21/2011 11:26 PM, Jian Peng wrote: Thank you, Austin. Since I am not familiar with internal design of libc and libpthread, I am afraid of messing it up by reimplementing those pieces. Looking forward to testing your patch. Jian Please try the attached patch. Thanks, -Austin From

RE: sigprocmask testing program failed with static linking

2011-04-20 Thread Jian Peng
@uclibc.org Subject: RE: sigprocmask testing program failed with static linking I chose Plain Text mode in Outlook, but not sure why line wrap failed. Here is my new patch using weak_function. From 4ebcbb392994e5a8a310d59ca5541fe97c4babdd Mon Sep 17 00:00:00 2001 From: Jian Peng jipeng2...@gmail.com

RE: sigprocmask testing program failed with static linking

2011-03-28 Thread Jian Peng
...@uclibc.org [mailto:uclibc-boun...@uclibc.org] On Behalf Of Mike Frysinger Sent: Sunday, March 27, 2011 1:01 AM To: uclibc@uclibc.org Subject: Re: sigprocmask testing program failed with static linking On Sun, Mar 27, 2011 at 3:27 AM, Jian Peng wrote: please fix your e-mail client to properly wrap long

Re: sigprocmask testing program failed with static linking

2011-03-27 Thread Mike Frysinger
On Sun, Mar 27, 2011 at 3:27 AM, Jian Peng wrote: please fix your e-mail client to properly wrap long lines. From 2e435b037624eff8c0daaa146d6feca57ce1eecf Mon Sep 17 00:00:00 2001 From: Jian Peng jipeng2...@gmail.com Date: Sat, 26 Mar 2011 23:44:52 -0700 Subject: [PATCH 1/1] common: fix