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

Re: chroot setup howto



The MIPS environment has now compiled fine, but the PPC fails as below.

There's obviously a missing file in the distro, and so that's it for the 
official Cross-Compile Environment.  I've enountered and fixed several bugs, 
but it is just too busted.


---------------------------------------------------------------------------------------------------
mkdir -p -- libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/src/gcc-ppc-linux-3.4.3/build/gcc/xgcc 
-B/usr/src/gcc-ppc-linux-3.4.3/build/gcc/ -B/usr/ppc-linux/bin/ 
-B/usr/ppc-linux/lib/ -isystem /usr/ppc-linux/include 
-isystem /usr/ppc-linux/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -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/../include   -DL_muldi3 
-c ../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ./tm.h:10,
                 from ../../src/gcc/libgcc2.c:43:
../../src/gcc/config/rs6000/linux.h:111:20: signal.h: No such file or 
directory
In file included from ./tm.h:10,
                 from ../../src/gcc/libgcc2.c:43:
../../src/gcc/config/rs6000/linux.h:120: error: parse error before "stack_t"
../../src/gcc/config/rs6000/linux.h:120: warning: no semicolon at end of 
struct or union
../../src/gcc/config/rs6000/linux.h:122: error: parse error before 
"uc_sigmask"
../../src/gcc/config/rs6000/linux.h:122: warning: type defaults to `int' in 
declaration of `uc_sigmask'
../../src/gcc/config/rs6000/linux.h:122: warning: data definition has no type 
or storage class
../../src/gcc/config/rs6000/linux.h:121: error: storage size of `uc_mcontext' 
isn't known
make[4]: *** [libgcc/./_muldi3.o] Error 1
make[4]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3/build/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3/build/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/usr/src/gcc-ppc-linux-3.4.3'
make: *** [stamps/05-build-stamp] Error 2
debuild: fatal error at line 764:
dpkg-buildpackage failed!
/usr/src/gcc-ppc-linux-3.4.3 #
---------------------------------------------------------------------------------------------------



Reply to: