From owner-freebsd-toolchain@FreeBSD.ORG Fri Sep 19 22:20:02 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1156CAB for ; Fri, 19 Sep 2014 22:20:01 +0000 (UTC) Received: from natasha.panasas.com (natasha.panasas.com [209.166.131.148]) (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 B23221A0 for ; Fri, 19 Sep 2014 22:20:01 +0000 (UTC) Received: from seabiscuit.panasas.com (seabiscuit.panasas.com [172.17.132.204]) by natasha.panasas.com (8.14.4/8.14.4) with ESMTP id s8JMJw0v023184 for ; Fri, 19 Sep 2014 18:19:58 -0400 Received: from SEABISCUIT.int.panasas.com ([172.17.132.204]) by seabiscuit ([172.17.132.204]) with mapi id 14.03.0210.002; Fri, 19 Sep 2014 15:19:55 -0700 From: "Sinha, Prokash" To: "freebsd-toolchain@freebsd.org" Subject: Re: While I see the code coverage being present in 3.6.0, I see compile errors Thread-Topic: While I see the code coverage being present in 3.6.0, I see compile errors Thread-Index: AQHP02fndxd9CeK6PkaB2Mo+yrtY8ZwJCNoA Date: Fri, 19 Sep 2014 22:19:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.28.63] Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Fri, 19 Sep 2014 22:20:02 -0000 I was having build error when I was "svn update" updating, following the i= nstructions in the document for checkout, and in sequence=85 If I get the source in a new dir, then it builds. But I still concur to fi= nd a way to get the lib clangrt.profile*.a This was my configuration , before using gmake and gmake install ../llvm_9_19/configure --prefix=3D/fs/home/psinha/bin --enable-targets=3Dx8= 6_64 --enable-profiling I really need some advice as to how to make that archived build. -prokash From: , Prokash Sinha = > Date: Thursday, September 18, 2014 10:42 AM To: "freebsd-toolchain@freebsd.org" <= freebsd-toolchain@freebsd.org> Subject: While I see the code coverage being present in 3.6.0, I see compil= e errors Hi All, I see that coverage and valgrind seemed to be sneaking in to 3.6.0 ( http:/= /www.llvm.org/docs/CoverageMappingFormat.html ), I see there are some compi= lation error when I update from the svn repo, and try to gmake on freebsd10= .0. Note that about a week or so ago, I pulled in using update and did not = see compile error =96 but those features were missing =85 Thanks much ! -prokash BackendUtil.cpp:65:30: error: no matching constructor for initialization of= 'llvm::DataLayoutPass' CodeGenPasses->add(new DataLayoutPass(TheModule)); ^ ~~~~~~~~~ /.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/D= ataLayout.h:461:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from = 'llvm::Module *const' to 'const llvm::DataLayoutPass' for 1st argument class DataLayoutPass : public ImmutablePass { ^ /.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/D= ataLayout.h:466:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided DataLayoutPass(); ^ BackendUtil.cpp:75:32: error: no matching constructor for initialization of= 'llvm::DataLayoutPass' PerModulePasses->add(new DataLayoutPass(TheModule)); ^ ~~~~~~~~~ /.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/D= ataLayout.h:461:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from = 'llvm::Module *const' to 'const llvm::DataLayoutPass' for 1st argument class DataLayoutPass : public ImmutablePass { ^ /.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/D= ataLayout.h:466:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided DataLayoutPass(); ^ BackendUtil.cpp:85:34: error: no matching constructor for initialization of= 'llvm::DataLayoutPass' PerFunctionPasses->add(new DataLayoutPass(TheModule)); ^ ~~~~~~~~~ /.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/D= ataLayout.h:461:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from = 'llvm::Module *const' to 'const llvm::DataLayoutPass' for 1st argument class DataLayoutPass : public ImmutablePass { ^ /.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/D= ataLayout.h:466:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided DataLayoutPass();