From owner-freebsd-current Sun Mar 3 13:31:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 99D4637B404; Sun, 3 Mar 2002 13:31:22 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g23LVLi66701; Sun, 3 Mar 2002 14:31:21 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g23LVKL64461; Sun, 3 Mar 2002 14:31:20 -0700 (MST) (envelope-from imp@village.org) Date: Sun, 03 Mar 2002 14:30:27 -0700 (MST) Message-Id: <20020303.143027.105075680.imp@village.org> To: philip@sduwebship.student.umd.edu Cc: freebsd-questions@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: 5.0-CURRENT makebuild world fails From: "M. Warner Losh" In-Reply-To: <20020303023045.E93659-100000@sduwebship.student.umd.edu> References: <20020303023045.E93659-100000@sduwebship.student.umd.edu> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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-current" in the body of the message