From owner-freebsd-current@freebsd.org Tue Mar 29 21:12:45 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57FB7AE2ED5 for ; Tue, 29 Mar 2016 21:12:45 +0000 (UTC) (envelope-from mail@eax.me) Received: from relay16.nicmail.ru (relay16.nicmail.ru [195.208.5.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0BB4118F1; Tue, 29 Mar 2016 21:12:44 +0000 (UTC) (envelope-from mail@eax.me) Received: from [109.70.25.226] (port=60575 helo=fujitsu) by f17.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1al0wE-000CQ9-5S; Wed, 30 Mar 2016 00:12:34 +0300 Received: from [188.123.231.37] (account mail@eax.me HELO fujitsu) by proxy04.mail.nic.ru (Exim 5.55) with id 1al0wE-0001WD-L8; Wed, 30 Mar 2016 00:12:34 +0300 Date: Wed, 30 Mar 2016 00:12:08 +0300 From: Aleksander Alekseev To: Warren Block Cc: Michael Gmelin , Dimitry Andric , Gary Jennejohn , freebsd-current@freebsd.org Subject: Re: Need some help with ports and rebuilding the world Message-ID: <20160330001208.0634c25c@fujitsu> In-Reply-To: References: <20160327234202.178df9a4@fujitsu> <20160327225612.713eaa2a@bsd64.grem.de> <20160328084735.29eff991@fujitsu> <20160328094742.68bc9046@ernst.home> <20160328170031.023f0adb@fujitsu> <20160329123821.120d8de8@fujitsu> <72586F27-113D-4225-B7AB-A890C9522CD5@FreeBSD.org> <20160329165318.2af443c4@fujitsu> <20160329160201.292052a1@bsd64.grem.de> <20160329172835.6526c345@fujitsu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 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: Tue, 29 Mar 2016 21:12:45 -0000 > Did you erase /usr/src before checking out -CURRENT? Obsolete files > left in there can easily break things. 'svn stat /usr/src' will show > those files with a '?'. I did. `svn stat /usr/src` outputs nothing and has return code 0. > The first stages of buildworld build a copy of clang under /usr/obj, > and the later stages use that, but specifying a full path the compiler > defeats this mechanism. That explains a lot, thanks. For the record - I successfully upgraded both world and kernel to CURRENT and everything seems to work normal so far. I will keep you in touch. Thanks a lot everyone for your help! >> CPUTYPE?=native >> CFLAGS+=-O2 -pipe >> CXXFLAGS+=-O2 -pipe > These will bite with no provocation, and prevent ports that want to > set their own flags from using them. Frankly as a rule of thumb I prefer binary packages. But how would you recommend to change these lines? You see if I use ports I would like compiled code to be optimized and preferably for local CPU. -- Best regards, Aleksander Alekseev http://eax.me/