From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:57:44 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 EF8B9B4F for ; Sat, 24 Nov 2012 12:57:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9A58FC08 for ; Sat, 24 Nov 2012 12:57: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 95C335C37; Sat, 24 Nov 2012 13:57:43 +0100 (CET) Message-ID: <50B0C44F.4080509@FreeBSD.org> Date: Sat, 24 Nov 2012 13:57:51 +0100 From: Dimitry Andric Organization: The FreeBSD Project 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> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> In-Reply-To: <1353708181062-5763657.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:57:45 -0000 On 2012-11-23 23:03, Beeblebrox wrote: > I went ahead and hacked gnu/lib/Makefile and changed to: > > if ${MK_CXX} != "no" > #SUBDIR+= libstdc++ libsupc++ > .endif Don't do that, it will not work. Parts of the system need GNU libstdc++ and libsupc++. > I then restarted buildworld. Next stop, new error: > > clang -m32 -march=k8 -DCOMPAT_32BIT -isystem > /usr/obj/asp/src/lib32/usr/include/ -L/usr/obj/asp/src/lib32/usr/lib32 > -B/usr/obj/asp/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -DNDEBUG > -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign > -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function > -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-parentheses -c > /asp/src/lib/libncp/ipx.c -o ipx.So > building shared library libncp.so.4 > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared > object. This is still the same problem as before, some of your object files were not created correctly. Most likely, there is something wrong with your make.conf and/or src.conf, please post them.