Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403355 - valgrind-3.6.1-r1 fails to build on ppc and ppc64
Summary: valgrind-3.6.1-r1 fails to build on ppc and ppc64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Anthony Basile
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks: 393461 430822
  Show dependency tree
 
Reported: 2012-02-13 08:27 UTC by Jeremy Huddleston Sequoia
Modified: 2012-09-13 11:56 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,121.97 KB, text/plain)
2012-02-13 08:27 UTC, Jeremy Huddleston Sequoia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston Sequoia 2012-02-13 08:27:48 UTC
Created attachment 301731 [details]
build.log

powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../VEX/pub -DVGA_ppc64=1 -DVGO_linux=1 -DVGP_pp
c64_linux=1 -I../coregrind -DVG_LIBDIR="\"/usr/lib64/valgrind"\" -DVG_PLATFORM="\"ppc64-linux\""  -I.. -I../include -I../VEX/
pub -DVGA_ppc64=1 -DVGO_linux=1 -DVGP_ppc64_linux=1 -I../coregrind -DVG_LIBDIR="\"/usr/lib64/valgrind"\" -DVG_PLATFORM="\"ppc
64-linux\"" -m64 -g -Wno-long-long -O2 -pipe -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -MT libcoregrind_ppc64_linux_a-syscal
l-ppc64-linux.o -MD -MP -MF .deps/libcoregrind_ppc64_linux_a-syscall-ppc64-linux.Tpo -c -o libcoregrind_ppc64_linux_a-syscall
-ppc64-linux.o `test -f 'm_syswrap/syscall-ppc64-linux.S' || echo './'`m_syswrap/syscall-ppc64-linux.S
{standard input}: Assembler messages:
{standard input}: Error: .size expression for vgPlain_run_innerloop does not evaluate to a constant
{standard input}: Error: .size expression for vgPlain_run_a_noredir_translation does not evaluate to a constant


Portage 2.2.0_alpha86 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.0-15-powerpc64-smp ppc64)
=================================================================
System uname: Linux-3.0.0-15-powerpc64-smp-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.0.3
Timestamp of tree: Mon, 13 Feb 2012 04:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk ibm iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppc64 ppds pppd qt3support qt4 readline sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis xcb xml xorg xulrunner xv xvid zlib" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy nouveau" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-13 08:37:44 UTC
@Jeremy
Please try 3.7.0-rX, I don't know if there's a point to patch 3.6.x

@blueness ^^ ? As per URL fedora should have patches :)
Comment 2 Jeremy Huddleston Sequoia 2012-02-13 19:26:12 UTC
Yeah valgrind-3.7.0-r2 works fine, so perhaps you should just mark it stable on ppc64
Comment 3 Anthony Basile gentoo-dev 2012-02-14 09:28:21 UTC
(In reply to comment #2)
> Yeah valgrind-3.7.0-r2 works fine, so perhaps you should just mark it stable on
> ppc64

Yep.  That patch is already in valgrind 3.7.0.  I would consider stabilizing 3.7.0-r3 which I just added.  It addresses an issue with the new multilib abi CLFAGS being added -m64 and -mx32.  The former may effect ppc64 in the future.  The later will not.

If there's a reason we shouldn't stabilize 3.7.0, I'll back port that patch.
Comment 4 Anthony Basile gentoo-dev 2012-09-13 11:56:13 UTC
Okay valgrind-3.7.0-r4 is stable on ppc and ppc64, so there's no more need to fix valgrind-3.6.1-r1.