Code: Select all
CFLAGS=""
CXXFLAGS=""
LDFLAGS="-Wl,-O1,--sort-common,--enable-new-dtags,--hash-size=8161,-z,now,-z,combreloc" # -lgomp"
#,--unresolved-symbols=ignore-all,--allow-shlib-undefined,--allow-multiple-definition,-z,muldefs
CFLAGS="${LDFLAGS} -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -ffast-math"
CFLAGS="${CFLAGS} --param l1-cache-size=16 --param l1-cache-line-size=256 --param l2-cache-size=2048 -pipe -O3 -march=nocona -mcx16 -msahf -msse2 -mfpmath=sse -fgcse-las -fgcse-sm -ftree-ccp -m128bit-long-double -fomit-frame-pointer -fweb -finline-functions -funswitch-loops -funroll-loops -ftracer -finline-limit=8192 -funit-at-a-time -fschedule-insns2 -fbranch-target-load-optimize2 -fno-sched-spec-load-dangerous"
#CFLAGS="${CFLAGS} -fno-strict-aliasing --param inline-unit-growth=165 --param tracer-max-code-growth=200 --param max-crossjump-edges=4096 --param max-delay-slot-live-search=4096 --param max-cselib-memory-locations=1024 --param max-inline-insns-single=512 --param max-inline-insns-auto=128 --param large-function-insns=16384 --param max-gcse-passes=3 --param max-gcse-memory=268435456" # 134217728
#CFLAGS="${CFLAGS} -fmodulo-sched -ftree-loop-linear -ftree-loop-im -ftree-vectorize -floop-optimize2 -fgcse-las -fgcse-sm -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch"
CFLAGS="${CFLAGS} -fpeel-loops -fvariable-expansion-in-unroller -funroll-loops -fsched-stalled-insns-dep=2 -fsched-stalled-insns=4 -ftree-loop-optimize -ftree-pre -ftree-pta -ftree-reassoc -ftree-sink -ftree-sra -ftree-switch-conversion -ftree-ter -ftree-dce"
CFLAGS="${CFLAGS} --param max-grow-copy-bb-insns=16 --param max-vartrack-size=0 --param min-insn-to-prefetch-ratio=2 --param max-goto-duplication-insns=11 --param max-gcse-memory=200000000 --param max-inline-insns-single=512 --param max-inline-insns-auto=128 --param max-unrolled-insns=14 --param max-unroll-times=10 --param max-completely-peeled-insns=26 --param max-completely-peel-times=12 --param max-completely-peel-loop-nest-depth=4 --param max-unswitch-insns=18 --param max-unswitch-level=8 --param align-loop-iterations=25 --param tracer-max-code-growth=150 --param max-cse-path-length=20 --param max-cse-insns=2096 --param max-reload-search-insns=4192 --param simultaneous-prefetches=2 --param graphite-max-bbs-per-function=512"
CFLAGS="${CFLAGS} -ftree-loop-linear -floop-interchange -ftree-loop-ivcanon -floop-block -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks"
CFLAGS="${CFLAGS} -fopenmp"
CFLAGS="${CFLAGS} -fprefetch-loop-arrays"
#CFLAGS="${CFLAGS} -flto"
# CFLAGS="-march=nocona -fomit-frame-pointer -O3 -mcx16 -msahf --param l1-cache-size=16 --param l1-cache-line-size=256 --param l2-cache-size=2048 -msse2 -mfpmath=sse -m128bit-long-double -fno-sched-spec-load-dangerous"
# CFLAGS="-march=nocona -fomit-frame-pointer -O3 -pipe -mcx16 -msahf -msse2 -mfpmath=sse -m128bit-long-double -funswitch-loops -fpeel-loops -funroll-all-loops -fsched-stalled-insns=4 -fsched-stalled-insns-dep=4
#CFLAGS=''
CXXFLAGS="${CFLAGS} -fabi-version=0"
ASFLAGS="-march=nocona"
ARCH="x86"
ACCEPT_KEYWORDS="~x86 x86"
FEATURES="buildpkg nodistlocks -ccache -sandbox -autoaddcvs -usersandbox -nostrip -userpriv"
MAKEOPTS="-j4"
MYCONF="--disable-debug --enable-final"
#AFLAGS="${CFLAGS}"
GCJFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
#GENTOO_MIRRORS="http://64.27.65.115/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://cudlug.cudenver.edu/gentoo/ ftp://chod.cwru.edu/gentoo"
#SYNC="rsync://gentoo.chem.wisc.edu/gentoo/"
CHOST=i686-pc-linux-gnu
PORTDIR_OVERLAY=""
ACCEPT_LICENSE="*"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
RPMDIR=${PORTDIR}/rpm
PORT_LOGDIR=/tmp
CONFIG_PROTECT="/etc /usr/share/config /usr/kde/3/share/config "
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/udev"
FETCHCOMMAND="/usr/bin/wget -t 1 -v --dns-timeout=12 --progress=bar --dns-cache=on -nv --read-timeout=600 --connect-timeout=12 -P \${DISTDIR} \${URI}"
RESUMECOMMAND="/usr/bin/wget -t 1 -v -c --dns-timeout=12 --progress=bar --dns-cache=on -nv --read-timeout=600 -o /RamTemp/wget_log --connect-timeout=12 -P \${DISTDIR} \${URI}"
NOCOLOR="false"
PORTAGE_BINHOST_CHUNKSIZE="16384"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES"
CLEAN_DELAY="14"
AUTOCLEAN="yes"
RSYNC_RETRIES="2"
RSYNC_TIMEOUT="80"
PORTAGE_NICENESS="1"
VIDEO_CARDS="radeon"
USE="16bit GAPING_SECURITY_HOLE S3TC X X509 Xaw3d a52 aac aalib abiword abook
gstreamer accounting acpi activefilter adns aim aliaschain alsa amarok amd amr ansi
antlr aotuv apache aper aredaredmem ares artswrappersuid artworkextra asf
asm asterisk async atm auctex audiofile authdaemond authfile automap b
bash-completion bcmath bdf beepmp big-tables bigger-fonts binary-drivers
bind-mysql tslib xv bindist bittorrent bl blas blender-game bluetooth bonobo
bootsplash bzip2 bzlib c++ cairo cal cal3d calendar canna cap caps
capscddb cardbus cdb cdda cddb cdf cdio cdparanoia cdr cdrom cgi charmap
chasen chroot clamav clanVoice clearpasswd clibpdf client clisp cln
cluster cmucl cnamefix codecs colors consolekit courier cpio cracklib
crypto_openssl cscope css csv ctype curl curlwrappers cursors
custom-cflags optimized-qmake custom-cpuopts custom-optimization custreloc cvs cyrus dba
dbus dbx dc1394 dcc_video dcc_voice dedicated devfs devfs26 device-mapper
devmap dga dhcp dict dillo dio disk-cache disk-partition distcache
distribution raw divx4linux djbfft dlopen dmx dnd dnsdb dpms drac drm dts dv
dvb dvd dvdarchive dvdchapjump dvdnav dvdr dvdread dvi dvlrecscriptaddon
dxr3 ecc editor edl elf emf emoticon enscript epson erandom escreen
estraier ethereal etwin evo evo2 evolution examples exif exim exiscan
exiscan-acl r128 expat ext-png ext-zlib extensions extraengine extrafilters
extraicons extramodules extras f77 faac faad facedetect faillog fam fame
fastcgi fax fb fbcon fbdev ffi ffmpeg fi fifo fla flac flash fmod
font-server http fontconfig fontforge foomaticdb foreign-package fpx freetds
freetts freetype frlargefiles frxp fs ftp gb gcc gd gdu geoip geometry gg
ggi gif gifgimp gimp gimpprint ginac git gkrellm glade glep glgd
glibc-omitfp glut glx gmail gmp gmtfull gmthigh gmtsuppl gmttria gnome
gnome-print gnomecanvas gnomecards gnomedb gnuplot gnutls google gphoto2
gps grammar graph graphite graphviz grub gs gsl gssapi gtk
gtkhtml gtkspell guile gzip h224 h281 h323 hal hbci hddtemp hdf hdf5 hfs
high-ints hlapi howl hpcups hpijs hpn html http httpd ical icecast icq
icu ide idea idl ieee1394 ifc image imagemagick imap imlib2 inetd
infopipe inifile inline innodb insecure-drivers ipalias ipcs ipv6arpa irc
irda irmc itcl ithreads jack jack-tmpfs java javascript jikes joystick
jp2 jpeg jsch junit kcal kde kde3support kdepim koffice-plugin lame lcd
lcms ldap ldirectord leaf leim libcaca libdsk libffi libgd libgda
libsamplerate lids lighttpd linuxthreads-tls lirc live lm_sensors lmtp
log4j long-double lpsol lto ltsp lua lucene lufsusermount lvm lynxkeymap
lzma lzo lzw lzw-tiff mad mailbox maildir maildrop maps math matrox
mbrola mcal mcve md md5 md5sum mdb mecab mediaplayer
mem-cache memoryview menubar messages mew mgetty mha mhash migemo milter
mime mimencode ming mixer mjpeg mktemp mldonkeypango mmap mms mmx mmx2
mmxext mng modlocalizer monkey mouse mozcalendar mozdevelop mozilla
mozp3p mozsvg mozxmlterm mp3 mp3rtp mp3tunes mp4 mp4live mpd mpeg mpeg2
mpeg4 mpg123 mplayer mpm-leader mppe-mppc mpx msdav msn
mtp mule multi-tty multicall multimedia multipleip multiprocess multislot
mysql mythtv mzscheme nagios-dns nagios-ntp nagios-ping nagios-s
nagios-ssh nas native neXt net netbeansnetboot netboot netcdf network
networking neural new-login nextaw nfs nfsv4 nis nntp nodrm nokia
nomalloccheck nothreadsafe nptlonly nsplugin ntfs ntlm numeric nvidia
objc objc++ ocaml odbc ode offensive ofx ogdi ogg oggvorbis vorbis xine
on-the-fly-crypt ooo-kde openal openexr opengl openntpd opens openssh
openssl opie optimisememory optimization orathreads oro oscar pam-mysql
pam_chroot pam_timestamp parse-clocks passfile pcap pcntl pda pdf pear-db
perlsuid pg-hier pg-intdatetime pg-vacuumdelayphp phonon php physfs
player plotutils plugin png pnp policykit portaudio posix postfix
postgres postgresql povray ppds prelink prelude pri print priority
procmail pthreads pvr pwdb python3 qdbm qhull qt3support qt4 quotes
radiusreadline rdesktop real recode regexp reiserfs remote rhino rogue
rplay rrdtool rss rtc samba sametime sasl savedconfig scanner
semanticfix sendfile sendmail serial server servlet-2.3 servlet-2.4 sguil
shared sharedext sharedmem sheep silc simplexml skey skk slang slp smime
smp smtp smux sndfile snortsam sockets socks5 softmmu softquota sound
soundtouch source sox spamassassin speech speedo speex spell sql sqlite
sqlite3 src srp sse sse2 ssh startup-notification stats stencil-buffer
stream subject-rewrite subp svg svga svgz symlink sysfs syslog sysvipc
szip t1lib tabs tcc tcl tcltk tcpmd5 tetex tga theora thesaurus threads
tidy tiff timidity tk tlen tokenizer tools tos transcode translator
transparent-proxy truetype trusted ttcp type1 uim uml unicode unsafe ups
uptimed urandom usagi usb userlocales utf8 uudeview v4l2 vda vdesktop
vhosts video_cards_nvidia videos vidix vim vim-pager vim-with-x virtual
vlc vlm vmdbmysql vnc voice vserver wddx webkit wifi wildlsearch
win32 win32codecs withsamplescripts wma wma123 wmf wpd wpg wv2 wxwin
wxwindows x11vnc xanim xatrix xbase xchatdccserver xchattext xcomposite
xerces xface xforms xfs xft xim xine xinerama xml xml2 xmlrpc xosd xpm
xprint xrandr xrender xscreensaver xsl xslt xvid xvmc yahoo yaz yp yv12
zeo zvbi -auto-hinter -ipv6 -nls -qt3 -ruby"
#-debug -libg -nls -snmp -firebird -msql -mssql
#PORTAGE_TMPDIR=/mnt/dl/babaar/var/tmp
#PORTDIR=/usr/portage
#DISTDIR=${PORTDIR}/distfiles
#PKGDIR=/RamTemp/tmp
#RPMDIR=${PORTDIR}/rpm
#ROOT=/mnt/dl/babaar
Code: Select all
FEATURES variable contains unknown value(s): nodistlocks
Portage 2.1.9.27 (default/linux/x86/10.0, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36.2 i686)
=================================================================
System uname: Linux-2.6.36.2-i686-with-gentoo-2.0.1
Timestamp of tree: Fri, 31 Dec 2010 14:55:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake: 2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc: 0.6.8
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.68
sys-devel/automake: 1.5-r1, 1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1, 2.21
sys-devel/gcc: 4.4.4-r2, 4.5.1-r1, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.3.5, 2.4-r1
sys-devel/make: 3.82
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
glibc CFLAGS (-ftracer causes an error)
-Wl,-O1,--sort-common,--allow-shlib-undefined,--allow-multiple-definition,--enable-new-dtags,--hash-size=8161,-z,now,-z,combreloc,-z,muldefs -O3 -fno-strict-aliasing -fno-strict-aliasing -flto -mcx16 -msahf -msse2 -mfpmath=sse -fgcse-las -fgcse-sm -ftree-ccp -m128bit-long-double -fomit-frame-pointer -fweb -funit-at-a-time -pipe -O3 -mfpmath=sse -m128bit-long-double -fweb -fomit-frame-pointer -finline-functions -funswitch-loops -funroll-all-loops -finline-limit=8192 -O3 -fno-rename-registers -DTEST_FAST_MATH -ffast-math -floop-block -march=nocona -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks -fpeel-loops
##-fmerge-all-constants