On Mon, Sep 29, 2014 at 7:03 PM, Stroller <strol...@stellar.eclipse.co.uk> wrote: > > On Mon, 29 September 2014, at 5:35 pm, Daniel Troeder <dan...@admin-box.com> > wrote: >> … >> IMO you shouldn't compare 4.8.x with 4.9.x. > > Definitely this. > > OP should be doing everything he can to match the environment on both systems. > > This means matching versions of gcc, glibc and of all their libraries and > other dependencies. And of the libraries and dependencies for the program > he's attempting to compile.
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. > > Note that gcc has a "vanilla" USE flag - I think it's disabled by default. Sorry, should have mentioned that. I had the default flags. I just tried "vanilla" in case some patch would be causing the problem. No difference. (Same applies to the "nopie" flag.) > Thanks, Jorge