From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-159012-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 2FF5713838B
	for <garchives@archives.gentoo.org>; Tue, 30 Sep 2014 07:35:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6A373E0961;
	Tue, 30 Sep 2014 07:35:08 +0000 (UTC)
Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 14DA8E08AF
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Sep 2014 07:35:06 +0000 (UTC)
Received: by mail-lb0-f177.google.com with SMTP id w7so2651582lbi.36
        for <gentoo-user@lists.gentoo.org>; Tue, 30 Sep 2014 00:35:05 -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=Y7dhx/9HeOgvtnNkcDLaJ5XKrFIrP8d/zam1/Le/w1U=;
        b=F9ZCsmi885YmQ1QtWs2xk4vVaZwV0AQd+JolBGJysU2jekDUOBGVEDy18AmaidtO2Y
         oNbU9uocq6+8bO/JZLSiAXwmLRNwe4d94qhfecfrZZLT4+qi8ZxNwqjAvw547UrVFw43
         TPx2dBzQX8wiAU023l+4S1E2Jpgw9kxOBj0q3Fy/o5weZGUf8E/23H+NrMA1Td6Gfmja
         NuOR+qmI7YUOEjdEJwyx7c9mfmLQHzAU7ZxDxciPCRfwbQFrFukkjgTOSX8onq3CUKHG
         Rgesqq/zP+ibvvjFHyIZYup1Ozy5t61K+lss5Ux15jdAQge74V22TRdU8qYUJ2bQNepW
         +OIw==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
X-Received: by 10.112.142.33 with SMTP id rt1mr42054608lbb.69.1412062505396;
 Tue, 30 Sep 2014 00:35:05 -0700 (PDT)
Received: by 10.114.57.141 with HTTP; Tue, 30 Sep 2014 00:35:05 -0700 (PDT)
In-Reply-To: <3301629.ARpgpUkSiD@andromeda>
References: <CAKpSnpJj2mPs6qmOUutRYbtkPi04-+O=h5uruanDHY6bc5RmYA@mail.gmail.com>
	<m0a06e$4ff$1@ger.gmane.org>
	<CAKpSnpJw+E9yJPCbe9T1uAKp0Lf0SqkxnJv40k+7X8jZHpddCQ@mail.gmail.com>
	<3301629.ARpgpUkSiD@andromeda>
Date: Tue, 30 Sep 2014 08:35:05 +0100
Message-ID: <CAKpSnpLqL1ORWfG8HTULrWcm0tKn60Ta8iihg7WX-V-8DCqqdw@mail.gmail.com>
Subject: Re: [gentoo-user] Re: bloated by gcc
From: Jorge Almeida <jjalmeida@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 076923c3-c6d1-4580-9849-8842bb57a404
X-Archives-Hash: 5fd8b0b6349f6adc85af5e21e7ac4f36

On Tue, Sep 30, 2014 at 8:04 AM, J. Roeleveld <joost@antarean.org> wrote:
>


>
> Did you compile the used libraries using the exact same options on both
> systems as well?
> When compiling a static binary, the libraries are included into the resulting
> binary.
> If the libraries on Gentoo are bigger, the resulting static binary will also
> be bigger.
>
Yes, the library (dietlibc) is compiled typing just "make". The
Makefile is not modified. I rebuild it with gcc 4.9.1. There are no
other libraries involved.

When using glibc I didn't made a static binary, and even so it was
larger on Gentoo.

Thanks

Jorge