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