Re: Problem building stable-9 in current host

From: Davide Italiano <davide_at_freebsd.org>
Date: Fri, 4 Oct 2013 18:27:36 +0200
On Tue, Oct 1, 2013 at 9:05 AM, Alexander Yerenkow <yerenkow_at_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_at_ 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
Received on Fri Oct 04 2013 - 14:27:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC