From owner-freebsd-toolchain@FreeBSD.ORG Thu Nov 13 18:11:58 2014 Return-Path: Delivered-To: toolchain@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-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain 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--