[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross-gcc status



On Oct 13, 2004, at 12:57 PM, Nikita V. Youshchenko wrote:

I'm proud to announce that both gcc-3.3 and gcc-3.4 debian packages build cross-compiler debs ok for all debian linux targets. Cross-compilers for
sparc and s390 targets are biarch (may build both 32bit and 64bit
binaries).

All known bugs are fixed.

3.3 patches are already in 3.3.5-1
3.4 patches are submitted

Chances that all that will be in sarge :).

Binary x86 debs for all cross-compilers are in my apt repository at
deb http://zigzag.lvk.cs.msu.su/~nikita/debian/ sid/

Nikita

Thanks for your hard work, Nikita! It is much appreciated!

I can see in your repository that you did build gcc 3.3.5 i386 -> powerpc, but I can't seem to do the same; I keep seeing:

tor:~> apt-get source gcc-3.3
[...]
tor:~> cd gcc-3.3-3.3.5
tor:~/gcc-3.3-3.3.5> GCC_TARGET=powerpc debian/rules control
[...]
tor:~/gcc-3.3-3.3.5> GCC_TARGET=powerpc dpkg-buildpackage -uc -us -rfakeroot
[...]
/home/me/gcc-3.3-3.3.5/build/gcc/xgcc -B/home/me/gcc-3.3-3.3.5/build/gcc/ -B/usr/powerpc-linux/bin/ -B/usr/powerpc-linux/lib/ -isystem /usr/powerpc-linux/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -DL_muldi3 -c ../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:22,
                 from ../../src/gcc/libgcc2.c:36:
../../src/gcc/config/rs6000/linux.h:96:20: signal.h: No such file or directory
make[4]: *** [libgcc/./_muldi3.o] Error 1
make[4]: Leaving directory `/home/me/gcc-3.3-3.3.5/build/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory `/home/me/gcc-3.3-3.3.5/build/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory `/home/me/gcc-3.3-3.3.5/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/home/me/gcc-3.3-3.3.5'
make: *** [stamps/05-build-stamp] Error 2
Exit 2


I think I've got the necessary build-deps:


tor:~> dpkg-query -W binutils-powerpc-linux dpkg-cross libc6-powerpc-cross libc6-dev-powerpc-cross libdb1-compat-powerpc-cross linux-kernel-headers-powerpc-cross
binutils-powerpc-linux  2.15-4
dpkg-cross      1.19
libc6-powerpc-cross     2.3.2.ds1-17
libc6-dev-powerpc-cross 2.3.2.ds1-17
libdb1-compat-powerpc-cross     2.1.3-7
linux-kernel-headers-powerpc-cross      2.5.999-test7-bk-17


I'm still trying to track down the problem, but any help would be much appreciated!

Thanks,

Jack



Reply to: