Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 18:12:20 GMT
From:      Z Beeblebrox <zaphod@berentweb.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/173869: buildworld breaks with clang
Message-ID:  <201211231812.qANICKZi020395@red.freebsd.org>
Resent-Message-ID: <201211231820.qANIK08F078181@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211231812.qANICKZi020395>