Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335065 - dev-util/valgrind-3.5.0 fails to compile with -ftree-vectorize/-O3 in C(XX)FLAGS
Summary: dev-util/valgrind-3.5.0 fails to compile with -ftree-vectorize/-O3 in C(XX)FLAGS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-28 22:01 UTC by Jaak Ristioja
Modified: 2012-07-25 13:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (dev-util:valgrind-3.5.0:20100828-215455.log,261.23 KB, text/plain)
2010-08-28 22:04 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2010-08-28 22:01:14 UTC
dev-util/valgrind-3.5.0 fails to compile with -ftree-vectorize (included in -O3) in C(XX)FLAGS.

Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-hardened-r2-arm x86_64)
=================================================================
System uname: Linux-2.6.34-hardened-r2-arm-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 27 Aug 2010 19:00:21 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -ggdb -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=native -ggdb -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-detect distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.box"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en et et_EE"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/bibletime /usr/local/portage"
SYNC="rsync://sync.gentoo.box/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 amr aspell bindist boost bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus directfb doc dri dvd dvdr dvdread eds emboss enca encode evo exif faac faad fam fbcon ffmpeg firefox flac fortran gif git glitz gmp gnuplot gnutls gphoto2 gpm gstreamer gtk hal hardened hdri htmlhandbook iconv icu id3tag idn imagemagick ipv6 jpeg justify kate kde kontact kpathsea lapack laptop latex lcms lua lzma lzo mad mailwrapper matroska md5sum midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nptl nptlonly ogg openal openexr opengl openmp pam pcre pdf phonon pic plasma png policykit ppds pppd qt4 readline reflection rrdtool schroedinger sdl semantic-desktop session smp snmp source speex spell spl sqlite sse sse2 ssl ssse3 startup-notification subversion svg sysfs system-sqlite tcpd theora threads tiff truetype ucs2 unicode urandom usb vorbis webkit x264 xattr xcb xcomposite xetex xft xinerama xorg xosd xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et et_EE" QEMU_SOFTMMU_TARGETS="i386 x86_64 mips mips64 mips64el mipsel ppc ppc64 ppcemb ppc64abi32" QEMU_USER_TARGETS="i386 x86_64 mips mips64 mips64el mipsel ppc ppc64 ppcemb ppc64abi32" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa i810" 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Jaak Ristioja 2010-08-28 22:04:19 UTC
Created attachment 245179 [details]
build.log

Build log from
USE="-mpi" MAKEOPTS="-j1" CFLAGS="-O2 -pipe -march=native -ggdb -ftree-vectorize" CXXFLAGS="-O2 -pipe -march=native -ggdb -ftree-vectorize" emerge valgrind
Comment 2 Anthony Basile gentoo-dev 2012-07-25 13:20:11 UTC
In an ideal world, it would be nice to have valgrind work with any CFLAGS but I doubt this is going to happen here.  Most types of optimizations, like tree vectorization, is probably not going to get upstream support.