[Bug c++/16024] New: gengtype crashes with mingw and c++ extension

jfierstone at gmx dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 16 19:26:00 GMT 2004


When building gcc 3.4 with c++, gengtype.exe crashes (without the c++ extension
package, it works):

gcc -v -save-temps -c   -g  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../source/gcc-3.4.0-20040501-1/gcc
-I../../source/gcc-3.4.0-20040501-1/gcc/.
-I../../source/gcc-3.4.0-20040501-1/gcc/../include -I../intl
/c/build/gcc/dev/gcc_3.4.0/source/gcc-3.4.0-20040501-1/gcc/gengtype.c -o gengtype.o
flex  -ogengtype-lex.c
/c/build/gcc/dev/gcc_3.4.0/source/gcc-3.4.0-20040501-1/gcc/gengtype-lex.l
bison  -d -o gengtype-yacc.c
/c/build/gcc/dev/gcc_3.4.0/source/gcc-3.4.0-20040501-1/gcc/gengtype-yacc.y
gcc -v -save-temps -c   -g  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error 
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../source/gcc-3.4.0-20040501-1/gcc
-I../../source/gcc-3.4.0-20040501-1/gcc/.
-I../../source/gcc-3.4.0-20040501-1/gcc/../include -I../intl \
 gengtype-lex.c -o gengtype-lex.o
gcc -v -save-temps -c   -g  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error 
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../source/gcc-3.4.0-20040501-1/gcc
-I../../source/gcc-3.4.0-20040501-1/gcc/.
-I../../source/gcc-3.4.0-20040501-1/gcc/../include -I../intl \
 gengtype-yacc.c -o gengtype-yacc.o
gcc -v -save-temps   -g  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengtype.exe \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Configure command line :
/c/build/gcc/dev/gcc_3.4.0/source/gcc-3.4.0-20040501-1/gcc/configure
--cache-file=./config.cache --build=i686-pc-mingw32 --host=i686-pc-mingw32
--target=i386-elf -v --prefix=/c/build/gcc/dev/gcc_3.4.0/build/cross-tools
--enable-languages=c,c++ --without-headers --enable-threads --with-gnu-as
--with-gnu-ld --disable-win32-registry --with-newlib --disable-shared
--with-gcc-version-trigger=/c/build/gcc/dev/gcc_3.4.0/source/gcc-3.4.0-20040501-1/gcc/version.c
--program-transform-name=s,^,i386-elf-,; 
--srcdir=/c/build/gcc/dev/gcc_3.4.0/source/gcc-3.4.0-20040501-1/gcc

Attached the gengtype*.i

I can send more info if needed.
Thanks in adavance
Jeremy

-- 
           Summary: gengtype crashes with mingw and c++ extension
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jfierstone at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i386-pc-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16024



More information about the Gcc-bugs mailing list