Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] OT - Confusion with cross-compiling
Date: Thu, 24 Nov 2005 01:32:24
1 I wanted to be able to cross compile for one of the machines on my
2 network. I've been following the cross-compilation guide at
3 I've been following
4 the guide exactly. The problem is at this stage in the tutorial:
6 USE=nocxx emerge cross-hppa2.0-unknown-linux-gnu/gcc
8 I want to cross-compile for an i586, so in following the guide I've
9 changed every occurence of "hppa2.0-unknown-linux-gnu" to
10 "i586-pc-linux-gnu". binutils emerged just fine for the
11 cross-compilation environment, but I'm having trouble emerging gcc (Step
12 5). I've issued:
14 USE=nocxx emerge cross-i586-pc-linux-gnu/gcc
16 and it builds for awhile and then it errors:
18 /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/gcc.c: In function
19 `retry_ice':
20 /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/gcc.c:5897: warning: `fd'
21 might be used uninitialized in this function
22 make[1]: *** [gcc.o] Error 1
23 make[1]: *** Waiting for unfinished jobs....
24 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build/gcc'
25 make: *** [all-gcc] Error 2
27 !!! ERROR: cross-i586-pc-linux-gnu/gcc-3.3.6 failed.
28 !!! Function gcc_do_make, Line 1311, Exitcode 2
29 !!! emake failed with all
30 !!! If you need support, post the topmost build error, NOT this status
31 message.
33 The problem is I can't FIND the error. The top of what I've pasted
34 above is the only thing that I could see that could potentially cause an
35 error. I've included a text version of the complete output of the
36 emerge (I hope attachments to the list are allowed...) Can anyone tell
37 me what I'm doing wrong?


File name MIME type
gcc.errors text/plain


Subject Author
Re: [gentoo-user] OT - Confusion with cross-compiling Richard Fish <bigfish@××××××××××.org>