error in unwind-dw.c while compiling ppc970 cross-gcc

Daniel Kegel dank@kegel.com
Wed Apr 6 19:52:00 GMT 2005


Khem Raj wrote:
> While compiling gcc 3.4.3 for ppc960 I am ending up in this error on 
> gcc-core (phase 1) build. Has anybody seen this problem before.
> am I missing some patch.
> 
> -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include  
> -fPIC -mstrict-align -fexceptions -c ../../gcc/unwind-dw2.c
> -o libgcc/./unwind-dw2.o
> ../../gcc/unwind-dw2.c: In function `uw_frame_state_for':
> ../../gcc/unwind-dw2.c:1016: warning: implicit declaration of function 
> `memset'
> ../../gcc/unwind-dw2.c:1030: error: field `sigctx' has incomplete type

Sounds kinda like a kernel header problem?  Which kernel headers
are you using?  The sanitized ones from 2.6 might be worth trying
if you haven't already.

------
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