From owner-freebsd-current Sun Mar 3 13:49:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from sduwebship.student.umd.edu (sduwebship.student.umd.edu [129.2.156.15]) by hub.freebsd.org (Postfix) with ESMTP id 21C9837B400; Sun, 3 Mar 2002 13:49:36 -0800 (PST) Received: from localhost (philip@localhost) by sduwebship.student.umd.edu (8.11.6/8.11.6) with ESMTP id g23GqaE96370; Sun, 3 Mar 2002 16:52:36 GMT (envelope-from philip@sduwebship.student.umd.edu) Date: Sun, 3 Mar 2002 16:52:35 +0000 (GMT) From: "Philip M. Gollucci" To: "M. Warner Losh" Cc: , Subject: Re: 5.0-CURRENT makebuild world fails In-Reply-To: <20020303.143027.105075680.imp@village.org> Message-ID: <20020303164954.Q96218-100000@sduwebship.student.umd.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I remembered a while back, I added BDECFLAGS= -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 to my CFLAGS so I could try and fix all the damn warnings. After removing that so my CFLAGS are the default CFLAGS= -O2 -Wall -pipe cd /usr/src makebuild world Heres the line now. cc -O2 -Wall -pipe -march=pentiumpro -elf -Wall -fkeep-inline-functions -I/usr/src/lib/csu/i386-elf/../common -DGCRT -c -o gcrt1.o /usr/src/lib/csu/i386-elf/crt1.c Still get the signal 11. Same file. Same place. Only no warnings about the braces this time. END ------------------------------------------------------------------------------ Philip M. Gollucci (p6m7g8) philip@p6m7g8.com 301.314.3118 Science, Discovery, & the Universe (UMCP) Webmaster & Webship Teacher URL: http://www.sdu.umd.edu EJPress.com Database/PERL Programmer & System Admin URL : http://www.ejournalpress.com Resume : http://p6m7g8.com/Work/index.html On Sun, 3 Mar 2002, M. Warner Losh wrote: > In message: <20020303023045.E93659-100000@sduwebship.student.umd.edu> > "Philip M. Gollucci" writes: > : cc -O2 -Wall -pipe -pedantic -ansi -march=pentiumpro -elf -Wall > : -fkeep-inline-functions -I/usr/src/lib/csu/i386-elf/../common -c > : /usr/src/lib/csu/i386-elf/crt1.c:70: warning: ANSI C forbids braced-groups > : within expressions > : cc: Internal compiler error: program cc1 got fatal signal 11 > > Looks like the C compiler really didn't like the braced-groups within > expressions. > > #define get_rtld_cleanup() \ > ({ fptr __value; \ > __asm__("movl %%edx,%0" : "=rm"(__value)); \ > __value; }) > ... > rtld_cleanup = get_rtld_cleanup(); > yet both of these parts of this file hasn't been changed since 1998! > > appears to be the real reason since this file is compiled -ansi > -pedantic. And it would appear on the surface to still be a problem. > However, it looks like my version isn't compiling it -ansi -pedantic: > > cc -O -pipe -elf -Wall -fkeep-inline-functions > -I/dell/imp/FreeBSD/src/lib/csu/i386-elf/../common -DGCRT -c -o > gcrt1.o /dell/imp/FreeBSD/src/lib/csu/i386-elf/crt1.c > > So something really strange is going on, but I'm not sure what. > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message