On Mon, Sep 29, 2014 at 4:15 PM, Walter Dnes <waltd...@waltdnes.org> 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