Re: same prog, different sizes
Jorge Almeida <[email protected]> Tue, 16 Sep 2014 22:00:33 +0100
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <CAKpSnp+ZrSy3x5ais7TMF16L964O19G_4MFMFwtnegZZA+d7KQ@mail.gmail.com> |
On Tue, Sep 16, 2014 at 9:56 PM, Steven Honeyman <[email protected]> wrote: > 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 I forgot to mention that I'm talking about dietlibc 0.33. Compilation of the CVS version (yesterday) failed on the i3. The programs work fine with dietlibc 0.33 on atom and prescott. I didn't have a chance to test it on the i3) Jorge