From owner-freebsd-current@FreeBSD.ORG Wed Feb 23 13:22:38 2011 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 48070106566B; Wed, 23 Feb 2011 13:22:38 +0000 (UTC) (envelope-from datastream.freecity@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id E2BD98FC22; Wed, 23 Feb 2011 13:22:35 +0000 (UTC) Received: by gyh4 with SMTP id 4so2031626gyh.13 for ; Wed, 23 Feb 2011 05:22:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FNhiA9kXi3G7N2oz4nIqBMwINSDCnk2nTV80Fl4sGog=; b=WeFHGxFtKkETQ4J9TGhDjWdf0vLgmFXKz4fPtAjRoXctfzUGmAI3Hnf45x8RhuWBPy Zhh0akNvLXJIU04IIYfX2jhR6LZEze1PeHRurxO6UA5/AIllnQInleYEqPf0xO+78clr 7+B0CFSY0Xf70BdGeNqSrJIGPLxrFzv17Tp6c= 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=xK7gCg2hlyqsDdRcMS6W+M902SCmpwyQyf2pQhgABNquOJ5q+qed2Tj+/UgcwoO6i9 MqIQQu9v5W+jidpu81cc1r++UytcKPA2Jzxx26CDDnKp/1FiBf2AZpp1v3i+ceVCLC5V robMVvq9bTpWGI/tRfdjQ3YG107+FDy1efOd0= MIME-Version: 1.0 Received: by 10.150.192.8 with SMTP id p8mr4991816ybf.405.1298467354627; Wed, 23 Feb 2011 05:22:34 -0800 (PST) Received: by 10.151.47.7 with HTTP; Wed, 23 Feb 2011 05:22:34 -0800 (PST) In-Reply-To: <4D63D28B.4080900@FreeBSD.org> References: <4D627FBE.1070700@FreeBSD.org> <4D63D28B.4080900@FreeBSD.org> Date: Wed, 23 Feb 2011 21:22:34 +0800 Message-ID: From: "datastream datastream.freecity" To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Olivier Smedts , freebsd-current@freebsd.org Subject: Re: Can't buildworld since Clang update 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: Wed, 23 Feb 2011 13:22:38 -0000 I deleted all files in /usr/src and /usr/obj. it changes nothing, i still get same error. In /etc/make.conf: .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif # Don't die on warnings NO_WERROR= WERROR= STRIP= CFLAGS+=-fno-omit-frame-pointer On Tue, Feb 22, 2011 at 11:13 PM, Dimitry Andric wrote: > On 2011-02-22 15:37, datastream datastream.freecity wrote: > >> I add '-no-integrated-as' in /etc/make.conf,but I still failed. >> > > Don't do that. The few instances where the integrated assembler needs > to be disabled are already covered. > > > ... > > /usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to >> `_rtld_get_stack_prot' >> > > Something seems to be seriously wrong in your tree. Can you try to blow > away /usr/obj entirely, remove the -no-integrated-as flag from > make.conf, and try again? >