- To: gcc-help@xxxxxxxxxxx
- Subject: unwind-problems
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Mon, 02 Apr 2012 08:05:52 +0200
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120313 Thunderbird/11.0
Hi!
While compiling a stage2 cross-compiler (with kernel headers, and eglibc
headers, and some some libs(crt1.o crti.o crtn.o and libc.so) I get this:
/private/chsols/obj/gcc.cross.mips-linux-gnu.stage2/./gcc/xgcc
-B/private/chsols/obj/gcc.cross.mips-linux-gnu.stage2/./gcc/
-B/private/chsols/cross-tools/mips-linux-gnu/bin/
-B/private/chsols/cross-tools/mips-linux-gnu/lib/ -isystem
/private/chsols/cross-tools/mips-linux-gnu/include -isystem
/private/chsols/cross-tools/mips-linux-gnu/sys-include -O2 -pipe
-march=loongson3a -minterlink-mips16 -O2 -O2 -pipe -march=loongson3a
-minterlink-mips16 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -fPIC -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc
-I/private/chsols/src/gcc/libgcc -I/private/chsols/src/gcc/libgcc/.
-I/private/chsols/src/gcc/libgcc/../gcc
-I/private/chsols/src/gcc/libgcc/../include -DHAVE_CC_TLS -o
unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c
/private/chsols/src/gcc/libgcc/unwind-dw2.c -fvisibility=hidden
-DHIDE_EXPORTS
In file included from /private/chsols/src/gcc/libgcc/unwind-dw2.c:376:0:
./md-unwind-support.h: In function 'mips_fallback_frame_state':
./md-unwind-support.h:78:17: error: field 'info' has incomplete type
make[2]: *** [unwind-dw2.o] Error 1
make[2]: Leaving directory
`/var/tmp/chsols/obj/gcc.cross.mips-linux-gnu.stage2/mips-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory
`/var/tmp/chsols/obj/gcc.cross.mips-linux-gnu.stage2'
make: *** [all] Error 2
Could this have something to do with
http://www.mail-archive.com/gcc-patches@xxxxxxxxxxx/msg28610.html? I'm
using the gcc-4.7 branch from subversion.
--
chs
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]