From owner-freebsd-current@FreeBSD.ORG Sat Oct 5 11:28:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 374805DC; Sat, 5 Oct 2013 11:28:44 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D93082AFD; Sat, 5 Oct 2013 11:28:43 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id jx11so2933142veb.7 for ; Sat, 05 Oct 2013 04:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XaE9zSHDYZrPg9I5dSFB7ARaQQMYVlEmSJsp+A3SPT8=; b=LnAwsEe8Lrx4gck8RYRHPmdwOUiHEGwx55eMxz5wgZ18FGcuuRNjuJxkmRaSW6Wsae hkeVQjcIgjjTVDGqQG9KwzcAP1pHRv32g6WSZIWNnY2hP6NmAyaCUm7sV9lU4pM/K9to LmtH5eDTt2H/L9TqcPc7jSmBF6r7L2JQK68J8s9CCnQrQ/gAlilIE+8cIpBrf5Ex/8wJ +hDmETzDZ3dlEHtBD1N1j6SJTwuf82fUszl85j4Oa8vnzSrM0SONJTPGT8qQEqwRVHz3 ytJbFPsxzmLUVyaBiEbt4DZPLUnsa0AZi9xdbbUO4eWHmBT5PAd/RUcGbx9SacebVtDt 3+0g== MIME-Version: 1.0 X-Received: by 10.52.52.137 with SMTP id t9mr239316vdo.22.1380972522729; Sat, 05 Oct 2013 04:28:42 -0700 (PDT) Received: by 10.52.98.231 with HTTP; Sat, 5 Oct 2013 04:28:42 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Oct 2013 14:28:42 +0300 Message-ID: Subject: Re: Problem building stable-9 in current host From: Alexander Yerenkow To: Davide Italiano Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Oct 2013 11:28:44 -0000 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@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 > On Tue, Oct 1, 2013 at 9:05 AM, Alexander Yerenkow > 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 > -- Regards, Alexander Yerenkow