From owner-freebsd-current@freebsd.org Mon Aug 22 15:03:48 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 056DEBC2C67 for ; Mon, 22 Aug 2016 15:03:48 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from calvin.arroway.org (calvin.arroway.org [104.200.142.149]) by mx1.freebsd.org (Postfix) with ESMTP id E29451773 for ; Mon, 22 Aug 2016 15:03:47 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from cabo.dyn.arroway.org (unknown [179.211.188.112]) by calvin.arroway.org (Postfix) with ESMTPA id 3AC12301B6 for ; Mon, 22 Aug 2016 12:03:40 -0300 (BRT) Received: from 186.229.5.58 (SquirrelMail authenticated user matheus) by cabo.dyn.arroway.org with HTTP; Mon, 22 Aug 2016 12:03:41 -0300 Message-ID: In-Reply-To: <4BFC6C48-5018-4F75-869C-53678644A0AA@FreeBSD.org> References: <20160820220735.3a61d1e8e81b4e36e36818ae@eternamente.info> <4BFC6C48-5018-4F75-869C-53678644A0AA@FreeBSD.org> Date: Mon, 22 Aug 2016 12:03:41 -0300 Subject: Re: Error building 11.0-RC1 from 10.2 From: "Nenhum_de_Nos" Cc: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 22 Aug 2016 15:03:48 -0000 On Sat, August 20, 2016 22:54, Dimitry Andric wrote: > On 21 Aug 2016, at 03:07, Nenhum_de_Nos wrote: >> >> I tried to build 11.0-RC1 from two machines here, my home server and a >> vm I installed and updated to 10.2 just to test for the real deal on >> that server. Both failed on the same spot: > ... >> 3. Running pass 'Function Pass Manager' on module >> '/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp'. >> 4. Running pass 'X86 DAG->DAG Instruction Selection' on function >> '@_ZN5clang7CodeGen15CodeGenFunction12EmitCallArgsINS_17FunctionProtoTypeEEEvRNS0_11CallArgListEPKT_N4llvm14iterator_rangeINS_4Stmt17ConstExprIteratorEEEPKNS_12FunctionDeclEj' >> c++: error: unable to execute command: Segmentation fault (core dumped) > > If you are using 10.2-RELEASE, you will not have this fix, which most > likely solves the crash you are seeing: > > https://svnweb.freebsd.org/changeset/base/286033 > > Please try to apply this to your 10.2 source tree, recompile clang, and > then try to build 11.0 again. > > Alternatively, first upgrade to the latest stable/10, which should also > fix it. This costs more time, but is easier to execute. > > -Dimitry Thanks, I updated to 10.3 then the build process got past that issue. Problem solved. thanks again, matheus -- "We will call you Cygnus, the God of balance you shall be."