Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2011 23:44:43 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r219139 - head/lib/libc/stdlib
Message-ID:  <4D6D76DB.7030307@FreeBSD.org>
In-Reply-To: <201103011401.36371.jkim@FreeBSD.org>
References:  <201103011715.p21HFiDB043251@svn.freebsd.org> <201103011401.36371.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-03-01 20:01, Jung-uk Kim wrote:
...
>>    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
...
> 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

Yes, I already tried that fix, but it didn't work for this particular
issue.  In the PR you can see I tested with clang r126742, which already
contained the fix, but it still produces an incorrect result.

Note that usually this kind of problem is fixed pretty fast, the more so
since llvm/clang is going to branch for 2.9 soon (March 6th). :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D6D76DB.7030307>