Gentoo Archives: gentoo-user

From: Jorge Almeida <jjalmeida@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bloated by gcc
Date: Mon, 29 Sep 2014 15:32:50
Message-Id: CAKpSnp+KCmSDqWWM5LucF_E=gZpUqMTL04OMfMCg8O5UguB2uQ@mail.gmail.com
In Reply to: Re: [gentoo-user] bloated by gcc by Walter Dnes
1 On Mon, Sep 29, 2014 at 4:15 PM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > On Mon, Sep 29, 2014 at 12:45:44PM +0100, Jorge Almeida wrote
3 >
4 >
5 > Grasping at straws now. What are your CFLAGS and full USE flags? I
6 > suggest running the command...
7 >
8 > emerge --info | grep "^\(CFLAGS\|USE\)"
9 >
10 > This captures default USE flags that aren't explicitly listed in your
11 > make.conf. Out of sheer curiusity, what sizes do you get if you use
12 > "-O2"? I believe that turns off loop-unrolling.
13 >
14 No difference with -O2. The program I'm using (as test) is really
15 simple (a terminal wall clock), although the same problem happens with
16 other programs.
17
18 Are the USE flags relevant for a program that is orthogonal to emerge?
19 Anyway, here it goes:
20
21 # emerge --info | grep "^\(CFLAGS\|USE\)"
22 CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
23 USE="berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gpm
24 iconv modules ncurses nptl openmp pcre readline session ssl unicode
25 x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
26 bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
27 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
28 via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core
29 socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
30 authn_dbm authn_default authn_file authz_dbm authz_default
31 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
32 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
33 file_cache filter headers include info log_config logio mem_cache mime
34 mime_magic negotiation rewrite setenvif speling status unique_id
35 userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan
36 sheets stage tables krita karbon braindump author" CAMERAS="ptp2"
37 COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
38 ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
39 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
40 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
41 tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32"
42 INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
43 LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
44 ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
45 presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
46 PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
47 PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
48 USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv
49 r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
50 XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset
51 ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
52 logmark ipmark dhcpmac delude chaos account"
53
54 gcc has CFLAGS="-O2 -march=i686 -pipe", via /etc/portage/env
55
56 thanks
57
58 Jorge

Replies

Subject Author
Re: [gentoo-user] bloated by gcc Walter Dnes <waltdnes@××××××××.org>