1 |
Hi, |
2 |
|
3 |
I would like to use distcc with cross-compilation. Platform will be x86 |
4 |
and ppc. Cross-compilation would work both ways. Cross-compilation |
5 |
setup should work with latest tools and kernels. gcc 3.4, kernel 2.6.5. |
6 |
|
7 |
I search google, Gentoo forums etc. and found various info but not too |
8 |
many details. |
9 |
|
10 |
I install the crossdev ebuild but I am having difficulty setting up |
11 |
things. I have currently built a half bootstrap gcc. I had to do a |
12 |
symlink to the include dir, the script or something else did not put |
13 |
them at the right place (or gcc not looking at the right place.) So, |
14 |
currently, I'm stuck with the error message shown at end of message. |
15 |
|
16 |
I am currently considering building the toolchain myself step by step. |
17 |
|
18 |
Anyone has done this before that could provide some hint or stragegy or |
19 |
reference to a HOWTO/Tutorial would be appreciated. |
20 |
|
21 |
Thanks in advanced, |
22 |
David |
23 |
|
24 |
i686-pc-linux-gnu-gcc -O2 -nostdlib -nostartfiles -march=i686 -O2 -pipe |
25 |
../sysdeps/i386/elf/bsd-setjmp.S -c -I../include -I. |
26 |
-I/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp -I.. |
27 |
-I../libio -I/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686 |
28 |
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 |
29 |
-I../linuxthreads/sysdeps/unix/sysv/linux |
30 |
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread |
31 |
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix |
32 |
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 |
33 |
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux |
34 |
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman |
35 |
-I../sysdeps/unix/inet |
36 |
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv |
37 |
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix |
38 |
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 |
39 |
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 |
40 |
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 |
41 |
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 |
42 |
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic |
43 |
-nostdinc -isystem |
44 |
/home/crossdev/i686/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include |
45 |
-isystem /home/crossdev/i686/include -D_LIBC_REENTRANT -include |
46 |
../include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -g |
47 |
-Wa,--noexecstack -o |
48 |
/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp/bsd-setjmp.o |
49 |
-MD -MP -MF |
50 |
/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp/bsd-setjmp.o.dt |
51 |
../sysdeps/i386/elf/setjmp.S: Assembler messages: |
52 |
../sysdeps/i386/elf/setjmp.S:63: Warning: rest of line ignored; first |
53 |
ignored character is `1' |
54 |
../sysdeps/i386/elf/setjmp.S:64: Warning: rest of line ignored; first |
55 |
ignored character is `1' |
56 |
../sysdeps/i386/elf/setjmp.S:65: Warning: rest of line ignored; first |
57 |
ignored character is `1' |
58 |
../sysdeps/i386/elf/setjmp.S:66: Error: unrecognized symbol type "" |
59 |
../sysdeps/i386/elf/setjmp.S:66: Warning: rest of line ignored; first |
60 |
ignored character is `1' |
61 |
../sysdeps/i386/elf/setjmp.S:67: Warning: rest of line ignored; first |
62 |
ignored character is `1' |
63 |
../sysdeps/i386/elf/setjmp.S:70: Error: expected comma after name `' in |
64 |
.size directive |
65 |
../sysdeps/i386/elf/setjmp.S:70: Warning: rest of line ignored; first |
66 |
ignored character is `1' |
67 |
make[2]: *** |
68 |
[/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp/setjmp.o] |
69 |
Error 1../sysdeps/i386/elf/bsd-setjmp.S: Assembler messages: |
70 |
../sysdeps/i386/elf/bsd-setjmp.S:71: Warning: rest of line ignored; |
71 |
first ignored character is `1' |
72 |
../sysdeps/i386/elf/bsd-setjmp.S:72: Warning: rest of line ignored; |
73 |
first ignored character is `1' |
74 |
../sysdeps/i386/elf/bsd-setjmp.S:73: Warning: rest of line ignored; |
75 |
first ignored character is `1' |
76 |
../sysdeps/i386/elf/bsd-setjmp.S:74: Error: unrecognized symbol type "" |
77 |
../sysdeps/i386/elf/bsd-setjmp.S:74: Warning: rest of line ignored; |
78 |
first ignored character is `1' |
79 |
../sysdeps/i386/elf/bsd-setjmp.S:75: Warning: rest of line ignored; |
80 |
first ignored character is `1' |
81 |
../sysdeps/i386/elf/bsd-setjmp.S:78: Error: expected comma after name |
82 |
`' in .size directive |
83 |
../sysdeps/i386/elf/bsd-setjmp.S:78: Warning: rest of line ignored; |
84 |
first ignored character is `1' |
85 |
|
86 |
make[2]: *** Waiting for unfinished jobs.... |
87 |
|
88 |
|
89 |
|
90 |
--- |
91 |
|
92 |
David Bélanger |
93 |
Graduate Student |
94 |
School of Computer Science |
95 |
McGill University |
96 |
Office: MC226 |
97 |
|
98 |
Web page: http://www.cs.mcgill.ca/~dbelan2/ |
99 |
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |
100 |
|
101 |
|
102 |
-- |
103 |
gentoo-ppc-user@g.o mailing list |