From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 12:00:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D5216A4D5; Wed, 15 Oct 2003 12:00:46 -0700 (PDT) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67B1C43F93; Wed, 15 Oct 2003 12:00:43 -0700 (PDT) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu163-103-214.nc.rr.com [24.163.103.214]) h9DNqY2I019984; Mon, 13 Oct 2003 19:52:34 -0400 (EDT) Message-ID: <3F8B3AC2.50008@mindcore.net> Date: Mon, 13 Oct 2003 19:52:34 -0400 From: Scott W User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 5.1 current make buildworld fails consistently on crtstuff.c- Help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 19:00:46 -0000 Hey all. I've been unsuccessful at performing a 'make buildworld' for the past week based on a cvsup of 5.1-current. This is a fresh install as of ~10 days ago on a Dual Celeron BP-6 system, 784M RAM. To say this is getting frustrating at this point is an understatement....anyone else seeing this problem or have a suggestion on how to resolve this? Failed buildlog follows, have seen this consistently break in the same place for the past week of attempting 'make buildworld'. Some debugging seems to point it's actually in the definition of CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC), likely in the definition of one of the parameters themsevles, as removing the rest of the #defined macro 'function' still results in the same compile error. cc -O -pipe -DSMP -DAPIC_IO -march=pentiumpro -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -march=pentiumpro -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools -g0 -DCRT_BEGIN -c -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c In file included from /usr/src/contrib/gcc/crtstuff.c:63: /usr/src/contrib/gcc/unwind-dw2-fde.h:37: warning: ISO C90 does not support flexible array members /usr/src/contrib/gcc/unwind-dw2-fde.h:53: warning: bit-field `sorted' type invalid in ISO C /usr/src/contrib/gcc/unwind-dw2-fde.h:54: warning: bit-field `from_array' type invalid in ISO C /usr/src/contrib/gcc/unwind-dw2-fde.h:55: warning: bit-field `mixed_encoding' type invalid in ISO C /usr/src/contrib/gcc/unwind-dw2-fde.h:56: warning: bit-field `encoding' type invalid in ISO C /usr/src/contrib/gcc/unwind-dw2-fde.h:59: warning: bit-field `count' type invalid in ISO C /usr/src/contrib/gcc/unwind-dw2-fde.h:139: warning: ISO C90 does not support flexible array members /usr/src/contrib/gcc/unwind-dw2-fde.h:147: warning: ISO C90 does not support flexible array members /usr/src/contrib/gcc/unwind-dw2-fde.h: In function `get_cie': /usr/src/contrib/gcc/unwind-dw2-fde.h:157: warning: pointer of type `void *' used in arithmetic /usr/src/contrib/gcc/crtstuff.c: At top level: /usr/src/contrib/gcc/crtstuff.c:122: warning: redundant redeclaration of `__register_frame_info' in same scope /usr/src/contrib/gcc/unwind-dw2-fde.h:95: warning: previous declaration of `__register_frame_info' /usr/src/contrib/gcc/crtstuff.c:125: warning: redundant redeclaration of `__register_frame_info_bases' in same scope /usr/src/contrib/gcc/unwind-dw2-fde.h:94: warning: previous declaration of `__register_frame_info_bases' /usr/src/contrib/gcc/crtstuff.c:127: warning: redundant redeclaration of `__deregister_frame_info' in same scope /usr/src/contrib/gcc/unwind-dw2-fde.h:101: warning: previous declaration of `__deregister_frame_info' /usr/src/contrib/gcc/crtstuff.c:129: warning: redundant redeclaration of `__deregister_frame_info_bases' in same scope /usr/src/contrib/gcc/unwind-dw2-fde.h:102: warning: previous declaration of `__deregister_frame_info_bases' /usr/src/contrib/gcc/crtstuff.c:198: warning: ISO C forbids empty initializer braces /usr/src/contrib/gcc/crtstuff.c:206: warning: ISO C forbids empty initializer braces /usr/src/contrib/gcc/crtstuff.c: In function `__do_global_dtors_aux': /usr/src/contrib/gcc/crtstuff.c:280: warning: passing arg 1 of `__deregister_frame_info' discards qualifiers from pointer target type /usr/src/contrib/gcc/crtstuff.c: At top level: /usr/src/contrib/gcc/crtstuff.c:288: error: syntax error before string constant /usr/src/contrib/gcc/crtstuff.c:288: warning: ISO C does not allow extra `;' outside of a function /usr/src/contrib/gcc/crtstuff.c: In function `frame_dummy': /usr/src/contrib/gcc/crtstuff.c:316: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type /usr/src/contrib/gcc/crtstuff.c: At top level: /usr/src/contrib/gcc/crtstuff.c:325: error: syntax error before string constant /usr/src/contrib/gcc/crtstuff.c:325: warning: ISO C does not allow extra `;' outside of a function *** Error code 1 Stop in /usr/src/gnu/lib/csu. *** Error code 1 This particular section of code in crtstuff.c is as follows: CRT_CALL_STATIC_FUNCTION (INIT_SECTION_ASM_OP, frame_dummy) which is defined as: #ifndef CRT_CALL_STATIC_FUNCTION # define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \ static void __attribute__((__used__)) \ call_ ## FUNC (void) \ { \ asm (SECTION_OP); \ FUNC (); \ FORCE_CODE_SECTION_ALIGN \ asm (TEXT_SECTION_ASM_OP); \ } #endif