This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13502] New: Can't compile, fix included
- From: "gcc-bugzilla-spam at pgp-keys dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2003 10:20:51 -0000
- Subject: [Bug c++/13502] New: Can't compile, fix included
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
struct siginfo is undefined in macro MD_FALLBACK_FRAME_STATE_FOR
of ./gcc/config/i386/linux.h
In configure should be a check for this struct. Mine is in bits/siginfo.h
simpy adding "#define <bits/siginfo.h>" at the other includes in
gcc/config/i386/linux.h, right above the macro definition solves this. (but
again, this should be a check in configure)
make[2]: Entering directory `/mnt/hda7/www/src/gcc-3.3.2/gcc'
for d in libgcc; do \
if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/www/src/gcc-3.3.2/gcc/xgcc -B/www/src/gcc-3.3.2/gcc/ -B/usr/local/i686-pc-
linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-
linux-gnu/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -
DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I. -I./. -
I./config -I./../include -fexceptions -c ./unwind-dw2.c -o libgcc/./unwind-dw2.o
unwind-dw2.c: In function `uw_frame_state_for':
unwind-dw2.c:942: error: field `info' has incomplete type
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/mnt/hda7/www/src/gcc-3.3.2/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/mnt/hda7/www/src/gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2
--
Summary: Can't compile, fix included
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc-bugzilla-spam at pgp-keys dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: 2.0.35 #6 i686, gcc version 2.7.2.3
GCC target triplet: unwind-dw2.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13502