Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-ppc-user
Hi,
I would like to use distcc with cross-compilation. Platform will be x86
and ppc. Cross-compilation would work both ways. Cross-compilation
setup should work with latest tools and kernels. gcc 3.4, kernel 2.6.5.
I search google, Gentoo forums etc. and found various info but not too
many details.
I install the crossdev ebuild but I am having difficulty setting up
things. I have currently built a half bootstrap gcc. I had to do a
symlink to the include dir, the script or something else did not put
them at the right place (or gcc not looking at the right place.) So,
currently, I'm stuck with the error message shown at end of message.
I am currently considering building the toolchain myself step by step.
Anyone has done this before that could provide some hint or stragegy or
reference to a HOWTO/Tutorial would be appreciated.
Thanks in advanced,
David
i686-pc-linux-gnu-gcc -O2 -nostdlib -nostartfiles -march=i686 -O2 -pipe
../sysdeps/i386/elf/bsd-setjmp.S -c -I../include -I.
-I/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp -I..
-I../libio -I/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/home/crossdev/i686/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
-isystem /home/crossdev/i686/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -g
-Wa,--noexecstack -o
/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp/bsd-setjmp.o
-MD -MP -MF
/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp/bsd-setjmp.o.dt
../sysdeps/i386/elf/setjmp.S: Assembler messages:
../sysdeps/i386/elf/setjmp.S:63: Warning: rest of line ignored; first
ignored character is `1'
../sysdeps/i386/elf/setjmp.S:64: Warning: rest of line ignored; first
ignored character is `1'
../sysdeps/i386/elf/setjmp.S:65: Warning: rest of line ignored; first
ignored character is `1'
../sysdeps/i386/elf/setjmp.S:66: Error: unrecognized symbol type ""
../sysdeps/i386/elf/setjmp.S:66: Warning: rest of line ignored; first
ignored character is `1'
../sysdeps/i386/elf/setjmp.S:67: Warning: rest of line ignored; first
ignored character is `1'
../sysdeps/i386/elf/setjmp.S:70: Error: expected comma after name `' in
.size directive
../sysdeps/i386/elf/setjmp.S:70: Warning: rest of line ignored; first
ignored character is `1'
make[2]: ***
[/var/tmp/portage/crossdevbuild/glibc-2.3.2/buildhere-i686/setjmp/setjmp.o]
Error 1../sysdeps/i386/elf/bsd-setjmp.S: Assembler messages:
../sysdeps/i386/elf/bsd-setjmp.S:71: Warning: rest of line ignored;
first ignored character is `1'
../sysdeps/i386/elf/bsd-setjmp.S:72: Warning: rest of line ignored;
first ignored character is `1'
../sysdeps/i386/elf/bsd-setjmp.S:73: Warning: rest of line ignored;
first ignored character is `1'
../sysdeps/i386/elf/bsd-setjmp.S:74: Error: unrecognized symbol type ""
../sysdeps/i386/elf/bsd-setjmp.S:74: Warning: rest of line ignored;
first ignored character is `1'
../sysdeps/i386/elf/bsd-setjmp.S:75: Warning: rest of line ignored;
first ignored character is `1'
../sysdeps/i386/elf/bsd-setjmp.S:78: Error: expected comma after name
`' in .size directive
../sysdeps/i386/elf/bsd-setjmp.S:78: Warning: rest of line ignored;
first ignored character is `1'
make[2]: *** Waiting for unfinished jobs....
---
David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226
Web page: http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
--
gentoo-ppc-user@g.o mailing list
|
|