similar to: [LLVMdev] Replace gcc with llvm-gcc

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Replace gcc with llvm-gcc"

2009 Sep 15
0
[LLVMdev] Replace gcc with llvm-gcc
Just set llvm-ld as the default ld . Such as LD = llvm-ld in makefile, if it's not working, then there is no solution 2009/9/15, zhunan <zhunansjtu at gmail.com>: > I truly get the bytecode file for each souce file,but can I use > llvm-link to link them into a whole-program one automatically through > some scripts? > > >> >> Message: 27 >> Date: Tue, 15
2009 Sep 15
1
[LLVMdev] Replace gcc with llvm-gcc???
Hi,all Recently I met a question when I want to replace gcc with llvm-gcc through configure script(command). For simply,described like that I typed as following 1.zhunan at sjtu:~/workplace/$ ./configure CC=llvm-gcc CFLAGS="-S -emit-llvm" configure will failed when it checks whether C compiler is working 2.zhunan at sjtu:~/workplace/$ ./configure CC=llvm-gcc CFLAGS="-c
2009 Sep 15
1
[LLVMdev] Replace gcc with llvm-gcc
罗勇刚(Yonggang Luo) wrote: > Just set llvm-ld as the default ld . > Such as LD = llvm-ld in makefile, if it's not working, then there is no solution > Some Makefiles use the C compiler (e.g., gcc or llvm-gcc) as the linker. For such Makefiles, the above will not work because llvm-gcc runs ld. What you need is a linker that can link LLVM bitcode files together. If that is the case,
2009 Oct 18
2
[LLVMdev] strace for whole-program bitcodes
Thank you for the reply,but I meant that when we building,we can not use the native tools such ar and as to process the llvm files,we must have the ability to call llvm-ar and llvm-as instead of the native ones. 在 2009-10-17六的 19:35 -0700,Nick Lewycky写道: > zhunan wrote: > > Hi, > > > > I don't think just use gold-plugin even modified is enough for the task > > of
2009 Oct 20
2
[LLVMdev] strace for whole-program bitcodes
Yes,but when I just simply replace lto_codegen_compile(cg, ...) with lto_codegen_write_merged_modules(cg, "/path/to/output.bc") in the gold-plugin.cpp to see if it will generate a correct bc file,the llvm-gcc/llvm-g++ will call the native ld in the linking step,which causes the failture because of that ld can not recognize an object file which contains LLVM's IL. I understand the
2009 Sep 19
0
[LLVMdev] Where should I put libLLVMgold.so??
2009/9/18 zhunan <zhunansjtu at gmail.com>: > Yes,but ubuntu's directory structure is not exactly the same as the > classic linux distribute, > > I put libLLVMgold.so in /usr/lib/gcc/i486-linux-gnu/4.2.4 where cc1 is > also in. > > Strange situation,is it a bug for llvm-gcc???? Could be. Are you comfortable using gdb? Last time I looked it was working for me.
2009 Oct 19
0
[LLVMdev] strace for whole-program bitcodes
2009/10/17 zhunan <zhunansjtu at gmail.com>: > Thank you for the reply,but I meant that when we building,we can not use > the native tools such ar and as to process the llvm files,we must have > the ability to call llvm-ar and llvm-as instead of the native ones. We can use the native tools if they understand llvm IL :-) That is what the plugin does. With it installed you can run
2009 Oct 20
0
[LLVMdev] strace for whole-program bitcodes
2009/10/19 zhunan <zhunansjtu at gmail.com>: > Yes,but when I just simply replace lto_codegen_compile(cg, ...) with > lto_codegen_write_merged_modules(cg, "/path/to/output.bc") in the > gold-plugin.cpp to see if it will generate a correct bc file,the > llvm-gcc/llvm-g++ will call the native ld in the linking step,which > causes the failture because of that ld can not
2009 Jul 01
1
[LLVMdev] BInary encode of LLVM's ISA?
Hi,all Where may I find the binary encode of llvm's ISA? I would like to load the instructions from llvm bitcode file and translate it to another kind of ISA dinamically,but I searched all docs in llvm.org,nothing has been found ,can anyone help me? zhunan 2009.7.1
2009 Sep 19
4
[LLVMdev] Where should I put libLLVMgold.so??
Yes,but ubuntu's directory structure is not exactly the same as the classic linux distribute, I put libLLVMgold.so in /usr/lib/gcc/i486-linux-gnu/4.2.4 where cc1 is also in. Strange situation,is it a bug for llvm-gcc???? 在 2009-09-18五的 12:58 +0300,Török Edwin写道: > On 2009-09-18 03:06, Nan Zhu wrote: > > OMG,that's just my situation... > > > > I can link with
2009 Jul 20
1
[LLVMdev] Got a "corrupted double-linked list" error?
Hi,all Recently,I write some code to implement the following funtions: I make use the codes of "llvm-dis" to disassemble the bitcode file and do some change on it,after that ,"my llvm-as" assembles the changed file to generate a bitcode file. But I got a "corrupted double-linked list" error when "my llvm-as" works,however,when I do nothing on the
2008 Nov 03
1
a nlm question
Dear R listers, I posted this problem several days ago but it seems nobody answered. I use nlm to optimize a given function ,but it always generates the following warnings " Error in nlm(foo, theta.start) : non-finite value supplied by 'nlm' " I don't know why ,can anybody give me some hints ?? thanks in advance. regards .
2013 May 08
1
[LLVMdev] How to avoid loopverify failures after replacing the backedge with an edge(latchBB to exitBB) in a looppass?
Sorry for forgetting to reply all... It works! Thank you very much! But I also wonder how do you know this function will work while there are no documents noticing that. I try learning LLVM by reading its code, but soon feel lost in so many functions. Just like I have many tools, but don't know which to use and what difference it could make. Is there some better ways to learn LLVM? On Wed,
2015 Mar 27
1
答复: 答复: 答复: libvirtd can't start
Laine, you are right, some packages mixed: [root@openstack3 ~]# rpm -qa | grep '\(libvirt\|netcf\|libnl\)' | sort libnl-1.1.4-3.el7.x86_64 libnl3-3.2.21-7.el6.x86_64 libnl3-cli-3.2.21-7.el6.x86_64 libnl3-debuginfo-3.2.21-7.el6.x86_64 libnl-debuginfo-1.1.4-3.el7.x86_64 libnl-devel-1.1.4-3.el7.x86_64 libvirt-client-1.1.1-29.el7_0.3.x86_64 libvirt-daemon-1.1.1-29.el7_0.3.x86_64
2009 Oct 18
0
[LLVMdev] strace for whole-program bitcodes
zhunan wrote: > Hi, > > I don't think just use gold-plugin even modified is enough for the task > of building a whole-program bc file. > > When we want to build a whole-program bc file by a general solution(I > meant that we can use such a method for all kinds of build system),we > need not only a gold-plugin to do what llvm-ld does,but also some > mechanisms,not a
2009 Sep 19
0
[LLVMdev] Where should I put libLLVMgold.so??
On 2009-09-19 03:28, zhunan wrote: > Yes,but ubuntu's directory structure is not exactly the same as the > classic linux distribute, > > I put libLLVMgold.so in /usr/lib/gcc/i486-linux-gnu/4.2.4 where cc1 is > also in. > > Are you sure that is llvm-gcc's cc1, and not your system compiler's? Try this: $ llvm-gcc -### -x c /dev/null Then look for a line
2014 Aug 22
1
what are labels in struct sxpinfo_struct from Rinternals.h mean?
Dear Rdevelers, ? ? ?The following struct is in the Rinternals.h. I want to know ?the meanings of labels or names like "gp,mark,obj,named,trace....." . TKS! struct sxpinfo_struct { ? ? SEXPTYPE type ? ? ?: ?5;/* ==> (FUNSXP == 99) %% 2^5 == 3 == CLOSXP ? ? * -> warning: `type' is narrower than values ? ? * ? ? ? ? ? ? ?of its type ? ? * when SEXPTYPE was an enum
2014 Oct 20
1
HOW to call R code from matlab?
Dear expeRts, ?? I am fammilar with matlab , i want to call some r codes from it , what can i refer? ?I tried R.matlab. But it seems can't work well. so, do you have any other suggestions? -- PO SU mail: desolator88 at 163.com Majored in Statistics from SJTU
2014 Oct 10
1
how to break the loop using sapply?
Dear expeRts, ?? i? use sapply for loop,?and i want to break it when i needed, how to do that?? e.g. sapply( 1:10, function(i) { if(i==5) break and jump out of the function sapply } ) I want to do it because i have to loop 1000000 times, but i don't know when it will break, that means, it may need break at i=5 or at i=50000, for the possible of the? last case, i don't use for loop,
2013 May 08
0
[LLVMdev] How to avoid loopverify failures after replacing the backedge with an edge(latchBB to exitBB) in a looppass?
On May 7, 2013, at 8:26 PM, zhiyuan yang <sjtu.yzy at gmail.com> wrote: > Hi, > > I am writing a loop pass to replace the backedge with an edge from latch to exit. > Now I just replace the terminator of latch with another BranchInst, and the loop will not be a loop after my pass. However, it turns out a failure of loopverify after executing my pass: > > opt: