Gentoo Archives: gentoo-user

From: "Norman Rieß" <norman@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Where to discuss ARM stuff.
Date: Fri, 10 Aug 2012 04:39:48
Message-Id: 5024901A.2080605@smash-net.org
In Reply to: Re: [gentoo-user] Where to discuss ARM stuff. by Raffaele BELARDI
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Am 09.08.2012 10:04, schrieb Raffaele BELARDI:
5 > On 08/09/2012 07:24 AM, Norman Rieß wrote:
6 >> Am 08.08.2012 14:14, schrieb Raffaele BELARDI: I have a problem
7 >> compiling binutils. Full build log can be found here
8 >> http://smash-net.org/temp/build_log.txt
9 >>
10 >> I tried tha vanilla flag and diabled zlib as suggested via
11 >> google search, but neither did help. I also tried latest unstable
12 >> version 2.29 i think.
13 >
14 > Quite obscure...
15 >
16 > I'd try to reproduce by issuing only the offending line from the
17 > shell (the one that compiles "options.cc", see below) and then try
18 > again removing the -O2 flag.
19 >
20 > Also check if the disk is full ("end of file not at end of a line;
21 > newline inserted" is suspicious but it could just be a side effect
22 > of the compiler crash).
23 >
24 > There are some build requirements listed in the README under
25 > /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/,
26 >
27 >
28 double check if they are met by your ARM toolchain.
29 >
30 > If all fails you could try disabling "gold" compilation (the
31 > --enable-gold bit) and just compile/use the standard GCC linker.
32 >
33 > Sorry, not much else I can think of. I never had to compile the
34 > binutils package because I had a binary cross-compiler toolchain
35 > for ARM available.
36 >
37 > raf
38 >
39 > $ armv6j-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I.
40 > -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold
41 >
42 >
43 - -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold
44 > -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../include
45 >
46 >
47 -
48 -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../elfcpp
49 > -DLOCALEDIR="\"/usr/share/binutils-data/armv6j-hardfloat-linux-gnueabi/2.22/locale\""
50 >
51 >
52 - -DBINDIR="\"/usr/armv6j-hardfloat-linux-gnueabi/binutils-bin/2.22\""
53 > -DTOOLBINDIR="\"/usr/armv6j-hardfloat-linux-gnueabi/bin\"" -W
54 > -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
55 > -frandom-seed=options.o -O2 -pipe -mcpu=arm1176jzf-s -mfpu=vfp -MT
56 > options.o -MD -MP -MF .deps/options.Tpo -c -o options.o
57 > /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/options.cc
58 >
59 >
60 A guy from IRC #gentoo-embedded gave the essential hint yesterday.
61 Setting MAKEOPTS="-j1" instead of -j2 solves the problem.
62
63 Norman
64 -----BEGIN PGP SIGNATURE-----
65 Version: GnuPG v2.0.19 (GNU/Linux)
66 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
67
68 iQEbBAEBAgAGBQJQJJAaAAoJEMCA6frkLT6zGmEH90zynjc862ofZ5S9vK6g8Srf
69 Ad9NjzrLXm9cYSfaTQAqJQYXEMr4fofjLQgk00wjW0Ofc7gHCY2BwjewLdN3KgIa
70 f+HVwd+KTxKTZ6kilVgQvZWB6ks/iRe6luJu1qzYDQ7n8QXCRRMGzUZ1jvFOVKOg
71 8v7xHs+dWppA/JnDMxu2lH2lb14D0U/9QIkvTMb7u/z5aXrRT3IMrDKdtpfhhsVj
72 AYhOjAQ6ii9j8SPOl/AlyAHxnJ0e1cmzNGCDEej2cZ4jAsbVvZAjtq660PBNsD+Y
73 5ZORsCTVOb3NL1z7UO493HS6D2NKmAFOGha6shvLtGlL6AACod5IVoO3MilU7g==
74 =BpwC
75 -----END PGP SIGNATURE-----