Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 348275

Summary: [GCC 4.5/graphite] sci-libs/hdf5-1.8.5_p1-r1 failed to build with graphite enabled
Product: Gentoo Linux Reporter: Alexey Shvetsov <alexxy>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Severity: normal CC: xarthisius
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/sci-libs/hdf5-1.8.5_p1-r1/temp/build.log

Description Alexey Shvetsov archtester gentoo-dev 2010-12-09 16:22:57 UTC
sci-libs/hdf5-1.8.5_p1-r1 failed to build if graphite enabled without it they builds fine with 
CFLAGS="-O2 -ggdb -pipe -march=native -mtune=native -mfpmath=sse -msse4"

$ emerge --info
Portage 2.2.0_alpha7_p6 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r3, 2.6.37-rc4-tuxonice x86_64)
System uname: Linux-2.6.37-rc4-tuxonice-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 09 Dec 2010 12:30:01 +0000
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers: (sys-kernel/linux-headers)
Repositories: gentoo kde x11 qting-edge science sunrise alexxy gamerlay-stable aidecoe mozilla cj-overlay rion
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -ggdb -pipe -march=native -mtune=native -mfpmath=sse -msse4 -floop-interchange -floop-strip-mine -floop-block"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -ggdb -pipe -march=native -mtune=native -mfpmath=sse -msse4 -floop-interchange -floop-strip-mine -floop-block"
FEATURES="assume-digests binpkg-logs candy ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -ggdb -pipe -march=native -mtune=native -mfpmath=sse -msse4 -floop-interchange -floop-strip-mine -floop-block"
LINGUAS="ru en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/x11 /var/lib/layman/qting-edge /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/alexxy /var/lib/layman/gamerlay /var/lib/layman/aidecoe /var/lib/layman/mozilla /var/lib/layman/cj-overlay /var/lib/layman/rion"
USE="64bit X a52 aac acl acpi addressbook alsa amd64 attrib audit bash-completion bazaar berkdb bittorrent blas bluetooth branding bzip2 cairo caps chm cli clucene connection-sharing consolekit context cracklib crypt cups cvs cxx cyrillic dbus detex device-mapper dhcpcd dirac disk-partition djvu dri dts dvd dvdr dvi2tty dvipdfm eap-tls ebook emboss enca encode exif expoblending extensions external-ffmpeg extra extras faac faad fam fbcondecor fbsplash ffmpeg fftw firefox flac fontconfig fortran games gdbm gensplash geolocation gif gimp git gnutls gphoto2 gpm gps gpu graphics graphite graphviz gs gstreamer gtk hdaps hdf5 health humanities iconsets iconv imagemagick iproute2 ipv6 jadetex java jingle jpeg kde kpathsea lapack laptop lastfm latex latex3 lcms ldap lensfun libnotify lm_sensors lto luatex lvm lzma mad mercurial mikmod mktemp mmx mng modules mp3 mp4 mpeg mplayer msms mudflap multilib multimedia music mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg omega openexr opengl openmp oscar otr pam pam_ssh pango pcre pdf perl phonon plasma plotutils plugins pm-utils pnat png policykit povray ppds pppd ps pstricks publishers pulseaudio python qt qt3support qt4 rar rdesktop readline realtime redeyes resolvconf samba schroedinger science script sdk sdl semantic-desktop session skype smp speex spell sse sse2 sse3 sse4 ssh ssl ssse3 startup-notification subversion svg symlink sysfs syslog systemd tcpd tex4ht theora threads thumbnail tiff tk tools truetype udev unicode usb utils v4l v4l2 vaapi vde video vim vim-syntax vorbis vpx webkit wifi wimax wmf x264 xattr xcb xetex xindy xine xml xmlpatterns xmp xorg xscreensaver xulrunner xv xvid xvmc 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" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="arm i386 mips mips64 mips64el mipsel x86_64" QEMU_USER_TARGETS="arm mips mipsel x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i965" 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" 
Comment 1 Alexey Shvetsov archtester gentoo-dev 2010-12-09 16:23:58 UTC
Created attachment 256736 [details]

Comment 2 Ryan Hill (RETIRED) gentoo-dev 2010-12-10 00:33:28 UTC
if `gcc -v` isn't "(Gentoo 4.5.1-r1 p1.4, pie-0.4.5)" then please rebuild gcc.  there were some recent graphite fixes.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2011-08-06 00:30:46 UTC
sci-libs/hdf5-1.8.7 builds for me with gcc-4.5.3 and CFLAGS="-O2 -march=native -ggdb -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity".  I didn't test all USE flags.  Please reopen if this still fails.