[GCC-XML]Problem building gccxml on cygwin

Kevin Powell KPowell at sirf.com
Fri Aug 8 03:10:43 EDT 2003


Hello list,

I read the instructions on the gcc.org web site and downloaded the prepatched gcc tarball as well as the gccxml tarball in an attempt to generate a Cygwin native gccxml.

unfortunatly, I cannot get the build of cc1plus to complete.  First I found that there were control characters in the generated insn_flags.h.  Now, the build craps out and complains about the templates in i386.md.  This does not seem good.  Has anyone had any luck in compiling gccxml on cygwin?

I have tried to compile the patched cc1plus with two versions of gcc: 3.2 and 2.95.3-10.  Both versions of gcc fail the same way.  I'm hoping there is a simple answer to this problem, as I could not find any similar reports in the list archive.  Here is the last bit of the output from make:

gcc-2  -DIN_GCC    -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedanti
c -Wno-long-long  -DHAVE_CONFIG_H   -DCYGWIN_CROSS_DIR=\"/opt/i686-pc-cygwin\" -I. -I. -I../../gccxml-0.4.2-cc
1plus-304/gcc -I../../gccxml-0.4.2-cc1plus-304/gcc/. -I../../gccxml-0.4.2-cc1plus-304/gcc/config -I../../gccxm
l-0.4.2-cc1plus-304/gcc/../include -c insn-recog.c
insn-recog.c: In function `recog_6':
insn-recog.c:5917: warning: integer constant is unsigned in ANSI C, signed with -traditional
insn-recog.c:5917: warning: integer constant is unsigned in ANSI C, signed with -traditional
insn-recog.c: In function `recog_15':
insn-recog.c:19850: warning: integer constant is unsigned in ANSI C, signed with -traditional
insn-recog.c:19850: warning: integer constant is unsigned in ANSI C, signed with -traditional
gcc-2  -DIN_GCC    -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedanti
c -Wno-long-long  -DHAVE_CONFIG_H   -DCYGWIN_CROSS_DIR=\"/opt/i686-pc-cygwin\" -I. -I. -I../../gccxml-0.4.2-cc
1plus-304/gcc -I../../gccxml-0.4.2-cc1plus-304/gcc/. -I../../gccxml-0.4.2-cc1plus-304/gcc/config -I../../gccxm
l-0.4.2-cc1plus-304/gcc/../include -c insn-extract.c
./genoutput.exe ../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md > tmp-output.c
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:1063: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:1102: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:1134: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:1662: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:1799: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:2070: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4074: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4085: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4096: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4107: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4118: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4129: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4140: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4151: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4162: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4173: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4184: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:4195: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:5495: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:5529: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:6260: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:6508: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:6669: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:7475: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:7588: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8123: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8169: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8207: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8279: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8351: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8480: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8552: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8624: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8698: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8732: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8766: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8800: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8834: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:8868: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:11703: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:11725: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:11747: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:11768: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:11797: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:11810: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:13050: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:13061: Wrong number of alternatives in the output template
../../gccxml-0.4.2-cc1plus-304/gcc/config/i386/i386.md:13070: Wrong number of alternatives in the output template
make: *** [s-output] Error 33

Thanks in advance,

Kevin Powell




More information about the gccxml mailing list