Date: Fri, 19 Sep 2014 22:19:54 +0000 From: "Sinha, Prokash" <psinha@panasas.com> To: "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org> Subject: Re: While I see the code coverage being present in 3.6.0, I see compile errors Message-ID: <D041F90D.1F66%psinha@panasas.com> In-Reply-To: <D040678D.1F0F%psinha@panasas.com> References: <D040678D.1F0F%psinha@panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Sinha>, Prokash Sinha <psinha@panasas.com<mailto:psinha@panasas.com>= > Date: Thursday, September 18, 2014 10:42 AM To: "freebsd-toolchain@freebsd.org<mailto:freebsd-toolchain@freebsd.org>" <= freebsd-toolchain@freebsd.org<mailto: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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D041F90D.1F66%psinha>