Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 7:26 PM, Jorge Almeida wrote: > On Mon, Sep 29, 2014 at 7:03 PM, Stroller > 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

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 7:03 PM, Stroller wrote: > > On Mon, 29 September 2014, at 5:35 pm, Daniel Troeder > 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

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Stroller
On Mon, 29 September 2014, at 5:35 pm, Daniel Troeder 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 depen

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Walter Dnes
On Mon, Sep 29, 2014 at 04:32:40PM +0100, Jorge Almeida wrote > On Mon, Sep 29, 2014 at 4:15 PM, Walter Dnes wrote: > > On Mon, Sep 29, 2014 at 12:45:44PM +0100, Jorge Almeida wrote > > > > > > Grasping at straws now. What are your CFLAGS and full USE flags? I > > suggest running the command..

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 5:20 PM, Poison BL. wrote: > On Mon, Sep 29, 2014 at 12:02 PM, Jorge Almeida wrote: >> I'm having a somewhat disgusting issue on my Gentoo: binaries are >> unaccountably large. > >> >> > > Just the off the top of my head thoughts on how I'd approach this. GCC

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 5:35 PM, Daniel Troeder wrote: > Am 28.09.2014 um 10:44 schrieb Jorge Almeida: >> I'm having a somewhat disgusting issue on my Gentoo: binaries are >> unaccountably large. >> >> Jorge Almeida >> > Hi :) Hi, thanks for replying. > > I have compared some exes and libs fro

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Rich Freeman
On Mon, Sep 29, 2014 at 10:50 AM, Marc Stürmer wrote: > Am 28.09.2014 10:44, schrieb Jorge Almeida: > >> I'm having a somewhat disgusting issue on my Gentoo: binaries are >> unaccountably large. > > > Really? Who cares. Storage is so cheap nowadays, that that kind of "bloat" > simply doesn't matte

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Daniel Troeder
Am 28.09.2014 um 10:44 schrieb Jorge Almeida: > I'm having a somewhat disgusting issue on my Gentoo: binaries are > unaccountably large. > > I'm talking about C programs of my own, so no version related issues > whatsoever. The computer is a core i3 with a 32 bit system. > > Example, for the same

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Poison BL.
On Mon, Sep 29, 2014 at 12:02 PM, Jorge Almeida wrote: > On Mon, Sep 29, 2014 at 4:25 PM, Kerin Millar > wrote: >> On 29/09/2014 16:10, Jorge Almeida wrote: >>> > > I'm having a somewhat disgusting issue on my Gentoo: binaries are > unaccountably large. > >> >> You might consider ma

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 4:25 PM, Kerin Millar wrote: > On 29/09/2014 16:10, Jorge Almeida wrote: >> I'm having a somewhat disgusting issue on my Gentoo: binaries are unaccountably large. >>> > > You might consider making contact with the toolchain herd at gentoo or > filing a bug. I, f

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 4:15 PM, Walter Dnes wrote: > On Mon, Sep 29, 2014 at 12:45:44PM +0100, Jorge Almeida wrote > > > Grasping at straws now. What are your CFLAGS and full USE flags? I > suggest running the command... > > emerge --info | grep "^\(CFLAGS\|USE\)" > > This captures default

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Kerin Millar
On 29/09/2014 16:10, Jorge Almeida wrote: On Mon, Sep 29, 2014 at 3:50 PM, Marc Stürmer wrote: Am 28.09.2014 10:44, schrieb Jorge Almeida: I'm having a somewhat disgusting issue on my Gentoo: binaries are unaccountably large. Really? Who cares. Storage is so cheap nowadays, that that kind

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Walter Dnes
On Mon, Sep 29, 2014 at 12:45:44PM +0100, Jorge Almeida wrote > Just tried it, no difference. The point is that the same flags should > yield similar results, and I'm getting the worst results on my Gentoo > system. Grasping at straws now. What are your CFLAGS and full USE flags? I suggest ru

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 3:50 PM, Marc Stürmer wrote: > Am 28.09.2014 10:44, schrieb Jorge Almeida: > >> I'm having a somewhat disgusting issue on my Gentoo: binaries are >> unaccountably large. > > > Really? Who cares. Storage is so cheap nowadays, that that kind of "bloat" > simply doesn't matter

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Marc Stürmer
Am 28.09.2014 10:44, schrieb Jorge Almeida: I'm having a somewhat disgusting issue on my Gentoo: binaries are unaccountably large. Really? Who cares. Storage is so cheap nowadays, that that kind of "bloat" simply doesn't matter on normal deskop computers anymore. Embedded systems though are

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Jorge Almeida
On Mon, Sep 29, 2014 at 12:18 PM, Walter Dnes wrote: > On Sun, Sep 28, 2014 at 09:44:16AM +0100, Jorge Almeida wrote >> I'm having a somewhat disgusting issue on my Gentoo: binaries are >> unaccountably large. > "-fno-unwind-tables" is the extra flag I have that you don't have. > See http://co

Re: [gentoo-user] bloated by gcc

2014-09-29 Thread Walter Dnes
On Sun, Sep 28, 2014 at 09:44:16AM +0100, Jorge Almeida wrote > I'm having a somewhat disgusting issue on my Gentoo: binaries are > unaccountably large. > > I'm talking about C programs of my own, so no version related issues > whatsoever. The computer is a core i3 with a 32 bit system. > > Examp

[gentoo-user] bloated by gcc

2014-09-28 Thread Jorge Almeida
I'm having a somewhat disgusting issue on my Gentoo: binaries are unaccountably large. I'm talking about C programs of my own, so no version related issues whatsoever. The computer is a core i3 with a 32 bit system. Example, for the same program: 10275 B on an atom running Slackware 14.1 (gcc 4.