Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2016 00:12:08 +0300
From:      Aleksander Alekseev <mail@eax.me>
To:        Warren Block <wblock@wonkity.com>
Cc:        Michael Gmelin <freebsd@grem.de>, Dimitry Andric <dim@FreeBSD.org>, Gary Jennejohn <gljennjohn@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Need some help with ports and rebuilding the world
Message-ID:  <20160330001208.0634c25c@fujitsu>
In-Reply-To: <alpine.BSF.2.20.1603291315070.35810@wonkity.com>
References:  <20160327234202.178df9a4@fujitsu> <20160327225612.713eaa2a@bsd64.grem.de> <20160328084735.29eff991@fujitsu> <20160328094742.68bc9046@ernst.home> <20160328170031.023f0adb@fujitsu> <E42D3AE7-A444-4514-BF6A-D286A274B147@FreeBSD.org> <20160329123821.120d8de8@fujitsu> <72586F27-113D-4225-B7AB-A890C9522CD5@FreeBSD.org> <20160329165318.2af443c4@fujitsu> <20160329160201.292052a1@bsd64.grem.de> <20160329172835.6526c345@fujitsu> <alpine.BSF.2.20.1603291315070.35810@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160330001208.0634c25c>