error in unwind-dw.c while compiling ppc970 cross-gcc
Mike Frysinger
vapier@gentoo.org
Fri Apr 8 04:58:00 GMT 2005
On Thursday 07 April 2005 08:17 pm, Khem Raj wrote:
> I have applied part of the patch
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-devel/gcc/files/3.4.3/gcc-3.4
>.3-cross-compile.patch?rev=1.7&view=markup wrongly which caused this issue.
> Once I corrected it. The build
> progressed further
erm, i dont think so ... the only thing that patch does is to prevent glibc
header files from being included ...
without the fixes in there for gcc/config/rs6000/linux64.h, the build fails
much earlier in a typical mannor ... while trying to build libgcc2:
/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/build/gcc/xgcc
-B/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/build/gcc/
-B/usr/powerpc64-unknown-linux-gnu/bin/
-B/usr/powerpc64-unknown-linux-gnu/lib/
-isystem /usr/powerpc64-unknown-linux-gnu/include
-isystem /usr/powerpc64-unknown-linux-gnu/sys-include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include
-mno-minimal-toc -fPIC -specs=bispecs -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -D_LIBC_PROVIDES_SSP_ -I. -I.
-I/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc
-I/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/.
-I/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/../include
-fPIC -mstrict-align -DL_muldi3
-c /var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/libgcc2.c
-o libgcc/./_muldi3.o
In file included from ./tm.h:12,
from /var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/libgcc2.c:43:
/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/config/rs6000/linux64.h:583:20:
signal.h: No such file or directory
/var/tmp/cross/powerpc64-unknown-linux-gnu/portage/gcc-3.4.3.20050110-r1/work/gcc-3.4.3/gcc/config/rs6000/linux64.h:585:26:
sys/ucontext.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
-mike
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list