From owner-freebsd-current@FreeBSD.ORG Sat May 22 02:34:24 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1208A106564A; Sat, 22 May 2010 02:34:24 +0000 (UTC) (envelope-from ambrosehua@gmail.com) Received: from mail-qy0-f188.google.com (mail-qy0-f188.google.com [209.85.221.188]) by mx1.freebsd.org (Postfix) with ESMTP id AA9D48FC0C; Sat, 22 May 2010 02:34:23 +0000 (UTC) Received: by qyk26 with SMTP id 26so2948457qyk.28 for ; Fri, 21 May 2010 19:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vKGunNjsq89GktWVTNpUxyhoHDRFpp0LaOYpQM5uQx0=; b=K5NW+NRCaY5mNh4HqY3eWQ/goMiPGUdo6U71hYAhb7pqPXyLqoedG/aMdE/yGZNlRR E0sx6zX9INEP2Xmo03NxAEqu5RY1YUh2TZk+2DuhjyhxzwCac5FVqjAeiYOu5wJsfqC4 geqcDPHI797jXW94HfZ08tXvZAZvXF5fArgQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WwOj8ra5BXpumz3dRIojxrTqlzNjJqJ9sNVd573OZ4Y69l+0Y81a8j5s3bv2q3DC1e 6O/QJ4D4gvoSGN49c3Kd7DvSL9wjrzGaxAeryxLGt15NeYsq6gEX1TUGXj+DFPMNwSw7 SPovBUV24WzINKK+yF2PFZCL/qXk2GA7rgFew= MIME-Version: 1.0 Received: by 10.229.250.201 with SMTP id mp9mr615274qcb.67.1274495662823; Fri, 21 May 2010 19:34:22 -0700 (PDT) Received: by 10.229.98.205 with HTTP; Fri, 21 May 2010 19:34:22 -0700 (PDT) In-Reply-To: <20100520195232.GA70802@freebsd.org> References: <20100520072120.GA36958@freebsd.org> <20100520195232.GA70802@freebsd.org> Date: Fri, 21 May 2010 19:34:22 -0700 Message-ID: From: ambrosehuang ambrose To: Roman Divacky X-Mailman-Approved-At: Sat, 22 May 2010 05:50:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: clangBSD build error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 02:34:24 -0000 2010/5/21 Roman Divacky > On Thu, May 20, 2010 at 10:10:23PM +0800, ambrosehuang ambrose wrote: > > I found my clang version is : > > [root@lateaxfreebsd src]# clang --version > > clang version 2.0 (trunk) > > Target: *x86_64-portbld-freebsd8.0* > > Thread model: posix > > svn revision is r10379_1 in PORTS > > > > I think maybe you can use the llvm-devel in PORTS to reproduce this > > > > I try to update clang to the latest version with > > make BOOTSTRAP=1 _CKSUMFILES="", but it seems the patch file confilcts > with > > latest code? > > > > Could you tell me how to bypass the patching step ? > > there's no point in upgrading to newer clang. there were no change > in this.. are you sure you are compiling with llvm-devel the malloc.c > in clangbsd? not some older/newer version? > I'm sure the llvm-devel is version r10379 in freebsd-stable branch. I also found that the both clang from llvm-devel and clang built from clangBSD building /usr/src.svn/src/lib/libc/stdlib/malloc.c(/usr/src.svn/src is the clangBSD directory in my box) failed with same error. maybe the version of clang in llvm-devel is too low, but the clang in clangBSD itself should be OK