Re: same prog, different sizes

Steven Honeyman <[email protected]> Tue, 16 Sep 2014 21:56:09 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <CABz95_DKLRV73jLYmx_rNJhpfU=AfFgQXLHj=oG2p17i3K=Q7A@mail.gmail.com>
On 16 September 2014 21:48, Jorge Almeida <[email protected]> wrote:
> I just noticed that the same program compiled with the same flags (in
> particular, march=i686) have *very* different sizes, both before and
> after stripping. On a prescott and a ION atom, about 4K. On a core i3,
> about 8K.
>
> I expected differences (prescott and atom always yielded different
> sizes, slightly smaller on prescott), but this seems absurd. Or is it?
> As you guess, I've not been touching very modern hw. Is this something
> to be expected? Am I doing something wrong?
>

> Any one with this experience?

I don't even get chance to test compile size difference - the current
CVS version is still producing broken programs for me.

gcc 4.9.1 stable (also tried snapshot)
haswell i5, 16gb ram

dietlibc 0.33 still works fine


Thanks,
Steven