Re: Problem building stable-9 in current host

From: Alexander Yerenkow <yerenkow_at_gmail.com>
Date: Sat, 5 Oct 2013 14:28:42 +0300
Thanks for hint, I've rebuilt my host machine with given parameters,
command was:

make -DWITH_GCC=yes -DWITH_GNUCXX=yes buildworld buildkernel
and
make -DWITH_GCC=yes -DWITH_GNUCXX=yes -DNO_GAMES=YES -DNO_MAN=YES
-DNO_INFO=YES -DNO_BLUETOOTH=YES -DNO_HTML=YES -DNO_SHAREDOCS=YES
-DNO_EXAMPLES=YES installworld distribution installkernel DESTDIR=$mnt

But I got same error while trying to build 9-Stable from sources.


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/tool
s/clang/include
-I/zbuilder/vm4all/src-stable-9-clone/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen
-I. -I/zbuilder/vm4all/src-stable-9-clone/usr.bin/clang/tblgen/../../../cont
rib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD
-D__STDC_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 /zbuilder/vm4
all/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

Stop in /zbuilder/vm4all/src-stable-9-clone.
*** [_bootstrap-tools] Error code 1


And my current host Pc:

10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1 r256052: Sat Oct 5 03:20:01 EEST 2013
yama_at_r247396:/usr/obj/zbuilder/vm4all/src-head-clone/sys/GENERIC amd64

Do I really need other 9 to build 9-stable ?


2013/10/4 Davide Italiano <davide_at_freebsd.org>

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



-- 
Regards,
Alexander Yerenkow
Received on Sat Oct 05 2013 - 09:28:44 UTC

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