Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147724 - gcc-4.1.1 does not compile
Summary: gcc-4.1.1 does not compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 13:22 UTC by Martin Schwier
Modified: 2006-09-17 04:05 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 Martin Schwier 2006-09-15 13:22:44 UTC
gcc-4.1.1 does not compile on my amd64 system

/etc/make.profile ist a link to ../usr/portage/profiles/default-linux/amd64/2006.1/server

it was
../usr/portage/profiles/default-linux/amd64/2006.0 before

here is the compile time error:

stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -O2 -pipe -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. -I. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include     /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/c-common.c -o c-common.o
/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/c-common.c: In function 'c_common_signed_type':
/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/c-common.c:6356: error: corrupted profile info: number of executions for edge 0-2 thought to be -76
/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/c-common.c:6356: error: corrupted profile info: number of executions for edge 0-1 thought to be 27131
make[2]: *** [c-common.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/var/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 1530:   Called gcc_do_make
  toolchain.eclass, line 1404:   Called die

emerge --info:

Portage 2.1-r2 (default-linux/amd64/2006.1/server, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.26-xen x86_64)
=================================================================
System uname: 2.6.16.26-xen x86_64 Dual Core AMD Opteron(tm) Processor 175
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ "
MAKEOPTS="-j5"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 caps cli crypt cups curl curlwrappers dba dlloader dri exif gd gdbm gpm idn imap ipv6 isdnlog libg++ logrotate mailwrapper memlimit mpm-prefork mysql ncurses nls nptl nptlonly pam pcre perl php ppds pppd python readline reflection sasl session spl ssl tcpd tidy tokenizer truetype truetype-fonts type1-fonts udev utf8 vhosts web xinetd xml xmlrpc xorg xsl zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux 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_i810 video_cards_mga video_cards_neomagic 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, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-09-17 00:16:26 UTC
does it work when you had the profile set to ../usr/portage/profiles/default-linux/amd64/2006.0 ?  does it only fail while running Xen ?
Comment 2 Martin Schwier 2006-09-17 04:05:37 UTC
> does it work when you had the profile set to ../usr/portage/profiles/default-linux/amd64/2006.0 ? does it only fail while
running Xen ?

I didn't try this, but yes the server is running on xen.