Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 12:21:35 +0100
From:      John Marino <freebsdml@marino.st>
To:        Warren Block <wblock@wonkity.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Removing documentation
Message-ID:  <56BB1D3F.3010809@marino.st>
In-Reply-To: <56BA4BC1.5020305@marino.st>
References:  <E1aT6jw-000MGn-1T@pandora.amnic.net> <56B9D609.6030407@marino.st> <56B9EDC7.1010403@ohlste.in> <alpine.BSF.2.20.1602090852580.8217@wonkity.com> <56BA2106.3050901@marino.st> <alpine.BSF.2.20.1602091116170.8217@wonkity.com> <56BA3440.10806@marino.st> <alpine.BSF.2.20.1602091320080.8217@wonkity.com> <56BA4BC1.5020305@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/9/2016 9:27 PM, John Marino wrote:
> On 2/9/2016 9:20 PM, Warren Block wrote:
>> On Tue, 9 Feb 2016, John Marino wrote:
>>
>>> On 2/9/2016 7:20 PM, Warren Block wrote:
>>>>> If you have the build log, I'd like to see it.  Dewayne G. got an error
>>>>> after overriding CPUTYPE (do you do that too?) and I'm thinking it's
>>>>> sensitive to CPU and I'd like to know more.
>>>>
>>>> Yes, I use
>>>>
>>>> CPUTYPE?=core-avx2
>>>
>>> What happens when you try to build lang/gcc6-devel ?
>>> Same issue or does it complete?
>>
>> It builds successfully, in about 40 minutes.
> 
> My suspicion is that due to the bootstrap, we'd have two possible options:
> A) turn on the full bootstrap which takes the same amount of time as
> gcc6-devel does (I'm not sure it will work but there's a chance)
> B) I put CPUTYPE=native in the gcc6-aux Makefile
> 
> I am inclined towards B.  It works on DragonFly but I need somebody else
> to test it on i7 on FreeBSD.  I asked Dewayne, but I'd be grateful if
> you could test it as well.

Hi Warren,
Dewayne got back to me, and it appears the only solution is to put
"CPUTYPE=" in the gcc6-aux makefile.  I think the bootstrap compiler
(the ada-capable compiler downloaded to build gcc6-aux) doesn't know
these instructions and that's the issue.  The options are don't override
CPUTYPE or regenerate the bootstrap, but that might have other
consequences or won't fix every combination.

John





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