My system cannot upgrade to the latest iproute2, i'm using GCC 3.3.3 20040412 with the following settings : Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs Configured with: /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=generic Thread model: posix gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) And here's the error : ssfilter.y: conflicts: 27 shift/reduce gcc -D_GNU_SOURCE -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -Wstrict-prototypes -Wall -g -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/include -I../include -DRESOLVE_HOSTNAMES -c -o nstat.o nstat.c gcc -D_GNU_SOURCE -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -Wstrict-prototypes -Wall -g -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/include -I../include -DRESOLVE_HOSTNAMES -c -o ifstat.o ifstat.c ss.c: In function `tcp_show_info': ss.c:1323: error: structure has no member named `tcpi_rcv_rtt' ss.c:1324: error: structure has no member named `tcpi_rcv_rtt' ss.c:1325: error: structure has no member named `tcpi_rcv_space' ss.c:1326: error: structure has no member named `tcpi_rcv_space' make[1]: *** [ss.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.7.20040608/work/iproute2-2.6.7/misc' make: *** [all] Error 2 !!! ERROR: sys-apps/iproute2-2.6.7.20040608 failed. !!! Function src_compile, Line 66, Exitcode 2 !!! (no error message) I've tried with or without specific CFLAGS and it still fails to emerge. Reproducible: Always Steps to Reproduce: 1. get gcc 3.3.3 (20040412) 2. upgrade to iproute2 3. [ebuild U ] sys-apps/iproute2-2.6.7.20040608 [2.4.7.20020116] Actual Results: fails to emerge Expected Results: merge complete
not a gcc bug what version of linux-headers do you have ? you neglected to provide `emerge info` ...
Hello, sorry about this, there you go : Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.5.0 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://ftp.heanet.ie/mirrors/gentoo.org http://ftp.esat.net/mirrors/rsync.gentoo.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://ftp.esat.net/mirrors/rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imlib ipv6 jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml2 xmms xorg xv zlib"
what version of linux-headers though ? `qpkg -I -v linux-headers`
qpkg -I -v linux-headers sys-kernel/linux-headers-2.6.6 * Steph
re-emerge / update your linux-headers *** This bug has been marked as a duplicate of 54708 ***
Thanks a lot, that fixed it :) Steph