From owner-freebsd-stable@FreeBSD.ORG Fri Jan 27 23:34:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 2C40E16A440; Fri, 27 Jan 2006 23:34:16 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A702843D46; Fri, 27 Jan 2006 23:34:15 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k0RNYD32048765; Fri, 27 Jan 2006 16:34:14 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43DAADF5.7060601@samsco.org> Date: Fri, 27 Jan 2006 16:34:13 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kostik Belousov References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: trhodes@freebsd.org, freebsd-stable@freebsd.org Subject: Re: [danger] broken libc.so on stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 23:34:16 -0000 Kostik Belousov wrote: > Revision 1.48.8.1 of lib/libc/stdlib/Makefile.inc removed calloc.c from the list > of the source files. As result, freshly built libc does not contain > calloc symbol, > that completely broke my stable box. The only solution for me was booting > from 6.0-RELEASE disc1 and copying libc.so.6 into /lib. After that, manually > adding calloc.c to the MISRCS in Makefile.inc and installing libc put > the system in order. > > I suppose that this is simple MFC error. Please, correct it before big > havoc hit the > stable boxes ! > > Best regards, > Kostik Belousov Yes, there was a mistake for about 16 hours in the tree. However, how did you trash your system? Did you try building libc by itself and installing it directly? That's dangerous no matter what. Using the buildworld/installworld targets will catch problems like these before they touch your running system. Scott