1 |
On 08/09/2012 07:24 AM, Norman Rieß wrote: |
2 |
> Am 08.08.2012 14:14, schrieb Raffaele BELARDI: |
3 |
> I have a problem compiling binutils. |
4 |
> Full build log can be found here http://smash-net.org/temp/build_log.txt |
5 |
> |
6 |
> I tried tha vanilla flag and diabled zlib as suggested via google |
7 |
> search, but neither did help. |
8 |
> I also tried latest unstable version 2.29 i think. |
9 |
|
10 |
Quite obscure... |
11 |
|
12 |
I'd try to reproduce by issuing only the offending line from the shell |
13 |
(the one that compiles "options.cc", see below) and then try again |
14 |
removing the -O2 flag. |
15 |
|
16 |
Also check if the disk is full ("end of file not at end of a line; |
17 |
newline inserted" is suspicious but it could just be a side effect of |
18 |
the compiler crash). |
19 |
|
20 |
There are some build requirements listed in the README under |
21 |
/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/, |
22 |
double check if they are met by your ARM toolchain. |
23 |
|
24 |
If all fails you could try disabling "gold" compilation (the |
25 |
--enable-gold bit) and just compile/use the standard GCC linker. |
26 |
|
27 |
Sorry, not much else I can think of. I never had to compile the binutils |
28 |
package because I had a binary cross-compiler toolchain for ARM available. |
29 |
|
30 |
raf |
31 |
|
32 |
$ armv6j-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. |
33 |
-I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold |
34 |
-I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold |
35 |
-I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../include |
36 |
-I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../elfcpp |
37 |
-DLOCALEDIR="\"/usr/share/binutils-data/armv6j-hardfloat-linux-gnueabi/2.22/locale\"" |
38 |
-DBINDIR="\"/usr/armv6j-hardfloat-linux-gnueabi/binutils-bin/2.22\"" |
39 |
-DTOOLBINDIR="\"/usr/armv6j-hardfloat-linux-gnueabi/bin\"" -W -Wall |
40 |
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=options.o -O2 |
41 |
-pipe -mcpu=arm1176jzf-s -mfpu=vfp -MT options.o -MD -MP -MF |
42 |
.deps/options.Tpo -c -o options.o |
43 |
/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/options.cc |