Gentoo Archives: gentoo-user

From: Tom Wijsman <TomWij@g.o>
To: w41ter@×××××.com
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge failed for sys-devel/binutils-2.23.2
Date: Sun, 12 Jan 2014 03:31:06
Message-Id: 20140112043008.5f4e2a68@TOMWIJ-GENTOO
In Reply to: [gentoo-user] Re: emerge failed for sys-devel/binutils-2.23.2 by walt
1 On Sat, 11 Jan 2014 15:19:23 -0800
2 walt <w41ter@×××××.com> wrote:
3
4 > On 01/11/2014 02:32 PM, Tom Wijsman wrote:
5 > > On Sat, 11 Jan 2014 17:16:36 -0500
6 > > Andrew Penhorwood <andrew@××××××××.com> wrote:
7 > >
8 > >> * ERROR: sys-devel/binutils-2.23.2::gentoo failed (compile
9 > >> phase):
10 > >> * emake failed
11 > >> *
12 > >> * Call stack:
13 > >> * ebuild.sh, line 93: Called src_compile
14 > >> * environment, line 2823: Called
15 > >> toolchain-binutils_src_compile
16 > >> * environment, line 3514: Called die
17 > >> * The specific snippet of code:
18 > >> * emake all || die "emake failed";
19 > >> *
20 > >> * If you need support, post the output of `emerge --info
21 > >> '=sys-devel/binutils-2.23.2::gentoo'`,
22 > >> * the complete build log and the output of `emerge -pqv
23 > >> '=sys-devel/binutils-2.23.2::gentoo'`.
24 > >> * The complete build log is located at
25 > >> '/var/tmp/portage/sys-devel/binutils-2.23.2/temp/build.log'.
26 > >> * The ebuild environment file is located at
27 > >> '/var/tmp/portage/sys-devel/binutils-2.23.2/temp/environment'.
28 > >> * Working directory:
29 > >> '/var/tmp/portage/sys-devel/binutils-2.23.2/work/build'
30 > >> * S:
31 > >> '/var/tmp/portage/sys-devel/binutils-2.23.2/work/binutils-2.23.2'
32 > >
33 > > Can you please file a bug about this at https://bugs.gentoo.org and
34 > > attach all the requested information? At the very least comment with
35 > > the output of `emerge --info` and attach the complete build.log.
36 >
37 > I was about to reply to Andrew that running an emerge with -j1 can
38 > make the build log easier to scan for errors, and can sometimes even
39 > prevent build errors in certain packages.
40
41 The errors are:
42
43 {standard input}:86987: Error: number of operands mismatch for `sub'
44 {standard input}: Error: open CFI at the end of file;
45 missing .cfi_endproc directive
46
47 There is something wrong in the assembler code, a mismatch of of the
48 amounts of parameters passed to a 'sub' (subtract) instruction; then
49 it doesn't close some kind of CFI procedure towards the end of the
50 file, this then later causes the compiler to get killed:
51
52 x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program
53 cc1plus)
54
55 The other occasion is that the assembler code might be right, but then
56 there is something wrong with the system; I'll get back to that in my
57 other mail.
58
59 As a side note; -j1 bugs should still be filed such that we can
60 (temporarily) fix it for everyone in the ebuild, these can be
61 recognized by the amount of jobs mismatching in the build.log.
62
63 > [OT]
64 > Tom, I very rudely forgot to thank you for your reply to my recent
65 > post about layman. So...thank you!
66 >
67 > As a group we tend to be tough on devs who actually answer questions
68 > here even though we really are harmless. No, really, we are, honest,
69 > just ask us.
70
71 --
72 With kind regards,
73
74 Tom Wijsman (TomWij)
75 Gentoo Developer
76
77 E-mail address : TomWij@g.o
78 GPG Public Key : 6D34E57D
79 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

Attachments

File name MIME type
signature.asc application/pgp-signature