From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 11:08:13 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB88ADAC for ; Thu, 13 Nov 2014 11:08:13 +0000 (UTC) Received: from linux.ssdindia.com (linux.ssdindia.com [67.225.148.220]) (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 A48E1A95 for ; Thu, 13 Nov 2014 11:08:13 +0000 (UTC) Received: from [150.129.156.149] (port=50993 helo=Feroz-Asus) by linux.ssdindia.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1XosG3-002gNp-SZ for freebsd-ppc@freebsd.org; Thu, 13 Nov 2014 16:38:12 +0530 From: "Sci-Edit Publications" Subject: English Editing Service Trial To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Reply-To: "Sci-Edit Publications" Date: Thu, 13 Nov 2014 16:38:17 +0530 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - linux.ssdindia.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sci-edit.co.in X-Get-Message-Sender-Via: linux.ssdindia.com: authenticated_id: info@sci-edit.co.in X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: Base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 11:08:13 -0000 VG8sDQpGcmVlYnNkIFBwYyA8ZnJlZWJzZC1wcGNAZnJlZWJzZC5vcmc+DQpOb3Zvc2liaXJzayBT dGF0ZSBVbml2ZXJzaXR5DQoNCkRlYXIgRnJlZWJzZCBQcGMsDQpXYXJtIEdyZWV0aW5ncyBmcm9t IFNjaS1FZGl0IFB1YmxpY2F0aW9ucy4gDQpUaGlzIG1haWwgaXMgaW50ZW5kZWQgdG8gaW50cm9k dWNlIG91cnNlbHZlcyBhcyBhIHB1Ymxpc2hlciBwcm92aWRpbmcgaGlnaCBxdWFsaXR5IEVuZ2xp c2ggZWRpdGluZyBzZXJ2aWNlIGF0IG1vc3QgYWZmb3JkYWJsZSByYXRlcy4gV2UgZWRpdCBqb3Vy bmFsIGFydGljbGVzLCB0aGVzZXMsIGRpc3NlcnRhdGlvbnMsIGJvb2tzLCBncmFudCBwcm9wb3Nh bHMsIGV0Yy4gaW4gYWxsIHN1YmplY3QgYXJlYXMuIA0KSWYgeW91IHdpc2ggeW91IGNhbiBzZW5k IGEgZG9jdW1lbnQgZm9yIGEgZnJlZSB0cmlhbCAodXAgdG8gMjAwIHdvcmRzKS4gDQpDaGFyZ2Vz IGZvciByZWd1bGFyIHN1YnN0YW50aXZlIGVkaXRpbmcgYXJlIHZlcnkgbG93IGkuZS4sIDAuMDIg VVNEL3dvcmQsIGFuZCBmb3IgYmFzaWMgZWRpdGluZyAocHJvb2ZyZWFkaW5nKSBvbmx5IDAuMDEg VVNEL3dvcmQuIE91ciBlZGl0b3JzIGFyZSBoaWdobHkgcXVhbGlmaWVkIHByb2Zlc3Npb25hbHMg ZnJvbSBuYXRpdmUgRW5nbGlzaCBzcGVha2luZyBjb3VudHJpZXMuIFdlIGFzc3VyZSBjb25maWRl bnRpYWxpdHkgb2YgeW91ciB3b3JrLg0KQmVzaWRlcyB0aGlzLCB3ZSBhbHNvIHB1Ymxpc2ggc2V2 ZXJhbCByZXNlYXJjaCBqb3VybmFscy4gWW91IGFyZSB3ZWxjb21lZCB0byBwdWJsaXNoIGluIG91 ciBqb3VybmFscyBjb3ZlcmluZyBtb3N0IG9mIHRoZSByZXNlYXJjaCBhcmVhcy4gQWxsIGpvdXJu YWxzIGFyZSBvcGVuLWFjY2VzcywgcGVlci1yZXZpZXdlZCwgYW5kIGF0IHByZXNlbnQgYWJzb2x1 dGVseSBmcmVlIHRvIHB1Ymxpc2guIA0KUGxlYXNlIHZpc2l0IG91ciB3ZWJzaXRlIGZvciBmdXJ0 aGVyIGRldGFpbHMuIA0KaHR0cDovLyBzY2ktZWRpdCAuIG5ldC8gKGNvcHkgcGFzdGUgdGhpcyBs aW5rIGluIGJyb3dzZXIgYW5kIHJlbW92ZSBzcGFjZXMpDQpTaW5jZXJlbHksDQoNClNjaS1FZGl0 IFB1YmxpY2F0aW9ucw0Kc2NpZWRpdC5wdWJAZ21haWwuY29tDQoNCihEaXNjbGFpbWVyOiBJZiB5 b3UgYXJlIG5vdCBpbnRlcmVzdGVkIG9yIHRvIFVuc3Vic2NyaWJlLCBwbGVhc2UgaWdub3JlIHRo aXMgbWFpbCwgeW91IGFyZSBub3Qgc3Vic2NyaWJlZCB0byBhbnkgbWFpbGluZyBsaXN0LiBQaHlz aWNhbCBhZGRyZXNzOiA0MzUwLCBLaXJraGFtIFN0LCBTYW4gRnJhbmNpc2NvLCBDQSA5NDEyMiBV U0EsIFBob25lOiArMSA3NjUgNzI3IDAwMzkpIA0K From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 17:13:17 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7879EED; Thu, 13 Nov 2014 17:13:17 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB91995; Thu, 13 Nov 2014 17:13:16 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id sADHD9C6000494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Nov 2014 19:13:09 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua sADHD9C6000494 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id sADHD9X4000492; Thu, 13 Nov 2014 19:13:09 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 13 Nov 2014 19:13:09 +0200 From: Konstantin Belousov To: ppc@freebsd.org, toolchain@freebsd.org Subject: llvm build error on ppc Message-ID: <20141113171308.GZ17068@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 17:13:17 -0000 FYI, I did make tinderbox today for HEAD at r274464, and got the following both for ppc and ppc64 worlds. Other arches build successfully. =3D=3D=3D> lib/clang/libllvmtablegen (all) /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp: In member function 'void llvm::SDD= bgInfo::erase(const llvm::SDNode*)': /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp:632: error: a function-definition i= s not allowed here before ':' token /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp:634: error: could not convert '((ll= vm::DenseMapBase, llvm::DenseMapInfo >, const llvm::= SDNode*, llvm::SmallVector, llvm::DenseMapInfo >*)(&((llvm::SDDbgInfo*)this)->llvm::SDDbgInfo::DbgValMap))= ->llvm::DenseMapBase::erase [with Derived= T =3D llvm::DenseMap, llvm::DenseMapInfo >, KeyT =3D const llvm::SD= Node*, ValueT =3D llvm::SmallVector, KeyInfoT =3D ll= vm::DenseMapInfo](llvm::DenseMapIterator, llvm::DenseMapInfo, false>(((const llvm::DenseMapIterator, llvm::DenseMapInfo, false>&)((const llvm::DenseMapIterator, llvm::DenseMapInfo,= false>*)(& I)))))' to 'bool' /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected primary-expres= sion before '}' token /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected `)' before '}'= token /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected primary-expres= sion before '}' token /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/li= b/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected `;' before '}'= token --- SelectionDAG.o --- *** [SelectionDAG.o] Error code 1 make[8]: stopped in /scratch/tmp/kib/src/lib/clang/libllvmselectiondag 1 error From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 18:11:58 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 66564D0E; Thu, 13 Nov 2014 18:11:58 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F600FE3; Thu, 13 Nov 2014 18:11:58 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::1086:e1ef:41f0:7ad9] (unknown [IPv6:2001:7b8:3a7:0:1086:e1ef:41f0:7ad9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2BA0DB80A; Thu, 13 Nov 2014 19:11:52 +0100 (CET) Subject: Re: llvm build error on ppc Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: multipart/signed; boundary="Apple-Mail=_913E4922-BD3A-4C45-9FBC-77ED81725977"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b1 From: Dimitry Andric In-Reply-To: <20141113171308.GZ17068@kib.kiev.ua> Date: Thu, 13 Nov 2014 19:11:45 +0100 Message-Id: <049B5242-4D28-4F72-B33E-3728B731C1FB@FreeBSD.org> References: <20141113171308.GZ17068@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1990.1) Cc: toolchain@freebsd.org, ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 18:11:58 -0000 --Apple-Mail=_913E4922-BD3A-4C45-9FBC-77ED81725977 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 13 Nov 2014, at 18:13, Konstantin Belousov = wrote:FYI, >=20 > I did make tinderbox today for HEAD at r274464, and got the following > both for ppc and ppc64 worlds. Other arches build successfully. >=20 > =3D=3D=3D> lib/clang/libllvmtablegen (all) > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp: In member function 'void = llvm::SDDbgInfo::erase(const llvm::SDNode*)': > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp:632: error: a = function-definition is not allowed here before ':' token > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp:634: error: could not convert = '((llvm::DenseMapBase, llvm::DenseMapInfo >, const llvm::SDNode*, = llvm::SmallVector, llvm::DenseMapInfo = >*)(&((llvm::SDDbgInfo*)this)->llvm::SDDbgInfo::DbgValMap))->llvm::DenseMa= pBase::erase [with DerivedT =3D = llvm::DenseMap, llvm::DenseMapInfo >, KeyT =3D const = llvm::SDNode*, ValueT =3D llvm::SmallVector, = KeyInfoT =3D llvm::DenseMapInfo](llvm::DenseMapIterator, llvm::DenseMapInfo, false>(((const llvm::DenseMapIterator lue*, 2u>, llvm::DenseMapInfo, false>&)((const = llvm::DenseMapIterator, llvm::DenseMapInfo, false>*)(& I)))))' to 'bool' > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected = primary-expression before '}' token > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected `)' before = '}' token > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected = primary-expression before '}' token > = /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/l= ib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected `;' before = '}' token > --- SelectionDAG.o --- > *** [SelectionDAG.o] Error code 1 Hi Kostik, Sorry about this. I imported an upstream fix for llvm, but since they switched to C++11, it introduces some constructs that g++ 4.2.1 does not support. Clang compiles these even if -std=3Dc++11 is not specified on the command line, which is why I didn't notice the problem. I'm going to fix this as soon as possible. -Dimitry --Apple-Mail=_913E4922-BD3A-4C45-9FBC-77ED81725977 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlRk9GYACgkQsF6jCi4glqPtXACg3yQa2//mLFWmw1Uq24U9hHLs WSEAoK19lFJw42UbOsIu4vBO+Zf+xKyR =aRLD -----END PGP SIGNATURE----- --Apple-Mail=_913E4922-BD3A-4C45-9FBC-77ED81725977-- From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 18:17:15 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4AD63300; Thu, 13 Nov 2014 18:17:15 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0FBE8F; Thu, 13 Nov 2014 18:17:14 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id sADIH9kr015137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Nov 2014 20:17:09 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua sADIH9kr015137 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id sADIH9ht015136; Thu, 13 Nov 2014 20:17:09 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 13 Nov 2014 20:17:09 +0200 From: Konstantin Belousov To: Dimitry Andric Subject: Re: llvm build error on ppc Message-ID: <20141113181709.GA17068@kib.kiev.ua> References: <20141113171308.GZ17068@kib.kiev.ua> <049B5242-4D28-4F72-B33E-3728B731C1FB@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <049B5242-4D28-4F72-B33E-3728B731C1FB@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: toolchain@freebsd.org, ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 18:17:15 -0000 On Thu, Nov 13, 2014 at 07:11:45PM +0100, Dimitry Andric wrote: > On 13 Nov 2014, at 18:13, Konstantin Belousov wrote= :FYI, > >=20 > > I did make tinderbox today for HEAD at r274464, and got the following > > both for ppc and ppc64 worlds. Other arches build successfully. > >=20 > > =3D=3D=3D> lib/clang/libllvmtablegen (all) > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp: In member function 'void llvm:= :SDDbgInfo::erase(const llvm::SDNode*)': > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:632: error: a function-definiti= on is not allowed here before ':' token > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:634: error: could not convert '= ((llvm::DenseMapBase, llvm::DenseMapInfo >, const ll= vm::SDNode*, llvm::SmallVector, llvm::DenseMapInfo >*)(&((llvm::SDDbgInfo*)this)->llvm::SDDbgInfo::DbgValM= ap))->llvm::DenseMapBase::erase [with Der= ivedT =3D llvm::DenseMap, llvm::DenseMapInfo >, KeyT =3D const llvm= ::SDNode*, ValueT =3D llvm::SmallVector, KeyInfoT = =3D llvm::DenseMapInfo](llvm::DenseMapIterator, llvm::DenseMapInfo<= const llvm::SDNode*>, false>(((const llvm::DenseMapIterator > lue*, 2u>, llvm::DenseMapInfo, false>&)((const llv= m::DenseMapIterator, llvm::DenseMapInfo, false>*)(& I)))))' to 'boo= l' > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected primary-ex= pression before '}' token > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected `)' before= '}' token > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected primary-ex= pression before '}' token > > /scratch/tmp/kib/src/lib/clang/libllvmselectiondag/../../../contrib/llv= m/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:635: error: expected `;' before= '}' token > > --- SelectionDAG.o --- > > *** [SelectionDAG.o] Error code 1 >=20 > Hi Kostik, >=20 > Sorry about this. I imported an upstream fix for llvm, but since they > switched to C++11, it introduces some constructs that g++ 4.2.1 does not > support. Clang compiles these even if -std=3Dc++11 is not specified on > the command line, which is why I didn't notice the problem. Is ppc the only architecture where we do build clang, but with gcc ? Since the failure only occured on ppc/pcc64, and not on e.g. arm. From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 18:19:59 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2CB0371; Thu, 13 Nov 2014 18:19:59 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 734C5A8; Thu, 13 Nov 2014 18:19:58 +0000 (UTC) Received: from [172.17.159.108] (global-1-26.nat.csx.cam.ac.uk [131.111.184.26]) (authenticated bits=0) by theravensnest.org (8.14.9/8.14.9) with ESMTP id sADIJsvb064487 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 13 Nov 2014 18:19:56 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host global-1-26.nat.csx.cam.ac.uk [131.111.184.26] claimed to be [172.17.159.108] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: llvm build error on ppc From: David Chisnall In-Reply-To: <20141113181709.GA17068@kib.kiev.ua> Date: Thu, 13 Nov 2014 18:19:48 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <5BDD119D-0457-4C4D-8F7A-DFF8EF05A01A@FreeBSD.org> References: <20141113171308.GZ17068@kib.kiev.ua> <049B5242-4D28-4F72-B33E-3728B731C1FB@FreeBSD.org> <20141113181709.GA17068@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1878.6) Cc: toolchain@freebsd.org, Dimitry Andric , ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 18:19:59 -0000 On 13 Nov 2014, at 18:17, Konstantin Belousov = wrote: > Is ppc the only architecture where we do build clang, but with gcc ? > Since the failure only occured on ppc/pcc64, and not on e.g. arm. It may be the only architecture where we build with gcc by default, but = try to install clang as well. PowerPC is very close to working with = LLVM, but not quite there yet. I think everything else is either = clang-is-default or clang-is-not-even-tried. David From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 21:29:24 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7113DF98; Thu, 13 Nov 2014 21:29:24 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BED18B5; Thu, 13 Nov 2014 21:29:23 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::1086:e1ef:41f0:7ad9] (unknown [IPv6:2001:7b8:3a7:0:1086:e1ef:41f0:7ad9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9D961B80A; Thu, 13 Nov 2014 22:29:12 +0100 (CET) Subject: Re: llvm build error on ppc Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: multipart/signed; boundary="Apple-Mail=_7E74AE38-C7B5-45FD-A725-8A51656B6301"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b1 From: Dimitry Andric In-Reply-To: <5BDD119D-0457-4C4D-8F7A-DFF8EF05A01A@FreeBSD.org> Date: Thu, 13 Nov 2014 22:29:02 +0100 Message-Id: References: <20141113171308.GZ17068@kib.kiev.ua> <049B5242-4D28-4F72-B33E-3728B731C1FB@FreeBSD.org> <20141113181709.GA17068@kib.kiev.ua> <5BDD119D-0457-4C4D-8F7A-DFF8EF05A01A@FreeBSD.org> To: David Chisnall X-Mailer: Apple Mail (2.1990.1) Cc: toolchain@freebsd.org, ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 21:29:24 -0000 --Apple-Mail=_7E74AE38-C7B5-45FD-A725-8A51656B6301 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 13 Nov 2014, at 19:19, David Chisnall wrote: >=20 > On 13 Nov 2014, at 18:17, Konstantin Belousov = wrote: >=20 >> Is ppc the only architecture where we do build clang, but with gcc ? >> Since the failure only occured on ppc/pcc64, and not on e.g. arm. >=20 > It may be the only architecture where we build with gcc by default, = but try to install clang as well. PowerPC is very close to working with = LLVM, but not quite there yet. I think everything else is either = clang-is-default or clang-is-not-even-tried. It would also fail on x86, if you would try to build world with gcc. :) In any case, the build should be fixed now with r274483. -Dimitry --Apple-Mail=_7E74AE38-C7B5-45FD-A725-8A51656B6301 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlRlIqcACgkQsF6jCi4glqOsZgCfXgJz170pL1g276a4zamFKR7F HMYAoJPnvfGhbj3EPM2TnDxdRZWYQGaf =5rU6 -----END PGP SIGNATURE----- --Apple-Mail=_7E74AE38-C7B5-45FD-A725-8A51656B6301-- From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 14 11:36:19 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 372DFA47; Fri, 14 Nov 2014 11:36:19 +0000 (UTC) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2B792C; Fri, 14 Nov 2014 11:36:18 +0000 (UTC) Received: from bender.lan (97e078e7.skybroadband.com [151.224.120.231]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id A833B7328F; Fri, 14 Nov 2014 11:36:15 +0000 (UTC) Date: Fri, 14 Nov 2014 11:36:09 +0000 From: Andrew Turner To: Konstantin Belousov Subject: Re: llvm build error on ppc Message-ID: <20141114113609.1ccc5b7a@bender.lan> In-Reply-To: <20141113181709.GA17068@kib.kiev.ua> References: <20141113171308.GZ17068@kib.kiev.ua> <049B5242-4D28-4F72-B33E-3728B731C1FB@FreeBSD.org> <20141113181709.GA17068@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: toolchain@freebsd.org, Dimitry Andric , ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 11:36:19 -0000 On Thu, 13 Nov 2014 20:17:09 +0200 Konstantin Belousov wrote: > Is ppc the only architecture where we do build clang, but with gcc ? > Since the failure only occured on ppc/pcc64, and not on e.g. arm. We build with clang on little-endian ARM and don't try to build clang and llvm on big-endian ARM. Andrew