From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 22:24:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AB75F31 for ; Fri, 13 Jun 2014 22:24:43 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3AD52C7D for ; Fri, 13 Jun 2014 22:24:42 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id hz20so1807158lab.14 for ; Fri, 13 Jun 2014 15:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nEFvMxvkFEvtu3EdVwC3Sk56O7hvfcEk30N0VQypaPc=; b=Efr9F6GX8LIK1PSYBh7MP93NQipi78ZfLQPdGW5o63Fn+fT9YS1x8LkjbLv/ppwOHW BRb5vZbCFNH9vS+qWxj9cZVjbja+44z0hK3ozqzp9BTyVK8W5ImRFqFuEl36u0KRNfrQ hfJqlgo2MOjOaxVha/9hQ0ITzHoAVe+cAo8EstzubR6kSS6mObv4vguzI+ajFljA70hU kzFZpXAqlR+3s91VI47JKQp3Ybs2LMIoKfl9+txaFRs5phfmslzOsYuX+DAZyIIUdnts mIa6/mpAWS/vUCNrXPgWXClxTnH5d5hGTijrZVck/R1+jopFoZinMo3cPcCDs0g39DFa RRBg== X-Received: by 10.152.36.134 with SMTP id q6mr3464833laj.29.1402698280820; Fri, 13 Jun 2014 15:24:40 -0700 (PDT) Received: from lazlar.no-ip.biz (109.58.145.172.bredband.tre.se. [109.58.145.172]) by mx.google.com with ESMTPSA id bq6sm2470693lbb.34.2014.06.13.15.24.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Jun 2014 15:24:40 -0700 (PDT) Message-ID: <539B7A27.9010106@gmail.com> Date: Sat, 14 Jun 2014 00:24:39 +0200 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Yuri Subject: Re: Build of FreeBSD-10 fails on 9 with unknown target CPU References: <539AC3A7.4040309@rawbw.com> <539B2041.7000202@gmail.com> <539B4064.1010108@rawbw.com> <539B4B04.904@gmail.com> <539B6570.5080209@rawbw.com> In-Reply-To: <539B6570.5080209@rawbw.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 22:24:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-06-13 22:56, Yuri wrote: > On 06/13/2014 12:03, Rolf Nielsen wrote: >> As I stated in my previous reply, to Warren Block's question, I >> don't remember where I found it. However, on my 10.0-STABLE >> r265900 I found these lines in /usr/share/examples/etc/make.conf > > Ok, 10 source has corei7 in share/examples/etc/make.conf, so should > be no problem. > > My problem is probably because buildworld uses old /usr/share/mk/ > make files (from FreeBSD 9 in my case). I usually do > buildworld,installworld,buildkernel,installkernel,mergemaster > stages to update the system. However, these steps use the old > /usr/share/mk/ files, and this causes this error "unknown target > CPU 'amd64'" in buildworld. > > Is there any recommended way to solve this dependency on the old > makefiles during build of the newer version on the older system? > > Yuri _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Yes, I do understand. However, your problem still puzzles me, as the setting worked for me in 9-STABLE; the build system just replaced corei7 with something that gcc was able to use, and so it should on your system as well. You never answered my questions though: Do you set some variables on the commandline as well, that might confuse the compiler? And by llvm build, do you mean when building llvm or do you mean that you use llvm/clang to perform the build? Rolf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTm3omAAoJEB1OKfQ0M8TgmlgP/jsXaXSZFj4WCJ/H6Xgoo1RY dTjn9lXWlF957MiEiTGvJYNLpQAlBAOd0mb72iJNNoxB9AIncr9+saWHci8xVcRF M/MBtIOo9EnvNw/YLwGrxDEz96MMB3+K206uugqGXPUtbRJ+f37sGUvNpcYWZuQQ ZKR775D7Xi2HCj4ocKkZe12SbUO1eRbVJh7L3qOHQORQkUzdwlz7LmTU3Yamaa0q hEB2mYmkVZ0b8jekIgBV7C1qoEiEYl2gR5B9RKlVRKgFGTSTL0Bntfk/O/j5/o+X R1qMbSZ7BDI81wf3KETciHND2WGxrkBW4o7SWDkKhDhPFg/ee4/ZyqJfl+YmWprp uBpIf7QBAdeAdxADJ5fuJPZNfjj7yYm+LuMn3Od+ccefYRtEkcWGTOX7wqm77y7n omR8Mb7rxiZSQ4iqZgjUaYwpCiqV52y6RL9DoRkUvb3mKSGCltYsxZHHjEjC6yGg Xv2l7ktj1mDRj54HlFcDLCLZocTVsUKOIbpl0nvKEbjOcMK36smle+XgyFUOYFex cPK1u9SLNYJEATHuYOY7MwJxSorHpZOoNxZ39yY46mjkhkXnInALqJrfkEHmKzyR WY2AFuK2ukWjcMKQGFCWgSktGq7D7pGIs7V+hFRCnBqogh2Yg5d2T/x0YB1pl5HP of7aUvqMpy3vkZdOPtrX =NXaA -----END PGP SIGNATURE-----