Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 13:55:50 +0100
From:      Dimitry Andric <dimitry@andric.com>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: buildworld with clang breaks because no cc
Message-ID:  <50B0C3D6.5070308@andric.com>
In-Reply-To: <1353680064788-5763506.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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-11-23 15:14, Beeblebrox wrote:
> Thanks for the suggestion. Build progressed a little further then had other
> problem:
>
> ===> 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.

I am not sure what causes this.  Maybe strange CFLAGS in make.conf?  Or
is this still with ccache?


> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> *** [libstdc++.so.6] Error code 1
> Stop in /asp/src/gnu/lib/libstdc++.
> *** [all] Error code 1
> Stop in /asp/src/gnu/lib.
> *** [gnu/lib__L] Error code 1
>
> Why is it building gcc4.2 ??

This is not gcc, it is libstdc++.  Currently, there is no way to disable
it, as many applications will still use it.  After libc++ has matured
enough, it can probably be moved to a compat port, but that will
certainly not happen in the 9.x series. :)


> Should I not be using WITH_CLANG_IS_CC= yes ?
> Bummer...

This setting should work just fine.



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