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 A573213838B for ; Mon, 29 Sep 2014 15:32:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 574DEE0969; Mon, 29 Sep 2014 15:32:45 +0000 (UTC) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C9DAE0972 for ; Mon, 29 Sep 2014 15:32:42 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id b6so2716905lbj.31 for ; Mon, 29 Sep 2014 08:32:40 -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=BM4HBHtDWfXhWfMwkZzSqjslzKqisU4LzdveZnvhoKY=; b=zQCKHWTDQ/7S8o25W4tWae/gQ+JDSnHRZckHQkV0fhR5IlKBiQCONCkYbtWW79bTC7 mLy+ozvR9u9Am4ccMr+LllryJk9yODdMZGWkcjimZ7RdtRHHGGe2g6D3bllc1sRgBZpq xNXjg3a2/O8dw66yka8CZVj7tLeTS51H63rro8QQOpqLzkK9GMW1aM1mSadCqbODqf+8 0GN2oUB9IwpD45prsY8vX1bRY9wi0EadDfeXpBlE0koKfTwjVg1ftq4z5tyKX65qeto7 pgj1CgUKsPnxVx/8qSDZVuMreVtWHwypL2NR2EPuIGmNwUi4FEvJaGinDiXFZ2cJ+lfx SBRA== 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.161.234 with SMTP id xv10mr4081238lbb.96.1412004760823; Mon, 29 Sep 2014 08:32:40 -0700 (PDT) Received: by 10.114.57.141 with HTTP; Mon, 29 Sep 2014 08:32:40 -0700 (PDT) In-Reply-To: <20140929151539.GA7944@waltdnes.org> References: <20140929111844.GA6716@waltdnes.org> <20140929151539.GA7944@waltdnes.org> Date: Mon, 29 Sep 2014 16:32:40 +0100 Message-ID: Subject: Re: [gentoo-user] bloated by gcc From: Jorge Almeida To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: e1f4ffbb-3964-4d32-9c5d-9c0c761690cf X-Archives-Hash: d197921c523fa228c29b5a446bc31124 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 USE flags that aren't explicitly listed in your > make.conf. Out of sheer curiusity, what sizes do you get if you use > "-O2"? I believe that turns off loop-unrolling. > No difference with -O2. The program I'm using (as test) is really simple (a terminal wall clock), although the same problem happens with other programs. Are the USE flags relevant for a program that is orthogonal to emerge? Anyway, here it goes: # emerge --info | grep "^\(CFLAGS\|USE\)" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" USE="berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv modules ncurses nptl openmp pcre readline session ssl unicode x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" gcc has CFLAGS="-O2 -march=i686 -pipe", via /etc/portage/env thanks Jorge