I'm trying to install gentoo from stage1. During the bootstrap stage, while emerging m4 (m4-1.4-r1) I get the following compilation error: gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -I/root/include -O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer m4.c gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -I/root/include -O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer builtin.c In file included from /usr/include/signal.h:341, from /usr/include/sys/signal.h:1, from m4.c:22: /usr/include/bits/sigstack.h:55: two types specified in one empty declaration make[1]: *** [m4.o] Error 1 I don't know if it happens on regular emerge or just during boostrap. Reproducible: Always Steps to Reproduce: 1. cd /usr/portage 2. scripts/bootstrap.sh 3. Actual Results: Compilation failed Expected Results: compile successfully # emerge info Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.21-0.13mdk ) ================================================================= System uname: 2.4.21-0.13mdk i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.12 Autoconf: Automake: ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fom it-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/games /etc/gconf /etc/hotplug /etc/init.d /etc/sound / etc/ssl /etc/svgalib /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -f omit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo. inode.at/ http://128.213.5.34/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.o rg/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk g tk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis ope ngl oss pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcp d truetype x86 xml2 xmms xv zlib" Note that I am using the experimental stage1 tarballs from 23.1.04.
Ok, I've just downloaded m4 from the original gnu site, and tried to compile it with the system I already have (Mandrake 9.1, gcc 3.2.2). Got the same results.
still an issue with latest stable gcc ?
I've just tried with gcc 3.3.3, and there is no problem.
latest stable stuff works