From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 22:03:01 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 DB1D0DB1 for ; Fri, 23 Nov 2012 22:03:01 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id B4F7E8FC0C for ; Fri, 23 Nov 2012 22:03:01 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tc1Kv-0002yv-2G for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 14:03:01 -0800 Date: Fri, 23 Nov 2012 14:03:01 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353708181062-5763657.post@n5.nabble.com> In-Reply-To: <1353689801972-5763579.post@n5.nabble.com> 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> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Fri, 23 Nov 2012 22:03:01 -0000 I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != "no" #SUBDIR+= libstdc++ libsupc++ .endif 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. clang: error: linker command failed with exit code 1 (use -v to see invocation) ls /usr/obj/asp/src/lib/libncp shows libncp.so.4 and symlink libncp.so -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763657.html Sent from the freebsd-stable mailing list archive at Nabble.com.