Re: size: 0.33 vs cvs

Jorge Almeida <[email protected]> Sun, 5 Oct 2014 19:48:56 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <CAKpSnpKAKGC-UnBZyKiDvbsm0bANK0qWvTY4FsD-V+-KN5Hdjw@mail.gmail.com>
On Sun, Oct 5, 2014 at 7:35 PM, Felix von Leitner
<[email protected]> wrote:
>> Same program, same computer, same OS (LFS); both versions of dietlibc
>> just freshly compiled, to make sure all is the same; the test program
>> doesn't use any other library
>
>> 0.33:
>> 6207 B (unstripped)
>> 3340 B (stripped with sstrip)
>
>> cvs Sat Oct  4 17:51:01 WEST 2014
>> 7266 B (unstripped)
>> 4128 B (stripped with sstrip)
>
>> ?
>
> dietlibc has gained new features.
> For starters, diff dietfeatures.h

I had checked that.
##  diff cvs/dietlibc/dietfeatures.h dietlibc-0.33/dietfeatures.h
32c32
< // #define WANT_DYNAMIC
---
> /* #define WANT_DYNAMIC */
163a164,170
> #ifdef WANT_THREAD_SAFE
> #ifndef __ASSEMBLER__
> #define errno (*__errno_location())
> #define _REENTRANT
> #endif
> #endif
>
173,176d179
< #endif
<
< #if defined(__x86_64__) && defined(__ILP32__)
< #undef WANT_LARGEFILE_BACKCOMPAT

The x86_64 stuff is not relevant (32bit system).


I don't know about WANT_THREAD_SAFE. I assume it would be a gcc
-Dflag? If so, I didn't use it.

Thnx

Jorge