Repost: large binary size if linked with libpthread in snapshot
newnashworks at gmail.com
Thu Nov 16 21:07:43 UTC 2006
Finally, root caused this issue. In
PTHREAD_THREADS_MAX was set to 16K. As a result, the global variable
pthread_handles was huge.
Reducing it to 256 for our embedded target brought down the binary
size to 81K from 339K.
I'm thinking of providing a patch that allows customiziation of this
value through menu config. Will that work?
On 11/4/06, nunash <newnashworks at gmail.com> wrote:
> I've no clue why programs are ~250K larger if I link with snapshot
> uClibc compared to of 0.9.28. I noticed several _GI__xxx symbols. Other
> than that no idea why they are larger.
> Any ideas?
More information about the uClibc