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

Bug 146057

Summary: gcc 4.1.1 doesn't compile
Product: Gentoo Linux Reporter: Tudor <tudor>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tudor 2006-09-02 16:53:21 UTC
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cp-objcp-common.c:248: note: file cp/cp-objcp-common.gcda not found, execution counts estimated
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe -O2 -fprofile-use -freorder-blocks-and-partition -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute     -DHAVE_CONFIG_H -I. -Icp -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include     /home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/name-lookup.c -o cp/name-lookup.o
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/name-lookup.c: In function 'gt_pch_p_15binding_table_s':
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/name-lookup.c:5134: note: file cp/name-lookup.gcda not found, execution counts estimated
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe -O2 -fprofile-use -freorder-blocks-and-partition -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute     -DHAVE_CONFIG_H -I. -Icp -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include     /home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cxx-pretty-print.c -o cp/cxx-pretty-print.o
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cxx-pretty-print.c: In function 'pp_cxx_pretty_printer_init':
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cxx-pretty-print.c:1973: note: file cp/cxx-pretty-print.gcda not found, execution counts estimated
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe -O2 -fprofile-use -freorder-blocks-and-partition -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute     -DHAVE_CONFIG_H -I. -Icp -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include     /home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cp-gimplify.c -o cp/cp-gimplify.o
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cp-gimplify.c: In function 'cp_genericize':
/home/tudor/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/cp/cp-gimplify.c:693: note: file cp/cp-gimplify.gcda not found, execution counts estimated
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/   -march=pentium4 -pipe -O2 -fprofile-use -freorder-blocks-and-partition -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute     -DHAVE_CONFIG_H  -o cc1plus-dummy \
      cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a   ../libiberty/libiberty.a
collect2: ld returned 1 exit status
make[2]: *** [cc1plus-dummy] Error 1
make[2]: Leaving directory `/home/tudor/tmp/portage/gcc-4.1.1/work/build/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/home/tudor/tmp/portage/gcc-4.1.1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1528:   Called gcc_do_make
  toolchain.eclass, line 1402:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Tudor 2006-09-02 16:53:50 UTC
tuxbook tudor # emerge gcc --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Celeron(R) M processor         1.30GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.4-r1, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/home/tudor/tmp/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://85.25.128.62 ftp://ftp.nyx.hu/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de es"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/tudor/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cddb cdr cli crypt cups dlloader dri dvd dvdr dvdread eds emboss encode esd foomaticdb fortran gdbm gif gimpprint gpm gstreamer gtk2 hal i8x0 imlib ipv6 isdnlog java jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg mplayer ncurses nls nptl nsplugin ogg opendivx opengl oss pam pcre pda pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev v4l v4l2 vorbis wifi win32codecs xml xmms xorg xv zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_es userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 17:10:58 UTC
Sorry, no error above. Try w/ MAKEOPTS="-j1"