From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Metz To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c/914 Date: Tue, 29 May 2001 17:56:00 -0000 Message-id: <20010530005601.13098.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg01014.html List-Id: The following reply was made to PR c/914; it has been noted by GNATS. From: Craig Metz To: jsm28@gcc.gnu.org Cc: gcc-gnats@gcc.gnu.org, jsm28@cam.ac.uk Subject: Re: c/914 Date: Tue, 29 May 2001 16:53:14 -0400 In message <20010528114046.24428.qmail@sourceware.cygnus.com>, you write: >Synopsis: libgcc2 compile causes internal error for mips-wrs-vxworks > >State-Changed-From-To: open->feedback >State-Changed-By: jsm28 >State-Changed-When: Mon May 28 04:40:45 2001 >State-Changed-Why: > Does this problem still occur with current 3.0 branch CVS? > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=914&database=gcc First, I get: /usr/src/cvs/gcc-3.0/gcc/gcc/xgcc -B/usr/src/cvs/gcc-3.0/gcc/gcc/ -B/usr/local/mips-wrs-vxworks/mips-wrs-vxworks/bin/ -B/usr/local/mips-wrs-vxworks/mips-wrs-vxworks/lib/ -isystem /usr/local/mips-wrs-vxworks/mips-wrs-vxworks/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -G 0 -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include -DL_fixunsdfsi -c ./libgcc2.c -o libgcc/./_fixunsdfsi.o In file included from /usr/local/mips-wrs-vxworks/mips-wrs-vxworks/include/types/vxArch.h:71, from /usr/local/mips-wrs-vxworks/mips-wrs-vxworks/include/types/vxANSI.h:45, from /usr/local/mips-wrs-vxworks/mips-wrs-vxworks/include/limits.h:24, from /usr/src/cvs/gcc-3.0/gcc/gcc/include/limits.h:130, from /usr/src/cvs/gcc-3.0/gcc/gcc/include/syslimits.h:7, from /usr/src/cvs/gcc-3.0/gcc/gcc/include/limits.h:11, from libgcc2.c:1166: /usr/src/cvs/gcc-3.0/gcc/gcc/include/arch/mips/archMips.h:42:19: r4000.h: No such file or directory make[2]: *** [libgcc/./_fixunsdfsi.o] Error 1 make[2]: Leaving directory `/home/src/cvs/gcc-3.0/gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/src/cvs/gcc-3.0/gcc/gcc' make: *** [all-gcc] Error 2 Dropping r400.h into the gcc build tree where fixincludes seems to have put archMips allows me to continue. Then, I get: /usr/src/cvs/gcc-3.0/gcc/gcc/xgcc -B/usr/src/cvs/gcc-3.0/gcc/gcc/ -B/usr/local/mips-wrs-vxworks/mips-wrs-vxwo rks/mips-wrs-vxworks/lib/ -isystem /usr/local/mips-wrs-vxworks/mips-wrs-vxworks/include -O2 -DCROSS_COMPILE s -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -G 0 -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__ -I. -I. -I. -I./. -I./config -I./../include -fexceptions -c ./unwind-dw2.c -o libgcc/./unwind-dw2.o In file included from unwind-dw2.c:25: unwind-pe.h: In function `size_of_encoded_value': unwind-pe.h:68: warning: implicit declaration of function `abort' In file included from gthr-default.h:1, from gthr.h:98, from unwind-dw2.c:27: gthr-vxworks.h: In function `__gthread_once': gthr-vxworks.h:217: warning: unused parameter `once' gthr-vxworks.h: In function `__ehdtor': gthr-vxworks.h:232: warning: implicit declaration of function `taskVarGet' gthr-vxworks.h:237: warning: implicit declaration of function `taskVarSet' gthr-vxworks.h: In function `__gthread_key_create': gthr-vxworks.h:251: warning: implicit declaration of function `taskVarInit' gthr-vxworks.h:256: warning: implicit declaration of function `taskDeleteHookAdd' gthr-vxworks.h:244: warning: unused parameter `dtor' unwind-dw2.c: In function `extract_cie_info': unwind-dw2.c:219: warning: implicit declaration of function `strlen' unwind-dw2.c: In function `execute_stack_op': unwind-dw2.c:300: warning: `result' might be used uninitialized in this function unwind-dw2.c: In function `execute_cfa_program': unwind-dw2.c:775: warning: implicit declaration of function `alloca' unwind-dw2.c: In function `uw_frame_state_for': unwind-dw2.c:886: warning: implicit declaration of function `memset' unwind-dw2.c: In function `uw_install_context_1': unwind-dw2.c:1103: warning: implicit declaration of function `memcpy' unwind-dw2.c: At top level: unwind-dw2.c:1123: Internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: Leaving directory `/home/src/cvs/gcc-3.0/gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/src/cvs/gcc-3.0/gcc/gcc' make: *** [all-gcc] Error 2 So it looks like things are not good. This is a checkout of a few minutes ago along the 3.0 branch. -Craig