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


_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to