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

Bug 189282

Summary: sys-devel/binutils-2.17.50.0.17 breaks on PPC64: "conflicting types for 'elf_vrreg_t'"
Product: Gentoo Linux Reporter: Darren Kirby <bulliver>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: binutils-2.17.50.0.17 build log

Description Darren Kirby 2007-08-17 22:14:40 UTC
binutils-2.17.50.0.17 is breaking on my G5 PPC64 box. The errors are:

In file included from /var/tmp/portage/sys-devel/binutils-2.17.50.0.17/work/binutils-2.17.50.0.17/bfd/elf.c:7636:
/usr/include/sys/procfs.h:52: error: conflicting types for 'elf_vrreg_t'
/usr/include/asm/elf.h:151: error: previous declaration of 'elf_vrreg_t' was here
/usr/include/sys/procfs.h:53: error: conflicting types for 'elf_vrregset_t'
/usr/include/asm/elf.h:152: error: previous declaration of 'elf_vrregset_t' was here

Reproducible: Always

Steps to Reproduce:
1. emerge -u binutils
2.
3.



Expected Results:  
Clean emerge of binutils-2.17.50.0.17

Portage 2.1.2.11 (default-linux/ppc/ppc64/2006.0/64bit-userland/970/pmac,
gcc-4.1.1, glibc-2.3.6-r5, 2.6.20-gentoo-r5 ppc64)
=================================================================
System uname: 2.6.20-gentoo-r5 ppc64 PPC970, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 17 Aug 2007 16:20:02 +0000
distcc 2.18.3 powerpc64-unknown-linux-gnu (protocols 1 and 2) (default port
3632) [disabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc64"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol"
ARCH="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CDEFINE_ppc="!__powerpc64__"
CDEFINE_ppc64="__powerpc64__"
CFLAGS="-O2 -pipe -mcpu=970 -maltivec -mabi=altivec"
CFLAGS_ppc="-m32"
CFLAGS_ppc64="-m64"
CHOST="powerpc64-unknown-linux-gnu"
CHOST_ppc="powerpc-unknown-linux-gnu"
CHOST_ppc64="powerpc64-unknown-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -mcpu=970 -maltivec -mabi=altivec"
DCCC_PATH="/usr/lib/distcc/bin"
DEFAULT_ABI="ppc64"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/home/music/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE}
${URI}"
GAMBCOPT="=/usr/lib/"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/source/
http://gentoo.mirrors.tera-byte.com/ http://gentoo.oregonstate.edu"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/powerpc64-unknown-linux-gnu/2.17/info:/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.1/info"
INPUT_DEVICES="keyboard mouse evdev"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text"
LDFLAGS_ppc="-m elf32ppc"
LDFLAGS_ppc64="-m elf64ppc"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LOGNAME="root"
MAKEOPTS="-j5"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/powerpc64-unknown-linux-gnu/2.17/man:/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.1/man:/usr/lib64/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
MULTILIB_ABIS="ppc64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib
/usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3)"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/lib/distcc/bin:/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64
alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PS1="\[\033[0;34m\][$(date
+%H:%M)][\[\033[0;31m\]\u\[\033[0;34m\]@\[\033[1;32m\]\h \W]#\[\033[0m\] "
PWD="/home/bulliver"
PYTHONPATH="/usr/lib64/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE}
${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.1.1:/usr/powerpc64-unknown-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/powerpc64-unknown-linux-gnu/mips-unknown-linux-gnu/gcc-bin/4.1.1:/usr/powerpc64-unknown-linux-gnu/mips64-unknown-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
STAGE1_USE="altivec unicode"
SYMLINK_LIB="yes"
SYNC="rsync://192.168.0.102/portage"
TERM="xterm"
USE="X aac aalib ada alsa altivec apache2 apm audiofile berkdb bitmap-fonts
bzip2 cdparanoia cdr cli cracklib crypt cups cvs dbus dri dts dv dvd dvdr
dvdread eds effects emboss encode exif ffmpeg flac foomaticdb fortran gcc64
gdbm gif gtk gtk2 guile hal iconv ieee1394 imlib inkjar isdnlog jpeg kde
kdeenablefinal libcaca libwww mad midi mikmod motif mp3 mpeg mudflap ncurses
nls nptl nptlonly offensive ogg opengl openmp oss pam pcre pdf perl png ppc64
ppccodecs ppds pppd python qt3 quicktime readline reflection rtc ruby sdl
session spell spl ssl tcpd theora threads tidy tiff truetype truetype-fonts
type1-fonts unicode userlocales vcd vorbis xcomposite xine xml xorg
xscreensaver xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="radeon"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS
ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL
LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal"
VIDEO_CARDS="radeon"
XARGS="xargs -r"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"

Build log attached...
Comment 1 Darren Kirby 2007-08-17 22:15:28 UTC
Created attachment 128447 [details]
binutils-2.17.50.0.17 build log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-17 22:20:55 UTC
Your glibc is way too outdated.