gawk fails to build when apply num patch Reproducible: Always Steps to Reproduce: 1. re-emerge gawk on a running box 2. 3. Actual Results: if gcc -DDEFPATH="\".:/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/share/locale\"" -I. -I. -I. -I./intl -O3 -march=athlon-xp -funit-at-a-time -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -ffast-math -mfpmath=sse,387 -fforce-mem -fforce-addr -mmmx -msse -m3dnow -finline-limit=900 -MT re.o -MD -MP -MF ".deps/re.Tpo" \ -c -o re.o `test -f 're.c' || echo './'`re.c; \ then mv -f ".deps/re.Tpo" ".deps/re.Po"; \ else rm -f ".deps/re.Tpo"; exit 1; \ fi if gcc -DDEFPATH="\".:/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/share/locale\"" -I. -I. -I. -I./intl -O3 -march=athlon-xp -funit-at-a-time -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -ffast-math -mfpmath=sse,387 -fforce-mem -fforce-addr -mmmx -msse -m3dnow -finline-limit=900 -MT regex.o -MD -MP -MF ".deps/regex.Tpo" \ -c -o regex.o `test -f 'regex.c' || echo './'`regex.c; \ then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; \ else rm -f ".deps/regex.Tpo"; exit 1; \ fi if gcc -DDEFPATH="\".:/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/share/locale\"" -I. -I. -I. -I./intl -O3 -march=athlon-xp -funit-at-a-time -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -ffast-math -mfpmath=sse,387 -fforce-mem -fforce-addr -mmmx -msse -m3dnow -finline-limit=900 -MT replace.o -MD -MP -MF ".deps/replace.Tpo" \ -c -o replace.o `test -f 'replace.c' || echo './'`replace.c; \ then mv -f ".deps/replace.Tpo" ".deps/replace.Po"; \ else rm -f ".deps/replace.Tpo"; exit 1; \ fi In file included from replace.c:51: missing_d/strchr.c:12: error: parse error before "__extension__" missing_d/strchr.c:22: warning: data definition has no type or storage class missing_d/strchr.c:22: error: parse error before '++' token make[2]: *** [replace.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.3-r1/work/gawk-3.1.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gawk-3.1.3-r1/work/gawk-3.1.3' make: *** [all] Error 2 !!! ERROR: sys-apps/gawk-3.1.3-r1 failed. !!! Function src_compile, Line 47, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. if you remove the num patch it compiles fine
neglected to provide `emerge info`
Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r6 i686) ================================================================= System uname: 2.6.8-gentoo-r6 i686 AMD Athlon(TM) XP2200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -ftracer -fno-signaling-nans -mno-align-stringops -minline-all-stringops -mno-push-args -mmmx -msse -m3dnow -finline-limit=500" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -ftracer -fno-signaling-nans -mno-align-stringops -minline-all-stringops -mno-push-args -mmmx -msse -m3dnow -finline-limit=500" DISTDIR="/home/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.ccccom.com ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad maildir mikmod motif mpeg mysql ncurses nowin nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
try upgrading to gcc-3.4.3