From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 23 18:20:00 2012 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDEBFF30 for ; Fri, 23 Nov 2012 18:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A88228FC0C for ; Fri, 23 Nov 2012 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qANIK0iS078182 for ; Fri, 23 Nov 2012 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qANIK08F078181; Fri, 23 Nov 2012 18:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 23 Nov 2012 18:20:00 GMT Resent-Message-Id: <201211231820.qANIK08F078181@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Z Beeblebrox Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DD8BC8F for ; Fri, 23 Nov 2012 18:12:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 170898FC13 for ; Fri, 23 Nov 2012 18:12:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qANICKva020396 for ; Fri, 23 Nov 2012 18:12:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qANICKZi020395; Fri, 23 Nov 2012 18:12:20 GMT (envelope-from nobody) Message-Id: <201211231812.qANICKZi020395@red.freebsd.org> Date: Fri, 23 Nov 2012 18:12:20 GMT From: Z Beeblebrox To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/173869: buildworld breaks with clang X-Mailman-Approved-At: Fri, 23 Nov 2012 20:09:56 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 18:20:01 -0000 >Number: 173869 >Category: amd64 >Synopsis: buildworld breaks with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 23 18:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Z Beeblebrox >Release: STABLE >Organization: >Environment: FreeBSD 9.1-PRERELEASE #2 r242867 amd64 >Description: In /etc/src.conf I have set: WITHOUT_GCC= yes WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes Normally I use ccache and -J but they were disabled prior to a clean buildworld to test the problem. Under these conditions, buildworld solidly breaks with: ===> 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. clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [libstdc++.so.6] Error code 1 Stop in /usr/src/gnu/lib/libstdc++. Detailed discussion here: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-td5763472.html >How-To-Repeat: as above >Fix: N/A >Release-Note: >Audit-Trail: >Unformatted: