From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:55:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A88D779 for ; Sat, 24 Nov 2012 12:55:45 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id B837D8FC08 for ; Sat, 24 Nov 2012 12:55:44 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id BDD5E5C37; Sat, 24 Nov 2012 13:55:42 +0100 (CET) Message-ID: <50B0C3D6.5070308@andric.com> Date: Sat, 24 Nov 2012 13:55:50 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> In-Reply-To: <1353680064788-5763506.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:55:45 -0000 On 2012-11-23 15:14, Beeblebrox wrote: > Thanks for the suggestion. Build progressed a little further then had other > problem: > > ===> gnu/lib/libstdc++ (all) > building shared library libstdc++.so.6 > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared > object. I am not sure what causes this. Maybe strange CFLAGS in make.conf? Or is this still with ccache? > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [libstdc++.so.6] Error code 1 > Stop in /asp/src/gnu/lib/libstdc++. > *** [all] Error code 1 > Stop in /asp/src/gnu/lib. > *** [gnu/lib__L] Error code 1 > > Why is it building gcc4.2 ?? This is not gcc, it is libstdc++. Currently, there is no way to disable it, as many applications will still use it. After libc++ has matured enough, it can probably be moved to a compat port, but that will certainly not happen in the 9.x series. :) > Should I not be using WITH_CLANG_IS_CC= yes ? > Bummer... This setting should work just fine.