similar to: [LLVMdev] Problem with compiling the runtime libary

Displaying 20 results from an estimated 1500 matches similar to: "[LLVMdev] Problem with compiling the runtime libary"

2011 Apr 22
0
[LLVMdev] Problem with compiling the runtime libary
yafan zhao wrote: > Hi All > Thanks for all replies regarding to my GCC problem. > I am trying to do profiling now and need to generate "profile_rt.so" > file. I compiled the runtime library using MAKE and tried on both > Windows and Mac, but the compiling can not be done properly. I got the > following error message: > ------------------------------ > make:
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
Hi Nick Thanks for you reply. CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is it possible to compile it using GNU WIN 32 and anything need to be modified? I managed to compile the run time library on a mac machine. Yafan On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > yafan zhao wrote: > >> Hi All >> Thanks for
2011 Apr 28
0
[LLVMdev] Problem with compiling the runtime libary
Hi Chen Applied your patch to cmakelists files in LLVM 2.9 release and build llvm using Visual Studio 2008 successfully, but there is still no profile_rt.so. I do have profile_rt of visual studio solution file and project file in folder \llvm-2.9build\runtime\libprofile. I also tried version2.9 form SVN and it has all necessary cmakelists files now, but I still have same problem (no
2011 Apr 27
3
[LLVMdev] Problem with compiling the runtime libary
Hi, Zhao > I have checked out llvm 2.9. There is only one CMakeLists file in Release or svn? I believe Nick has committed those CMake files into svn. You can apply my patch to LVM 2.9 Release. > "\llvm-2.9". and no CMakeLists file in folder either > "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it? As Nick said, libprofile
2011 Apr 26
0
[LLVMdev] Problem with compiling the runtime libary
Hi Chen Thanks for the attached patch file. I have checked out llvm 2.9. There is only one CMakeLists file in "\llvm-2.9". and no CMakeLists file in folder either "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it? Yafan 2011/4/26 Nick Lewycky <nlewycky at google.com> > On 24 April 2011 00:57, 陳韋任 <chenwj at
2011 Apr 26
3
[LLVMdev] Problem with compiling the runtime libary
On 24 April 2011 00:57, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi, Zhao > > You can apply the attachment to LLVM 2.9 Release. It has been tested > on FreeBSD/x86. > Hi Chen, may I commit this (updated to include GCDAProfiling.cpp) to LLVM SVN? Nick > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information
2011 Apr 24
0
[LLVMdev] Problem with compiling the runtime libary
Hi, Zhao You can apply the attachment to LLVM 2.9 Release. It has been tested on FreeBSD/x86. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 -------------- next part -------------- diff -ruN llvm-2.9/CMakeLists.txt llvm-2.9.new/CMakeLists.txt --- llvm-2.9/CMakeLists.txt 2011-03-02
2011 Apr 19
0
[LLVMdev] LLVM-GCC
yafan zhao <yafan.zhao at gmail.com> writes: > I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008 > on windows machine. I have most of the .exe in bin, such as lli and > clang, and they works fine, but there is no llvm-gcc. Do I need to compile > llvm-gcc separately and how to do it on windows machine? Building llvm-gcc with Visual Studio is not
2011 Apr 19
1
[LLVMdev] LLVM-GCC
On 4/19/11 9:16 AM, Óscar Fuentes wrote: > yafan zhao<yafan.zhao at gmail.com> writes: > >> I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008 >> on windows machine. I have most of the .exe in bin, such as lli and >> clang, and they works fine, but there is no llvm-gcc. Do I need to compile >> llvm-gcc separately and how to do it on
2011 Apr 19
2
[LLVMdev] LLVM-GCC
Hi All I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008 on windows machine. I have most of the .exe in bin, such as lli and clang, and they works fine, but there is no llvm-gcc. Do I need to compile llvm-gcc separately and how to do it on windows machine? Many thanks. Yafan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Oct 10
2
[LLVMdev] building LLVM (question about ELF class)
Hi, Thanks for the replies in the mailing list. I made some progress in building LLVM, but I still have a problem about ELF class. I am working with LLVM on a sparcv9 machine, while the gcc is configured to emit 32-bit binary by default. After executing "configure --with-llvmgccdir=... --enable-jit", I modified Makefile.config so it contains CXX = g++ -mcpu=v9 -m64 CC := gcc -mcpu=v9
2010 Oct 13
1
[LLVMdev] Compile or link error
Hello, I am generating profile_rt.dll by perfoming 'make' in $LLVM_SRC_DIR/runtime/libprofile. After make, I got the following error messages. llvm[0]: Linking Debug+Asserts Loadable Module profile_rt.dll /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/ llvm/runtime/libprofile/Debug+Asserts/exported_symbols.lst: file format not reco gnized; treating as
2011 Aug 01
2
[LLVMdev] profile.pl
Hi all I want to use "'/home/llvm/src/utils/profile.pl' -edge sort.bc" command, but i face this error: Error opening '/usr/local/lib/profile_rt.so': /usr/local/lib/profile_rt.so: cannot open shared object file: No such file or directory -load request ignored. LLVM ERROR: Program used external function 'llvm_start_edge_profiling' which could not be resolved!
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
*System:* Debian Linux Sid/Unstable amd64 *LLVM/Clang:* Trunk *Scenario:* In the past couple of days I've been compiling against trunk I get two separate and spurious hang ups with CMake. *Note:* I build against more than just X86 follow along the progress of other platforms, though just building for X86 produces the same results below. *Assumption:* Configure cmake with prior built
2008 Jan 30
0
[LLVMdev] How to use profiling runtime for program profiling?
Hi Haifeng > I have a question about how to profile program with LLVM. When I tried > to compile the instrumented version of program after using "-insert- > block-profiling", I got > error complaining " undefined reference to > `llvm_start_block_profiling'. > > I found that there is a "runtime"directory in llvm source directory > but in the
2006 Nov 17
1
[LLVMdev] dump profiling data
Hi, On Nov 1, 2006, at 7:31 PM, Chris Lattner wrote: > On Wed, 1 Nov 2006, Nico Moser wrote: >> sorry but I can't found where the profiling data (llvmprof.out[?]) is >> generated. Perhaps soembody has a hint for me? > > Take a look at how the llvm/utils/profile.pl script works. In this script the lli command get the load-argument "somewhere/ profile_rt.so".
2008 Nov 25
2
[LLVMdev] LLVM profiling
Hello, My name is Rantao Chen and i am a student at the University of Maryland. I am currently doing some research for a professor to do Basic Block profiling using LLVM. I have set up the environment correctly and built the profile_rt.so shared library, but i am having some problems using the LLVM profiling tools. I run "opt -insert-function-profiling -insert-block-profiling input.bc
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
> To test clang: > 1) Compile llvm and clang from source. LLVM fails to build for me on Cygwin. I get: make[1]: Entering directory `/home/foad/llvm/objdir-2.6/runtime' make[2]: Entering directory `/home/foad/llvm/objdir-2.6/runtime/libprofile' llvm[2]: Compiling BasicBlockTracing.c for Release build (PIC) llvm[2]: Compiling BlockProfiling.c for Release build (PIC) llvm[2]:
2009 Oct 20
2
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
On Oct 20, 2009, at 5:49 AM, Jay Foad wrote: >> To test clang: >> 1) Compile llvm and clang from source. > > LLVM fails to build for me on Cygwin. I get: > Does TOT build? If not, please file a bug. Unfortunately Cygwin is not in our release criteria. I'd like to have a buildbot running (if there is not one already) and then get someone to qualify it for the
2012 Jul 30
3
[LLVMdev] clean CMake build failing (Mac OS X 10.8)
Over the weekend I upgraded my system to Mac OS X 10.8, and now a clean cmake build fails. The error message: > Building C object runtime/libprofile/CMakeFiles/profile_rt-static.dir/CommonProfiling.c.o > cc1: error: unrecognized command line option "-Wcovered-switch-default" The configuration: > Mac OS X 10.8 > CMake 2.8.8 > LLVM tot > Apple clang version 4.0