On Mon, Sep 29, 2014 at 7:26 PM, Jorge Almeida <jjalme...@gmail.com> wrote: > On Mon, Sep 29, 2014 at 7:03 PM, Stroller > <strol...@stellar.eclipse.co.uk> wrote: >>
>> >> OP should be doing everything he can to match the environment on both >> systems. >> > Since the problem is the same with dietlibc, glibc is not causing the > discrepancy. And my program doesn't use any other library besides the > C standard lib (glibc/dietlibc) and linux system calls. > > Emerging gcc 4.9.1 now... I'll try compiling my program against > dietlibc, since replacing glibc seems scary. > gcc 4.9.1, dietlibc-0.33 (no dependencies whatsoever); Gentoo: 7011 (unstripped) 4116 (stripped with sstrip) LFS: 6207 (unstripped) 3340 (stripped with sstrip) Could binutils have something to do with this? Trying that... Jorge Almeida