Bug 173869

Summary: buildworld breaks with clang
Product: Base System Reporter: Beeblebrox <zaphod>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Beeblebrox 2012-11-23 18:20:00 UTC
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

Fix: 

N/A
How-To-Repeat: as above
Comment 1 Hiren Panchasara 2013-03-08 07:14:15 UTC
Should this be closed now?

Thanks,
Hiren
Comment 2 Beeblebrox 2013-03-08 10:35:16 UTC
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
>
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2014-04-13 23:55:21 UTC
State Changed
From-To: open->closed

probably OBE by now.