From nobody@FreeBSD.org  Fri Nov 23 18:12:21 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2DD8BC8F
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <zaphod@berentweb.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: buildworld breaks with clang
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173869
>Category:       amd64
>Synopsis:       buildworld breaks with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 18:20:00 UTC 2012
>Closed-Date:    Sun Apr 13 22:55:45 UTC 2014
>Last-Modified:  Sun Apr 13 22:55:45 UTC 2014
>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:

From: hiren panchasara <hiren.panchasara@gmail.com>
To: bug-followup@FreeBSD.org, zaphod@berentweb.com
Cc:  
Subject: Re: amd64/173869: buildworld breaks with clang
Date: Thu, 7 Mar 2013 23:14:15 -0800

 Should this be closed now?
 
 Thanks,
 Hiren

From: Beeblebrox <zaphod@berentweb.com>
To: hiren panchasara <hiren.panchasara@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: amd64/173869: buildworld breaks with clang
Date: Fri, 08 Mar 2013 12:35:16 +0200

 Hello, I've switched to 10-current and this problem does not occur on
 10. But since the switch I cannot comment on the situation with
 9-stable, for which I had filed the PR.
 
 Regards...
 
 hiren panchasara wrote:
 > Should this be closed now?
 > 
 > Thanks,
 > Hiren
 > 
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Apr 13 22:55:21 UTC 2014 
State-Changed-Why:  
probably OBE by now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173869 
>Unformatted:
