From owner-freebsd-questions Sun Mar 3 17:16:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 03AA237B404; Sun, 3 Mar 2002 17:16:08 -0800 (PST) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 8CD4FB2ED; Sun, 3 Mar 2002 16:16:00 -0900 (AKST) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: "M. Warner Losh" , philip@sduwebship.student.umd.edu Subject: Re: 5.0-CURRENT makebuild world fails Date: Sun, 3 Mar 2002 16:16:00 -0900 X-Mailer: KMail [version 1.3] Cc: freebsd-questions@FreeBSD.ORG, current@FreeBSD.ORG References: <20020303023045.E93659-100000@sduwebship.student.umd.edu> <20020303.143027.105075680.imp@village.org> In-Reply-To: <20020303.143027.105075680.imp@village.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020304011600.8CD4FB2ED@nebula.anchoragerescue.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 03 March 2002 12:30 pm, 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 > FWIW, I just did a make world & kernel with no probs. Box is a 500MHz Celeron. uname -a: FreeBSD nova.anchoragerescue.org 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Sun Mar 3 13:59:51 AKST 2002 akbeech@nova.anchoragerescue.org:/usr/obj/usr/src/sys/NOVA i386 Beech -- ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message