Displaying 20 results from an estimated 1200 matches similar to: "[LLVMdev] Help with building LLVM 2.6 GCC"
2010 Mar 17
0
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Eliseu,
> 2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
> directory. I've also created two subdirectories
> called "install" and "obj" under the same llvm-gcc.
>
> 3. Then I did the following, based on README.LLVM :
>
> %setenv LLVMOBJDIR /home/eliseuf/llvm/llvm-gcc/obj
first you need to build llvm itself. LLVMOBJDIR
2010 Apr 01
3
[LLVMdev] Help with building LLVM 2.6 GCC
I'm running into the same error.
Correct me if I'm wrong. To build llvm, you'd need llvm-gcc front-end.
You're saying we'd need llvm in order to build llvm-gcc.
So how should we kick start the process?
Thanks.
Duncan Sands wrote:
>
> Hi Eliseu,
>
>> 2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
>> directory. I've also
2010 Mar 18
2
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Aaron, Duncan
Thanks for the answers.
>From Duncan's e-mail, I've tried to build llvm-2.6. First problem was
a missing dependence on lbffi.so.4.
But I've downloaded the source from redhat, compiled and passed that point.
Now I have another missing dependence on GLIBCXX_3.4.9. The version in
my system is 3.4.6-11.
I've been looking around for a 3.4.9 rpm for redhat, could
2010 Mar 18
0
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Eliseu,
> Now I have another missing dependence on GLIBCXX_3.4.9. The version in
> my system is 3.4.6-11.
how does this missing dependence manifest itself?
Ciao,
Duncan.
2007 Oct 02
1
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
On Tue, 2007-10-02 at 14:38 -0700, Tanya M. Lattner wrote:
> > I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> > Front End source, but got the following error when compiling:
> >
> > configure: error: You must specify valid path to your LLVM tree with
> > --enable-llvm=DIR
> > make: *** [configure-gcc] Error 1
> >
> >
2006 Aug 20
2
[LLVMdev] Adding register allocator to LLVM
Dear Anton,
you can add your register allocator strait iin the
"lib/CodeGen/Passes.cpp", and then 're-make' it: "makellvm llc", on the
top of lib/CodeGen. It is faster than running make from LLVMOBJDIR. The
problem is that it only add to llc the changes on the lib/CodeGen
directory. If you change other parts, a make from LLVMOBJDIR will
synchronize it.
Try adding
2007 Oct 02
0
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
> I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> Front End source, but got the following error when compiling:
>
> configure: error: You must specify valid path to your LLVM tree with
> --enable-llvm=DIR
> make: *** [configure-gcc] Error 1
>
> I've done the following in csh before hand:
> $ setenv LLVMOBJDIR
2007 Oct 02
2
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
Front End source, but got the following error when compiling:
configure: error: You must specify valid path to your LLVM tree with
--enable-llvm=DIR
make: *** [configure-gcc] Error 1
I've done the following in csh before hand:
$ setenv LLVMOBJDIR /home/napi/proj/c2jvm/llvm/llvm-gcc/obj
Where did I go wrong?
2006 Aug 20
0
[LLVMdev] Adding register allocator to LLVM
Hi!
I've did what Jim Laskey wrote but llc didn't reckognize my regalloc option.
So I moved my allocator implementation into seperate folder within CodeGen
and wrote separate makefile for it (like in "Writing an LLVM pass"
tutorial). But when I run "make" from LLVMOBJDIR it doesn't enter the
RegAlloc directory and when linking llc an error like
2006 Apr 20
1
[LLVMdev] $(LLVMOBJDIR)/include should be added to the serch path
If llvm is build with srcdir != objdir, building gcc will fail with
../../llvm-gcc4-1.7.source/gcc/llvm-internal.h:36:36: error:
llvm/Support/DataTypes.h: No such file or directory
This happens because DataTypes.h is a generated header.
Adding -I$(LLVMOBJDIR)/include to INCLUDES in Makefile.in:878 solves
the problem.
One more thing, is the modified GCC available in some svn or cvs repository?
2006 May 01
1
[LLVMdev] successfully bootstraped on a i686-linux-gnu
Hi,
I recently bootstrapped gcc4 frontend on a i686-linux-gnu too.
As I notice, if the llvm "tools-only " was build with srcdir != objdir ,
the building of llvm-gcc4-1.7.source encountered mistakes of unable to find some header files.
So I just edited llvm-gcc4-1.7.source/gcc/Makefile.in and a line like this:
INCLUDES += -I$(LLVMOBJDIR)/include
With this change, the building errors
2006 Jul 07
1
[LLVMdev] Problem Compiling llvm-gcc4 r12 and r13
A clean build of revisions 12 or 13 of llvm-gcc4 produces:
make[1]: *** No rule to make target `llvm-backend.c', needed by `llvm-backend.o'. Stop.
While the gcc/Makefile.in has:
llvm-backend.o : llvm-backend.cpp $(ALL_HEADERS) #line 2440
it also has:
# APPLE LOCAL begin LLVM #line 1018
ifneq ($(LLVMOBJDIR),)
OBJS-common += llvm-backend.o llvm-convert.o
2006 Aug 20
1
[LLVMdev] make builds Release configuration by default
Hi!
I'm installing LLVM under Debian Linux.
I've installed llvm-gcc3 binaries and am trying to build LLVM.
I run make command from llvmobjdir and it builds Release configuration. I
didn't set ENABLE_OPTIMIZED variable to 1 and I didn't configure LLVM with
--enable-optimized switch. What can cause building Release configuration and
how can I switch to Debug one?
Thanks.
Tony.
2007 Oct 02
0
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
On 10/2/07, Mohd-Hanafiah Abdullah <napi at axiomsol.com> wrote:
> I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> Front End source, but got the following error when compiling:
>
> configure: error: You must specify valid path to your LLVM tree with
> --enable-llvm=DIR
> make: *** [configure-gcc] Error 1
>
> I've done the following
2008 Aug 22
1
[LLVMdev] "dyld: Library not loaded" llvm-gcc error
Hello Gordon
Thank you for your reply
When I tried building llvm-gcc from source I got the
error:
You must specify valid path to your LLVM tree with
--enable-llvm=DIR
I have tried setting $LLVMOBJDIR to the llvm folder,
llvm/Release and llvm/bin, but I still get the same error.
Scott
--------------------------------------
For All Sports Lovers! SPORTS OHEN PROJECT 2008
2006 Sep 28
2
[LLVMdev] GCC_4.2.0 problem
Hi,
I have seen the bug
http://llvm.org/bugs/show_bug.cgi?id=896
Maybe it is a non-issue but I had some trouble with this.
I am running Debian sid and were no longer able to compile llvm.
/home/fred/llvm/build/gcc/xgcc: /home/fred/llvm/build/gcc/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
The installed version have this symbol.
strings
2007 Aug 24
1
[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html
> Well, it depends on the configure parameter used while building llvm-
> gcc.
Hmm, there are other pages on the the website that tell you how you
should configure gcc, e.g. you're led from "How to build the C/C++
Frontend" at http://llvm.org/docs/CFEBuildInstrs.html to Subversion
HEAD (by virtue of an "svn co"). Then you're supposed to look at
README.LLVM. And
2008 Jan 14
0
[LLVMdev] Multiple definitions of _floor_log2
I am trying to build the llvm-gcc frontend. I think I have followed the
directions correctly.
I am using cygwin on XP SP2 (uname -a reports: CYGWIN_NT-5.1 pad7
1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin)
gcc --version reports: gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using
dmd 0.125)
Since there is no binary for llvm-gcc I am following the directions in
the tar file for the 4.2 version.
-
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
On Thu, 3 Aug 2006, Jim Laskey wrote:
> To force the load/linking of your register allocator into the llc/lli tools,
> add your create function's global declaration to "Passes.h" and add a
> "pseudo" call line to "llvm/Codegen/LinkAllCodegenComponents.h" .
Another note: with this new functionality you should be able to
dynamically load register
2007 May 12
5
[LLVMdev] C back-end differences
On Fri, 11 May 2007, me22 wrote:
> I'm not exactly sure how llvm-g++ works. I think it goes through the
> standard gcc sequence (gimple, rtl, and such) but then outputs LLVM
> (http://llvm.org/docs/LangRef.html), which is the intermediate
> representation used by the rest of the chain. To make an LLVM backend
> you would not need to deal with RTL and such at all.
llvm-g++