Gentoo Archives: gentoo-mips

From: "Mathias W." <m.weigt@××××××××.de>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] Still Problems with compiling the kernel
Date: Mon, 02 Jul 2007 08:59:18
Message-Id: 4688BE52.3030505@uni-bonn.de
In Reply to: Re: [gentoo-mips] Still Problems with compiling the kernel by Kumba
1 Kumba schrieb:
2
3 > I did hit the ldscripts error, which needed a fix in binutils-config.
4 > But this ranlib-based one, I haven't hit in the last few times I've run
5 > catalyst to build newer livecds. All I can say, is use crossdev to
6 > completely remove all traces of cross-compilers, then follow behind it
7 > in /usr and remove any left overs that might be remaining (usually in
8 > /usr/${CHOST}/*). Then, remove all your kernel trees.
9
10 I did this and hopefully removed everything which looked like mips64.
11
12 > Remerge everything, using gcc-4.1.2 and binutils-2.17, and cross
13 > fingers. Make sure you're running "make vmlinux" for 64bit targets
14 > (IP28, IP27, IP30) or vmlinux.32 for quasi-64bit targets (IP22, IP32).
15 > Also make sure you have the latest crossdev too.
16
17 Now I emerged gcc-4.1.2 but then kgcc64-4.1.2 fails during compile:
18
19 rm -f include/limits.h
20 cp xlimits.h include/limits.h
21 cp /var/tmp/portage/sys-devel/kgcc64-4.1.2/work/gcc-4.1.2/gcc/unwind-generic.h include/unwind.h
22 chmod a+r include/limits.h
23 rm -f include/README
24 cp /var/tmp/portage/sys-devel/kgcc64-4.1.2/work/gcc-4.1.2/gcc/../fixincludes/README-fixinc include/README
25 chmod a+r include/README
26 echo timestamp > stmp-int-hdrs
27 make[2]: *** No rule to make target `/usr/bin/mips64-unknown-linux-gnu-as', needed by `stamp-as'. Stop.
28 make[2]: Leaving directory `/var/tmp/portage/sys-devel/kgcc64-4.1.2/work/build/gcc'
29 make[1]: *** [all-gcc] Error 2
30 make[1]: Leaving directory `/var/tmp/portage/sys-devel/kgcc64-4.1.2/work/build'
31 make: *** [all] Error 2
32
33 !!! ERROR: sys-devel/kgcc64-4.1.2 failed.
34 Call stack:
35 ebuild.sh, line 1615: Called dyn_compile
36 ebuild.sh, line 972: Called qa_call 'src_compile'
37 ebuild.sh, line 44: Called src_compile
38 ebuild.sh, line 1305: Called toolchain_src_compile
39 toolchain.eclass, line 26: Called gcc_src_compile
40 toolchain.eclass, line 1541: Called gcc_do_make
41 toolchain.eclass, line 1415: Called die
42
43 !!! emake failed with all
44 !!! If you need support, post the topmost build error, and the call stack if relevant.
45 !!! A complete build log is located at '/var/tmp/portage/sys-devel/kgcc64-4.1.2/temp/build.log'.
46
47 ----------------------------------------
48 Now I'm not sure if this may be in relation to the cleaning because I had kgcc64-4.1.1 before.
49 (I'm pretty sure that I did too much cleaning because kgcc64-4.1.1 shows the same error now)
50
51 I think I rebuild this machine from Scratch: is there a newer stage3 available than this: stage3-mips4-2006.0.tar.bz2 ?
52
53 --
54 Mathias Weigt
55
56
57
58 --
59 gentoo-mips@g.o mailing list

Replies

Subject Author
Re: [gentoo-mips] Still Problems with compiling the kernel "J. Scott Kasten" <jscottkasten@×××××.com>