gcc -c -mcpu=v8 -mtune=v9 -O2 -pipe -I. -I. -I./config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized sparc-nat.c In file included from /usr/include/asm/reg.h:11, from sparc-nat.c:38: /usr/include/asm-sparc/reg.h:40: redefinition of `struct fpq' /usr/include/asm-sparc/reg.h:45: redefinition of `struct fq' /usr/include/asm-sparc/reg.h:75: redefinition of `struct fpu' sparc-nat.c: In function `fetch_inferior_registers': sparc-nat.c:105: warning: implicit declaration of function `memcpy' distcc[31614] ERROR: compile on localhost failed make[1]: *** [sparc-nat.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdb-5.3.90/work/gdb-5.3.90-20030710/gdb' make: *** [all-gdb] Error 2 !!! ERROR: sys-devel/gdb-5.3.90 failed. !!! Function src_compile, Line 96, Exitcode 2 !!! (no error message) emerge info is as follows: Portage 2.0.49-r5 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-sparc-r0) ================================================================= System uname: 2.4.22-sparc-r0 sparc64 sun4u distcc 2.10 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox distcc buildpkg ccache portageuser cvs" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo http://adelie.polymtl.ca" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc crypt encode fbcon foomaticdb gif jpeg mad mikmod mpeg ncurses nls oss png pdflib spell truetype xv xml2 xmms zlib gtkhtml gdbm berkdb slang readline arts bonobo guile sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla cdr cups X gtk2 gnome -alsa -kde -qt -java -avi -apache2 -ldap" (and distcc is not working, despite what info says, the other machine isn't on at the moment) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 18194 [details, diff] Patch for gdb-5.3.90.ebuild Heya todd, small bug in the ebuild. Here is the patch to fix it :) regards, Sven (bazik)
Created attachment 18195 [details, diff] New patch for gdb-5.3.90.ebuild Hmmm well, looks like the check for ${SNAPSHOT} blocks the patching. Whats the use for this variable? This updated patch works for sparc. But I doubt the other archs get patched because of ${SNAPSHOT}...
Created attachment 18196 [details, diff] Finally :-) Ok, that fixes it ;)
Fixed in portage. Thanks for the fix :)
And just broke it for compiling with USE=objc. Please check next time - the only reason I did not apply those patches, was that I was not sure they still was valid, and wanted whoever to just fix it as they came along. This is not the same as the one for objc however! Guys, please look at bug #29845.