Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285698 - x11-libs/gtk+-2.16.6 fails tests on ppc64
Summary: x11-libs/gtk+-2.16.6 fails tests on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 13:36 UTC by Alexis Ballier
Modified: 2009-09-20 23:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2009-09-20 13:36:45 UTC
Xlib:  extension "RANDR" missing on display ":101.0".
  /treeview/scrolling/before-constant-path-0-no-align:                 OK
  /treeview/scrolling/before-constant-path-2-no-align:                 OK
  /treeview/scrolling/before-constant-path-5-no-align:                 OK
  /treeview/scrolling/before-constant-path-8-no-align:                 OK
  /treeview/scrolling/before-constant-path-10-no-align:                OK
  /treeview/scrolling/before-constant-path-250-no-align:               OK
  /treeview/scrolling/before-constant-path-500-no-align:               OK
  /treeview/scrolling/before-constant-path-750-no-align:               OK
  /treeview/scrolling/before-constant-path-990-no-align:               OK
  /treeview/scrolling/before-constant-path-991-no-align:               OK
  /treeview/scrolling/before-constant-path-995-no-align:               OK
  /treeview/scrolling/before-constant-path-997-no-align:               OK
  /treeview/scrolling/before-constant-path-999-no-align:               OK
  /treeview/scrolling/before-constant-path-0-align-0.0:                PASS: aliasfilescheck.sh
OK
  /treeview/scrolling/before-constant-path-2-align-0.0:                PASS: abicheck.sh
OK
  /treeview/scrolling/before-constant-path-5-align-0.0:                Checking .libs/libgtk-x11-2.0.so for local PLT entries
OK
  /treeview/scrolling/before-constant-path-8-align-0.0:                00000059efe8  0d3500000015 R_PPC64_JMP_SLOT  00000000005765e0 gtk_grab_add + 0
0000005a01e8  0c6c00000015 R_PPC64_JMP_SLOT  00000000005765c8 gtk_grab_remove + 0
FAIL: pltcheck.sh
=======================================================================
1 of 3 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B
=======================================================================


emerge --info --ignore-default-opts
Portage 2.2_rc41 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.3.3, glibc-2.9_p20081201-r3, 2.6.30.5 ppc64)
=================================================================
System uname: Linux-2.6.30.5-ppc64-PPC970,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Sun, 20 Sep 2009 09:45:01 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r1, 3.1.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc64 ~ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -g -ggdb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -g -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose --keep-going"
FEATURES="assume-digests buildsyspkg collision-protect distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
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="/usr/local/portage /share/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alsa altivec aspell bash-completion bogofilter bzip2 cairo cdda cddb cdio cdr cli cpufreq cracklib crypt cups curl custom-cxxflags custom-optimization dbus djvu dri dts dvd dvdread dvi expat ffmpeg fftw firefox fontconfig fortran gdbm gif gimp glitz gnutls graphviz gs gtk hal hfs iconv id3tag imagemagick imap imlib isdnlog ithreads jpeg jpeg2k kdehiddenvisibility kpathsea latex lcms libnotify lyrics lzo mad matroska mbox md5sum mng mp3 mpeg mudflap ncurses nls nodrm nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppc64 ppds pppd python qt4 quicktime raw readline reflection regex session smp sndfile spell spl sqlite sqlite3 srt ssl startup-notification svg sysfs t1lib taglib tcpd test tex4ht theora threads tiff truetype unicode vim-syntax vorbis wavpack wma 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="vga vesa nv fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mart Raudsepp gentoo-dev 2009-09-20 22:25:16 UTC
 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * gtkcellrendereraccel.c:464: warning: implicit declaration of function ‘gtk_grab_remove’
 * gtkcellrendereraccel.c:602: warning: implicit declaration of function ‘gtk_grab_add’

^^ These cause the failures.
If during compilation of C libraries the declaration aren't explicit, the compiler doesn't have a chance to avoid a PLT jump for local symbols on some arches apparently, which glib/pango/gtk+ try to heavily avoid, as to even have a test for not having any PLT jumps of this kind in the library at all (it helps with startup time).
Very interesting blog-worthy side-effect of implicit declaration QA warnings indeed.
It might be special to glib/pango/gtk+ though, as they pull some gcc hacks to avoid these R_*_JMP_SLOT things for local symbols with most gcc versions - I think newer ones can do it automatically in some situations.

I saw the failure on my x86 desktop as well, but interestingly not on amd64.
I'll fix it in a bit.
Comment 2 Mart Raudsepp gentoo-dev 2009-09-20 23:13:13 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=448253#c5 has an upstream reference for the connection between pltcheck and implicit declarations.
Anyhow, fixed in CVS.