From owner-freebsd-current@FreeBSD.ORG Fri Oct 4 16:27:38 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 0C7F416A for ; Fri, 4 Oct 2013 16:27:38 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [IPv6:2607:f8b0:400c:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C0C0D2779 for ; Fri, 4 Oct 2013 16:27:37 +0000 (UTC) Received: by mail-ve0-f169.google.com with SMTP id db12so2602787veb.14 for ; Fri, 04 Oct 2013 09:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GuM8XuhFJdLIfr0wfGQmDgmd6Hmr0aRJZN6Qx5Dru/E=; b=s0sP/xO8Upy9o8/tMxx19ELdPuEFvc/n3vsFmzIoK00IgbIMYFiLYuwxLRfeCYDvxS 07uBy7adMftv2Dpl2VVz1lvtoYgheqAJX1Sv7KVadsgWJYd2d62ZmADdJPfwXHEBmSTr omyOGVWpHl65V1DaKeoQxgFHAwYdsKaqaNcOtHvXvVFHjSBz8BmSM+zUP13PxiQ3cOk1 juyMhHiRJoORhQ6c1VRqBmDT14eIpavCz9+w4JrmeX8zcRm6TnAkVJxhuRjqr6TTTXVa cQ0Lhg0L5NlUIgauqFEmZ1h2dhu5kfwxVq9Y8N4TaEdlUcgRjmesgAKN2Gx9tHkazsxJ 1UjA== MIME-Version: 1.0 X-Received: by 10.221.24.70 with SMTP id rd6mr548897vcb.42.1380904056868; Fri, 04 Oct 2013 09:27:36 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.220.94.71 with HTTP; Fri, 4 Oct 2013 09:27:36 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Oct 2013 18:27:36 +0200 X-Google-Sender-Auth: bwkG-pDX9AmlebYhiQP2nr89ca8 Message-ID: Subject: Re: Problem building stable-9 in current host From: Davide Italiano To: Alexander Yerenkow Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 04 Oct 2013 16:27:38 -0000 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