Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc update failed...
Date: Mon, 06 Jul 2009 18:31:45
Message-Id: 200907062031.37024.volkerarmin@googlemail.com
In Reply to: Re: [gentoo-user] gcc update failed... by Jarry
1 On Montag 06 Juli 2009, Jarry wrote:
2 > Volker Armin Hemmann wrote:
3 > > On Montag 06 Juli 2009, Jarry wrote:
4 > >> I just tried to update gcc (actually, it is just recompiling with
5 > >> new nptl flag), but it failed with this messages:
6 > >> __________
7 > >>
8 > >> >>> Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
9 > >> >>>
10 > >> >>> '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'
11 > >>
12 > >> * Messages for package sys-devel/gcc-4.3.2-r3:
13 > >> *
14 > >> * ERROR: sys-devel/gcc-4.3.2-r3 failed.
15 > >> * Call stack:
16 > >> * ebuild.sh, line 49: Called src_compile
17 > >> * environment, line 4870: Called toolchain_src_compile
18 > >> * environment, line 5396: Called gcc_src_compile
19 > >> * environment, line 3094: Called gcc_do_make
20 > >> * environment, line 2884: Called die
21 > >> * The specific snippet of code:
22 > >> * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
23 > >> LIBPATH="${
24 > >> LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}"
25 > >> ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
26 > >> * The die message:
27 > >> * emake failed with bootstrap-lean
28 > >> *
29 > >> * If you need support, post the topmost build error, and the call
30 > >> stack if relevant.
31 > >> * A complete build log is located at
32 > >> '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
33 > >> * The ebuild environment file is located at
34 > >> '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
35 > >> __________
36 > >>
37 > >> What does it mean, and how can I fix it???
38 > >>
39 > >> Jarry
40 > >
41 > > that means that you forgot to copy the important part. You just copied
42 > > the pretty useless vanilla portage error. Not the real error some lines
43 > > above that one.
44 >
45 > I do not know how much to include, but above this, everything seemed
46 > to be ok to me:
47 > _____________________________
48 > -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I.
49 > -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc
50 > -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/.
51 > -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/
52 >
53 > ../include
54 > -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcp
55 >
56 > p/include
57 > -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libde
58 >
59 > cnumber
60 > -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnu
61 >
62 > mber/bid -I../libdecnumber insn-recog.c -o insn-recog.o
63 > {standard input}: Assembler messages:
64 > {standard input}:36051: Warning: end of file not at end of a line;
65 > newline inserted
66 > {standard input}:37071: Error: bad register name `%e'
67 > xgcc: Internal error: Killed (program cc1)
68 > Please submit a full bug report.
69 > See <http://bugs.gentoo.org/> for instructions.
70 > make[3]: *** [insn-attrtab.o] Error 1
71 > make[3]: *** Waiting for unfinished jobs....
72 > rm gcc.pod gfortran.pod
73 > make[3]: Leaving directory
74 > `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/gcc'
75 > make[2]: *** [all-stage2-gcc] Error 2
76 > make[2]: Leaving directory
77 > `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
78 > make[1]: *** [stage2-bubble] Error 2
79 > make[1]: Leaving directory
80 > `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
81 > make: *** [bootstrap-lean] Error 2
82 > ...
83 > ____________________________________________
84 > emerge --info
85 > Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.2,
86 > glibc-2.9_p20081201-r2, 2.6.22-vs2.2.0.7-gentoo x86_64)
87 > =================================================================
88 > System uname:
89 > Linux-2.6.22-vs2.2.0.7-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Process
90 >or_4800+-with-glibc2.2.5 Timestamp of tree: Mon, 06 Jul 2009 17:00:01 +0000
91 > app-shells/bash: 3.2_p39
92 > dev-lang/python: 2.5.4-r3
93 > sys-apps/baselayout: 2.0.0
94 > sys-apps/openrc: 0.4.3-r2
95 > sys-apps/sandbox: 1.6-r2
96 > sys-devel/autoconf: 2.63
97 > sys-devel/automake: 1.10.2
98 > sys-devel/binutils: 2.18-r3
99 > sys-devel/gcc-config: 1.4.1
100 > sys-devel/libtool: 1.5.26
101 > virtual/os-headers: 2.6.27-r2
102 > ACCEPT_KEYWORDS="amd64"
103 > CBUILD="x86_64-pc-linux-gnu"
104 > CFLAGS="-march=athlon64 -O2 -pipe"
105 > CHOST="x86_64-pc-linux-gnu"
106 > CONFIG_PROTECT="/etc /var/bind"
107 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
108 > /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
109 > /etc/udev/rules.d"
110 > CXXFLAGS="-march=athlon64 -O2 -pipe"
111 > DISTDIR="/usr/portage/distfiles"
112 > FEATURES="distlocks fixpackages parallel-fetch preserve-libs
113 > protect-owned sandbox sfperms strict unmerge-orphans userfetch"
114 > GENTOO_MIRRORS="http://distfiles.gentoo.org
115 > http://distro.ibiblio.org/pub/linux/distributions/gentoo"
116 > LDFLAGS="-Wl,-O1"
117 > MAKEOPTS="-j2"
118 > PKGDIR="/usr/portage/packages"
119 > PORTAGE_CONFIGROOT="/"
120 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
121 > --compress --force --whole-file --delete --stats --timeout=180
122 > --exclude=/distfiles --exclude=/local --exclude=/packages"
123 > PORTAGE_TMPDIR="/var/tmp"
124 > PORTDIR="/usr/portage"
125 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
126 > USE="3dnow acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran
127 > gdbm iconv idn ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl
128 > nptlonly openmp pam pcre perl pppd python readline reflection session
129 > spl sse sse2 ssl sysfs tcpd unicode urandom xorg zlib"
130 > ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
131 > emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
132 > intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
133 > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
134 > file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw
135 > multi null plug rate route share shm softvol" APACHE2_MODULES="actions
136 > alias auth_basic authn_alias authn_anon authn_dbm authn_default
137 > authn_file authz_dbm authz_default authz_groupfile authz_host
138 > authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
139 > disk_cache env expires ext_filter file_cache filter headers include info
140 > log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
141 > speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
142 > INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
143 > cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
144 > USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic
145 > nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
146 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
147 > LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
148 > PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
149
150 before you continue, could you try a kernel that is more recent - like from
151 2009?

Replies

Subject Author
Re: [gentoo-user] gcc update failed... Jarry <mr.jarry@×××××.com>