From owner-svn-src-head@FreeBSD.ORG Tue Mar 1 19:01:47 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id C19C11065670; Tue, 1 Mar 2011 19:01:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Tue, 1 Mar 2011 14:01:33 -0500 User-Agent: KMail/1.6.2 References: <201103011715.p21HFiDB043251@svn.freebsd.org> In-Reply-To: <201103011715.p21HFiDB043251@svn.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103011401.36371.jkim@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Dimitry Andric Subject: Re: svn commit: r219139 - head/lib/libc/stdlib X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 19:01:47 -0000 On Tuesday 01 March 2011 12:15 pm, Dimitry Andric wrote: > Author: dim > Date: Tue Mar 1 17:15:44 2011 > New Revision: 219139 > URL: http://svn.freebsd.org/changeset/base/219139 > > Log: > Put in a temporary workaround for ctfmerge hanging on processing > kernel.debug (or possibly other files), when WITH_CTF is active. > > This is caused by a bug in clang's integrated assembler, causing > malloc to sometimes hang during initialization in statically linked > executables that use threading, such as the copy of ctfmerge that > is built during the bootstrap stage of buildworld. The bug has > been submitted upstream: > > http://llvm.org/bugs/show_bug.cgi?id=9352 > > Note that you might have to rebuild and install libc first, to > get your kernel build to finish, because the ctfmerge binary built > during bootstrap is linked with your base system's copy of libc.a, > which might already contain a bad copy of malloc.o. Is this somehow related? http://llvm.org/viewvc/llvm-project?view=rev&revision=126720 Please see #6 in the following thread: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013638.html Jung-uk Kim