From owner-freebsd-ports@freebsd.org Wed Feb 10 13:34:13 2016 Return-Path: Delivered-To: freebsd-ports@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 13A32AA3B74 for ; Wed, 10 Feb 2016 13:34:13 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB4B76E4 for ; Wed, 10 Feb 2016 13:34:11 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3q0hrV3mJdzZqn; Wed, 10 Feb 2016 14:34:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1455111238; x=1456925639; bh=RSwa8bVUiPTKxd6JUsBKPUkIhZnYJQDQVhF 9B9GenVo=; b=Pgi9+n7CmGUrLlXiSCCqTCifp2KwqESzfvWRTD95DmO0uztrky0 PGffsc9zAeYDju/KQBicT8mWS0FbDb4LNBVNI6+k7MIpSEJd1r0pbtezYY/ftd8t AAvrddPHcnOGJF7QY+ja2zWnbpbED9fsVjQvgPdkGQSa85HG7D9syZ5o= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id xPqvBPnbg6XW; Wed, 10 Feb 2016 14:33:58 +0100 (CET) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Wed, 10 Feb 2016 14:33:58 +0100 (CET) Subject: Re: Removing documentation To: John Marino , Warren Block References: <56B9D609.6030407@marino.st> <56B9EDC7.1010403@ohlste.in> <56BA2106.3050901@marino.st> <56BA3440.10806@marino.st> <56BA4BC1.5020305@marino.st> <56BB1D3F.3010809@marino.st> Cc: FreeBSD Mailing List From: Guido Falsi Message-ID: <56BB3C40.2050303@madpilot.net> Date: Wed, 10 Feb 2016 14:33:52 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56BB1D3F.3010809@marino.st> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 13:34:13 -0000 On 02/10/16 12:21, John Marino wrote: > 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. I just tried to compile lang/gcc in poudriere with CPUTYPE set and it failed too in configure phase. It appears that any setting "higher" than nocona makes the gcc ports fail, not only gcc6. -- Guido Falsi