From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BD61213838B for ; Mon, 29 Sep 2014 16:20:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B3CCE088F; Mon, 29 Sep 2014 16:20:35 +0000 (UTC) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D63EE0882 for ; Mon, 29 Sep 2014 16:20:33 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id pv20so8590195lab.24 for ; Mon, 29 Sep 2014 09:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yvkHBa9IPU79FGP97Xm/f+z7slJgBTOpQ4zBCTg5kNg=; b=0Bne+X746vMud9gwmzuagxJ814iBFiWc+nd/BU0sq5T+Woyk9osewEUFXQXSte52lN dbMAWTnj9uZEcxk8grq+NCxjUM6CLIo+zupBS8vDU9j0MDVtX/4IwEaWGMvpI6+AI8hW EzdGD5kJMWA5bTRplPnknG7CcSybe+01Sn/qY5exhcxafQGs+gI908PreQl2CtNMLUDA 9f6xCA71qVt/EK9g5f8VO9czvPEOwtGoBLwOPAbR3Mzxok8ibrpRZELJ623IBee2xayq SnzUO1gEcxdnQios1gTeGDd3QrIU0eaFsk/sh1YMHQYHGJuaA4plmEA9dB0uqgJIPJJe uWlg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.112.9.234 with SMTP id d10mr4247995lbb.98.1412007632199; Mon, 29 Sep 2014 09:20:32 -0700 (PDT) Received: by 10.112.189.7 with HTTP; Mon, 29 Sep 2014 09:20:32 -0700 (PDT) In-Reply-To: References: <542971BF.9090009@marc-stuermer.de> <542979E5.5010005@fastmail.co.uk> Date: Mon, 29 Sep 2014 12:20:32 -0400 Message-ID: Subject: Re: [gentoo-user] bloated by gcc From: "Poison BL." To: gentoo-user Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 40cf09d0-fc8a-498e-b603-5a714efcfd1a X-Archives-Hash: 4c597f9dba7bad06c97221c9285186e9 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 making contact with the toolchain herd at gentoo or >> filing a bug. I, for one, would be interested to know the outcome. >> > Well, I suppose this one is the list every gentooer subscribes to, and > I would like to be sure I'm not making something silly before filing a > bug... > > Meanwhile, I tried compiling with clang. It produces similar sizes in > Gentoo and in LFS (same i3 computer), although about 200B larger than > in Slackware/atom. So, it really seems to be a gcc issue. > > thanks > > Jorge > Just the off the top of my head thoughts on how I'd approach this. GCC has the option to not clean up its temp files used during the build, as well as outputting annotated assembly mid-build. The latter might be the most enlightening on what's being treated differently in the output of the various systems. I don't use those tricks often enough to remember what flags are what off the top of my head, since I only really dig that deep when playing with my avr based toys, but just a couple ideas I thought I'd pass along. -- Poison [BLX] Joshua M. Murphy