building 'zope.interface._zope_interface_coptimizations' extension creating build/temp.linux-i686-2.3 creating build/temp.linux-i686-2.3/Dependencies creating build/temp.linux-i686-2.3/Dependencies/zope.interface-ZopeInterface-3.0.1 creating build/temp.linux-i686-2.3/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=pentiumpro -mmmx -O3 -pipe -fomit-frame-pointer -fPIC -IDependencies/zope.interface-ZopeInterface-3.0.1/zope.interface -I/usr/include/python2.3 -c Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c -o build/temp.linux-i686-2.3/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.o Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:339: error: static declaration of 'SpecType' follows non-static declaration Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:73: error: previous declaration of 'SpecType' was here error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 Reproducible: Always Steps to Reproduce: 1. emerge =sys-libs/glibc-2.3.5.20050421 =sys-devel/binutils-2.15.97 =sys-devel/gcc-4.0.0 2. select the compiler with gcc-config 3. emerge zopeinterface Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-4.0.0, glibc- 2.3.5.20050421-r0, 2.6.12-rc3-mm3 i686) ================================================================= System uname: 2.6.12-rc3-mm3 i686 Celeron (Mendocino) Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.97 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentiumpro -mmmx -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X 11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety- ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ rsync://rsync.gentoo.skynet.be/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ rsync://ftp.belnet.be/gentoo/" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gurlinet.dk/gentoo-portage" USE="x86 X acl acpi alsa bitmap-fonts chroot crypt directfb emboss fam fbcon foomaticdb fortran gd gdbm gif gpm gtk gtk2 hardened imlib ipv6 java jpeg libg++ libwww md5sum mmx motif mp3 ncurses nls nptl nptlonly ogg oggvorbis pam pdflib perl pic pie png pnp python readline samba slang ssl symlink tcpd truetype-fonts trusted type1-fonts vorbis xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 58853 [details, diff] GCC4 compile fix If no one from the zope team minds, I'll commit this patch later this weekend.
sure, go ahead. i dont have gcc400. after this patch i'll mark 3.0.1 as stable on x86.
Patch in the tree. Give it a few hours to hit the mirrors.