Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] LLVM gcc front-end versus Microsoft Visual C++ 8.0 compiler"
2006 Aug 04
1
[LLVMdev] Building llvm under cygwin
install configuration built successfully too. llvm-gcc version is:
gcc version 4.0.1 LLVM <Apple Computer, Inc. build 5400>
how can I test it? I need to run make check in llvm/obj dir or in
llvm-gcc/obj dir?
Thanks
On 8/4/06, Anton Vayvod <avayvod at gmail.com> wrote:
>
> Yes, I didn't install it myself.
>
> llvm-gcc4 has built successfully.
>
> Making
2006 Sep 02
2
[LLVMdev] Adding register allocator to LLVM
Hi all!
I didn't manage to link my regalloc to lli (I added USEDLIBS to its
makefile). Without it I can't run tests cause they need lli to be built. So
how can I link createMyRegisterAllocator function to lli?
Thanks.
On 8/22/06, Anton Vayvod <avayvod at gmail.com> wrote:
>
> I managed to link my RegAlloc.a library to llc tool but can;t make the
> same with lli tool.
2009 May 04
0
[LLVMdev] leveraging back-end C compiler features in the gcc-based front-end
On Sun, May 3, 2009 at 6:19 PM, Bob Frankel <bios.bob.frankel at gmail.com> wrote:
> i'm looking into using llvm with TI's MSP430
Ah, you're in luck then: an MSP430 backend was checked in to SVN today
:) I don't think it's mature enough for general use yet, though.
> is there a way to leverage these (non-gcc) intrinsics in the llvm gcc-based
> frontend --
2009 May 04
2
[LLVMdev] leveraging back-end C compiler features in the gcc-based front-end
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">wow!!! i would be interested in
trying
2009 May 05
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hi,
> cc1: /pkg/build/llvm/llvm-2.5/include/llvm/Transforms/Utils/InlineCost.h:44:
> llvm::InlineCost::InlineCost(int, int): Assertion `Cost == C && "Cost
> exceeds InlineCost precision"' failed.
> ../../llvm-gcc4.2-2.5.source/gcc/libgcov.c:644: internal compiler error: Aborted
this is indeed a miscompilation by your system compiler. However so many
compilers
2009 May 06
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hello, Scott
> Thanks, I am making some progress. The latest from svn (for llvm and
> llvm-gcc) built successfully. I built everything without adjusting the
> PATH, so I guess I used gcc 4.1.2.
Even if you'll succeed, most probably LLVM will be miscompiled. gcc
4.1.2 is known buggy: http://llvm.org/docs/GettingStarted.html#brokengcc
---
With best regards, Anton Korobeynikov.
2009 May 09
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hi,
> OK, not quite sure what this means about my system tools. Is there
> something I should be concerned about?
it seems that a bug in your system tools happens to be tickled by
LLVM. We can't do much about the fact that your system doesn't
work properly, though if enough people see a problem we do sometimes
try to tweak LLVM so it avoids triggering the bug. If you don't
2009 May 06
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hello, Scott
> Yes, so I have read -- which is why I initially installed gcc-4.2.4.
> My original post was looking for help on how to use gcc-4.2.4. Some
> suggestions were made, but I was not able to get everything built. It
> seems that despite attempting to configure with everything pointing to
> gcc-4.2.4 (and not the system gcc 4.1.2), at some point in the build,
>
2009 May 09
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
>> $ make -j15
>
> do you really have 15 CPUs? If not, this will most
> likely just slow things down.
>
I have 8 CPUs. I started with -j8 and turned the knob up a bit. It
seemed to run faster, so I stuck with j15. I guess there might be some
context switching when threads are blocking on memory or IO. I could
be imagining the speedups though because of some sort of placebo
2009 May 04
3
[LLVMdev] leveraging back-end C compiler features in the gcc-based front-end
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">i'm looking into using llvm with
TI's MSP430, for which a C compiler from TI already exists; the idea
here is to use llc -march=c and
2009 May 09
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hi,
> $ make -j15
do you really have 15 CPUs? If not, this will most
likely just slow things down.
> cc1: /pkg/build/llvm/llvm/lib/Analysis/ScalarEvolution.cpp:511:
> bool<unnamed>::SCEVComplexityCompare::operator()(const llvm::SCEV*,
> const llvm::SCEV*) const: Assertion `0 && "Unknown SCEV kind!"'
> failed.
>
2009 May 06
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
On Wed, May 6, 2009 at 12:51 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> Even if you'll succeed, most probably LLVM will be miscompiled. gcc
> 4.1.2 is known buggy: http://llvm.org/docs/GettingStarted.html#brokengcc
>
Yes, so I have read -- which is why I initially installed gcc-4.2.4.
My original post was looking for help on how to use gcc-4.2.4. Some
2009 May 05
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hi,
> $ ../llvm-2.5/configure --prefix=/pkg/bin/llvm/
> CC=/pkg/bin/gcc-4.2.4/bin/gcc CXX=/pkg/bin/gcc-4.2.4/bin/g++
> CXXCPP=/pkg/bin/gcc-4.2.4/bin/cpp LDFLAGS=-L/pkg/bin/gcc-4.2.4/lib64/
> CXXFLAGS=-I/pkg/bin/gcc-4.2.4/include/c++/4.2.4/
> CPPFLAGS=-I/pkg/bin/gcc-4.2.4/include/
how about:
export PATH=/pkg/bin/:$PATH
../llvm-2.5/configure --prefix=/pkg/bin/llvm/
instead?
Ciao,
2009 May 06
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hi Scott,
> On Tue, May 5, 2009 at 12:26 PM, Duncan Sands <baldrick at free.fr> wrote:
> > this is indeed a miscompilation by your system compiler. However so many
> > compilers miscompiled this that a workaround was committed to svn. So you
> > may want to check out llvm and llvm-gcc from svn. Alternatively, maybe
> > the patch applies to llvm 2.5 too.
2009 May 05
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Thanks for the suggestions. It looks like Duncan's suggestion got me a
step closer, but I still can't build llvm-gcc...
On Tue, May 5, 2009 at 12:56 AM, Christian Sayer
<Christian.Sayer at dibcom.fr> wrote:
> did you try a simple
>
> $ ../llvm-2.5/configure --prefix=/pkg/bin/llvm/
> CC=/pkg/bin/gcc-4.2.4/bin/gcc CXX=/pkg/bin/gcc-4.2.4/bin/g++
Tried that, same error.
2009 May 06
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
On Tue, May 5, 2009 at 11:33 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Scott,
>
>> On Tue, May 5, 2009 at 12:26 PM, Duncan Sands <baldrick at free.fr> wrote:
>> > this is indeed a miscompilation by your system compiler. However so many
>> > compilers miscompiled this that a workaround was committed to svn. So you
>> > may want to check
2009 May 05
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
On Tue, May 5, 2009 at 12:26 PM, Duncan Sands <baldrick at free.fr> wrote:
> this is indeed a miscompilation by your system compiler. However so many
> compilers miscompiled this that a workaround was committed to svn. So you
> may want to check out llvm and llvm-gcc from svn. Alternatively, maybe
> the patch applies to llvm 2.5 too. I've attached it.
I will try the
2009 May 08
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Unfortunately I still have yet to successfully install llvm.
On Wed, May 6, 2009 at 2:32 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> That's correct. Since you have everything linked as shared libraries
> system dynamic linker will pick the shared library installed in the
> default library location. Most probably you will need to edit
> /etc/ld.so.conf and
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
Hi!
I'm developing a register allocator and need it to be available as an option
for llc tool. I used to edit /lib/CodeGen/Passes.cpp for this aim but after
yesterday's update these options are defined somewhere else and I can't find
the place.
Thanks for your help.
Tony.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 May 02
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Ah, nevermind... just needed to make clean to clear out some of the junk I
compiled with gcc-4.1.2. The build completed without error.
On Fri, May 1, 2009 at 2:14 PM, Scott Ricketts <sricketts at maxentric.com>wrote:
> I am attempting to install llvm on CentOS 5.3, which uses gcc-4.1.2 as its
> system compiler. Since this compiler has reported to behave poorly with
> llvm, I built