Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 62987

Summary: gcc-3.4.2_pre20040902 build error guard.lo
Product: Gentoo Linux Reporter: augury@vampares.org <Augury>
Component: [OLD] GCC PortingAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: blocker CC: kathywills, mafteah
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description augury@vampares.org 2004-09-06 02:45:55 UTC
in gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc

contains extra carriage return 

/var/tmp/portage/gcc-3.4.2_pre20040902/work/gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc:62: error: expected primary-expression before '.' token
/var/tmp/portage/gcc-3.4.2_pre20040902/work/gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc:62: error: expected primary-expression before '{' token
/var/tmp/portage/gcc-3.4.2_pre20040902/work/gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc:62: error: expected `}' before '{' token
/var/tmp/portage/gcc-3.4.2_pre20040902/work/gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc:62: error: expected `,' or `;' before '{' token
/var/tmp/portage/gcc-3.4.2_pre20040902/work/gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc:86: error: expected declaration before '}' token
/var/tmp/portage/gcc-3.4.2_pre20040902/work/gcc-3.4.2-20040902/libstdc++-v3/libsupc++/guard.cc:40:1: unterminated #ifdef
make: *** [guard.lo] Error 1
Comment 1 Genady Okrain 2004-09-06 05:18:14 UTC
The same problem here

Portage 2.0.51_pre20 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-Mafteah3 i686 AMD Athlon(tm) XP 2000+)
=================================================================
System uname: 2.6.9-rc1-Mafteah3 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /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-xp -O3 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="x86 3dnow X alsa apache2 bidi gif gtk2 jpeg mmx mysql nls nptl opengl pic png sse tiff"
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-09-06 05:35:23 UTC
can you edit the ebuild, and put:
GENTOO_PATCH_EXCLUDE="18_all_gcc34-c++-staticinit-threadsafe.patch.bz2"

in the pkg_setup function right underneath:
PIEPATCH_EXCLUDE="upstream/04_all_gcc-3.4.0-v8.7.6.1-pie-arm-uclibc.patch.bz2"
Comment 3 Genady Okrain 2004-09-06 06:06:46 UTC
>>> sys-devel/gcc-3.4.2_pre20040902 merged.


Thanks
Comment 4 Travis Tilley (RETIRED) gentoo-dev 2004-09-06 06:41:28 UTC
fixed in cvs