Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 18:27:36 +0200
From:      Davide Italiano <davide@freebsd.org>
To:        Alexander Yerenkow <yerenkow@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Problem building stable-9 in current host
Message-ID:  <CACYV=-HaWb8ckEOmhuCghf9sqAskuFmksWBo%2BqUs2UEWrDnK%2Bg@mail.gmail.com>
In-Reply-To: <CAPJF9wnrh7BqorGQBRmdAt12wcDK%2Bs8NCEz151C9z0KaVeHN-A@mail.gmail.com>
References:  <CAPJF9wnrh7BqorGQBRmdAt12wcDK%2Bs8NCEz151C9z0KaVeHN-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 1, 2013 at 9:05 AM, Alexander Yerenkow <yerenkow@gmail.com> wrote:
> Hello all.
> Can someone help me? :)

[trim]

>
> ===> usr.bin/clang/tblgen (obj,depend,all,install)
> ...
> c++ -O2 -pipe
> -I/zbuilder/vm4all/src-stable-9-clone/usr.bin/clang/tblgen/../../../contrib/llvm/include
> -I/zbuilder/vm4all/src-stable-9-clone/usr.bin/
> clang/tblgen/../../../contrib/llvm/tools/clang/include
> -I/zbuilder/vm4all/src-stable-9-clone/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGe
> n -I.
> -I/zbuilder/vm4all/src-stable-9-clone/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include
> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__S
> TDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing
> -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd9.2\"
> -DLLVM_HOST_TRIPLE=\"x86_64
> -unknown-freebsd9.2\" -DDEFAULT_SYSROOT=\"\"
> -I/usr/obj/zbuilder/vm4all/src-stable-9-clone/tmp/legacy/usr/include
> -fno-exceptions -fno-rtti -c /zbuil
> der/vm4all/src-stable-9-clone/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen/X86RecognizableInstr.cpp
> make: don't know how to make /usr/lib/libstdc++.a. Stop
> *** [bootstrap-tools] Error code 2
>

It's one of the gifts of the recent "no gcc and libstdc++ built by default".
I think the easiest way to fix that would be rebuilding world on your
10 machine with WITH_GCC=yes and WITH_GNUCXX=yes in src.conf(5)
The long term solution, as proposed by dim@ is that of fixing
bsd.prog.mk in 9 and 8.
One of the major drawbacks of this, is that, even though it will be
done immediately, won't hit 9.2.

Thanks,

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-HaWb8ckEOmhuCghf9sqAskuFmksWBo%2BqUs2UEWrDnK%2Bg>