Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64144 - sys-devel/gcc-3.4.1-r2 compile error
Summary: sys-devel/gcc-3.4.1-r2 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 09:05 UTC by Daniel Webert
Modified: 2004-09-26 21:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-09-15 09:05:49 UTC
sys-devel/gcc-3.4.1-r2 compile error

<snip>
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/check_survey
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default commands
make[2]: Entering directory `/mnt/home/var/tmp/portage/gcc-3.4.1-r2/work/build/i686-pc-linux-gnu/libstdc++-v3/include'
sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/libstdc++-v3/../gcc/gthr.h > i686-pc-linux-gnu/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/libstdc++-v3/../gcc/gthr-single.h > i686-pc-linux-gnu/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/libstdc++-v3/../gcc/gthr-posix.h > i686-pc-linux-gnu/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/libstdc++-v3/../gcc/gthr-posix.h > i686-pc-linux-gnu/bits/gthr-default.h
make[2]: Leaving directory `/mnt/home/var/tmp/portage/gcc-3.4.1-r2/work/build/i686-pc-linux-gnu/libstdc++-v3/include'
make[1]: Leaving directory `/mnt/home/var/tmp/portage/gcc-3.4.1-r2/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.1-r2 failed.
!!! Function src_compile, Line 690, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
</snip>

<snip>
rockoo@porkoo ~ $ sudo emerge --info
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
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/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/mail/dspam/config /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc loadpolicy prelink sandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d aalib acl adns aim alsa amd apache2 apm arts artswrappersuid async autofs avi bcmath berkdb bitmap-fonts bonobo bootsplash bzlib cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client cpdflib crypt ctype cups curl curlwrappers dba dedicated dillo dio directfb disablekernelsupport distcache distribution divx4linux dnd dv dvd dvdr dvdread encode escreen esd ethereal etwin evms2 exif faac faad fam ffmpeg flac flatfile flood fmod foomaticdb ftp gb gd gdbm geoip gif gimp glut gphoto2 gpm gps gs gstreamer gtk gtk2 gtkhtml hbci iconv icq ieee1394 imagemagick imap imlib imlib2 inifile innodb ipv6 jabber java javascript jbig jp2 jpeg jython kadu-modules kadu-voice kde lcd ldap libcaca libg++ libwww lirc live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir mailwrapper matroska mbox md5sum memlimit mhash mikmod mime ming mmx mng motif mozctl mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4 mplayer msn mysql ncurses net network neural nis nls nntp nowin ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png procmail python qt quicktime quotes readline rtc samba scanner sdl server session sftplogging silc silverxp skey slang smime sndfile soap sockets socks5 speex spell sqlite sse ssl stats stroke subject-rewrite svg svga szip tcltk tcpd tetex theora tidy tiff tokenizer transparent-proxy truetype unicode usb uudeview v4l v4l2 vhosts vim-with-x virus-scan wmf wsconvert x86 xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo yv12 zlib linguas_en linguas_de linguas_es"

rockoo@porkoo ~ $ 
</snip>
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-09-18 02:26:51 UTC
Any chance you can try again with 'FEATURES="-ccache -distcc" emerge -u gcc' please?
Comment 2 Daniel Webert 2004-09-18 12:39:01 UTC
one day later it compiled fine ... i dont know it for sure ... but i think i just changed the headers and cflags ...

<snip>
rockoo@porkoo ~ # emerge --info
...
Headers:  sys-kernel/linux26-headers-2.6.8.1
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
...
</snip>
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-09-26 21:40:12 UTC
*shrug*