From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 00:46: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 A043316A4B3 for ; Fri, 17 Oct 2003 00:46:46 -0700 (PDT) Received: from smtp.noos.fr (nan-smtp-09.noos.net [212.198.2.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6710A43FDF for ; Fri, 17 Oct 2003 00:46:43 -0700 (PDT) (envelope-from root@noos.fr) Received: (qmail 9464192 invoked by uid 0); 17 Oct 2003 07:41:54 -0000 Received: (qmail 8336029 invoked by uid 0); 15 Oct 2003 19:02:25 -0000 Received: from unknown (HELO mx2.freebsd.org) ([216.136.204.119]) (envelope-sender ) by 212.198.2.80 (qmail-ldap-1.03) with SMTP for ; 15 Oct 2003 19:02:25 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 1E559571E9; Wed, 15 Oct 2003 12:01:27 -0700 (PDT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 67EE816A4D7; Wed, 15 Oct 2003 12:01:23 -0700 (PDT) Delivered-To: freebsd-current@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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Subject: 5.1 current make buildworld fails consistently on crtstuff.c- Help? X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 07:46: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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"