From owner-freebsd-stable Fri Aug 16 11:20:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA9C37B400 for ; Fri, 16 Aug 2002 11:20:50 -0700 (PDT) Received: from nat72962.owentools.com (nat72962.owentools.com [206.50.138.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5FEB43E72 for ; Fri, 16 Aug 2002 11:20:49 -0700 (PDT) (envelope-from craig@meoqu.gank.org) Received: by owen1492.it.oot (Postfix, from userid 1001) id 46F63AB44; Fri, 16 Aug 2002 13:20:13 -0500 (CDT) Subject: Odd buildworld problem From: Craig Boston To: freebsd-stable@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 16 Aug 2002 13:20:13 -0500 Message-Id: <1029522013.64529.20.camel@owen1492.it.oot> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm seeing a strange problem during buildworld on one of my boxes. It dies at this point every time: [snip] cc -fpic -DPIC -O -pipe -m486 -I. -I/usr/compile/src/lib/libncurses -I/usr/compile/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/compile/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c /usr/compile/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/access.c -o access.So cc -fpic -DPIC -O -pipe -m486 -I. -I/usr/compile/src/lib/libncurses -I/usr/compile/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/compile/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c /usr/compile/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/add_tries.c -o add_tries.So cc -fpic -DPIC -O -pipe -m486 -I. -I/usr/compile/src/lib/libncurses -I/usr/compile/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/compile/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c /usr/compile/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c -o alloc_entry.So cc: Internal compiler error: program cc1 got fatal signal 11 *** Error code 1 Stop in /usr/compile/src/lib/libncurses. This happens consistently in the same spot every time. I seem to remember 4.5 building fine, so I think this is relatively new. For reference, I'm tracking RELENG_4_6 on this box. None of the other machines I am tracking that branch on exhibit this problem. I would suspect bad hardware as it's an El Cheapo Cyrix chip (hence the 486 cputype :), except that it's *always* alloc_entry.c. Indeed, if I cd to /usr/obj/usr/compile/src/lib/libncurses and run that command, it gets a signal 11 every time. I've managed to work around the problem by compiling this file manually without the "-fpic" and building again with -DNOCLEAN. I haven't noticed any problems with the resulting libncurses. The rest of the buildworld goes fine once it gets past this point. Anyway, just wondering if anyone had any wild theories about this one. It's not too critical since it's only on this one box and I have a work-around. It's puzzling though, because IIRC isn't -fpic essentially a no-op on i386? I'm not sure how I would go about building a gcc with debug symbols to try and track down where it dies. Thanks, Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message