From owner-freebsd-current@FreeBSD.ORG Sat May 22 10:28:56 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 245E0106566B for ; Sat, 22 May 2010 10:28:56 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id D12198FC0C for ; Sat, 22 May 2010 10:28:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 066D69CB08B; Sat, 22 May 2010 12:25:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6PlAMorTfwQ8; Sat, 22 May 2010 12:25:38 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CD2CA9CB1AA; Sat, 22 May 2010 12:25:38 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4MAPcja090442; Sat, 22 May 2010 12:25:38 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 22 May 2010 12:25:38 +0200 From: Roman Divacky To: ambrosehuang ambrose Message-ID: <20100522102538.GA90330@freebsd.org> References: <20100520072120.GA36958@freebsd.org> <20100520195232.GA70802@freebsd.org> <20100522082657.GA62078@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100522082657.GA62078@freebsd.org> User-Agent: Mutt/1.4.2.3i 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 10:28:56 -0000 On Sat, May 22, 2010 at 10:26:57AM +0200, Roman Divacky wrote: > On Fri, May 21, 2010 at 07:34:22PM -0700, ambrosehuang ambrose wrote: > > 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 > > pes ~/clangbsd$ md5 lib/libc/stdlib/malloc.c > MD5 (lib/libc/stdlib/malloc.c) = 312d85c5cf51aa3fa1ef46c0832f0056 > > can you compare to your malloc.c ? and if it differs can you send me > your malloc.c ? I just tried with llvm-devel port and malloc.c from clangbsd and it works just ok.