Gentoo Archives: gentoo-user

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