Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] How the LLVM Compiler Infrastructure Works"
2009 Apr 05
0
[LLVMdev] How the LLVM Compiler Infrastructure Works
On Sunday 05 April 2009 06:33:00 Rajika Kumarasiri wrote:
> FYI,
> http://www.informit.com/articles/article.aspx?p=1215438
>
> -Rajika
LOL:
"In contrast, every time I look at the GCC code, it takes two people to
prevent me from clawing my eyeballs out."
:-)
--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
2009 Apr 05
1
[LLVMdev] How the LLVM Compiler Infrastructure Works
I've experienced GCC induced eyeball-clawing....
Not pretty!
On Sun, Apr 5, 2009 at 9:37 AM, Jon Harrop <jon at ffconsultancy.com> wrote:
> On Sunday 05 April 2009 06:33:00 Rajika Kumarasiri wrote:
> > FYI,
> > http://www.informit.com/articles/article.aspx?p=1215438
> >
> > -Rajika
>
> LOL:
>
> "In contrast, every time I look at the GCC
2009 Apr 12
9
[LLVMdev] Porting LLVM backend is no fun yet
As we've already seen, David Chisnall prefers hacking LLVM over GCC (see
http://www.informit.com/articles/article.aspx?p=1215438): "In contrast,
every time I look at the GCC code, it takes two people to
prevent me from clawing my eyeballs out."
I'm sorry to report that so-far I have had the opposite experience.
Some years ago, I ported binutils (via CGEN) and GCC to an
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <rpechayr at gmail.com> wrote:
> Ok. Thank you for your input. New questions :) :
> - Is the dev package basically the source code of gcc 4.2 ? Isn't it
> already fully included in llvm-gcc code base ?
>
AFAIR, you need to have the set of headers, gcc-dev.( Some one else may
provide you with this information)
> - How
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Thanks. It worked for a few more compilation lines.
I now get the following linker error:
undefined reference to llvm::MemoryBuffer::getNewMemBuffer(unsigned long,
llvm::StringRef)
I am surprised since the linker compile line already links with a whole
bunch of llvm libraries ...
Thanks for your help
Romain
On Thu, Aug 12, 2010 at 4:03 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
2010 Aug 12
1
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I got this one fixed by rebuilding llvm Debug (oups). I had an old version.
I now seem to have a classical message:
version GLIBCXX_3.4.14 not found.
I am indeed building llvm-gcc using gcc4.5. Is this the problem ? The fix to
this problem indicated in README.LLVM does not help ..
Thanks
Romain
On Thu, Aug 12, 2010 at 6:43 PM, Romain Pechayre <rpechayr at gmail.com> wrote:
> Thanks.
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Ok. Thank you for your input. New questions :) :
- Is the dev package basically the source code of gcc 4.2 ? Isn't it already
fully included in llvm-gcc code base ?
- How should I include bison+flex when I have installed Do I need to put
additional flags to configure script ?
Cheers,
Romain
On Thu, Aug 12, 2010 at 3:13 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
> I need to
2008 Jul 06
3
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
hello every body.
Here with I have attached the patch which compile the llvm-gcc using nightly
tester script. This patch add the following capabilities to the
NewNightlyTester.pl script.
1. Checkout the llvm-gcc4.2 source from the SVN.
2. Compile the checkout llvm-gcc4.2 source tree.
3. Gather the configure/make out put informations.
4. Add the (3) informations to the %hash_of_data hash to be
2008 Jul 07
2
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
On Mon, Jul 7, 2008 at 11:10 AM, Rajika Kumarasiri <rajikacc at gmail.com> wrote:
> hello everybody,
>
> I have added few improvements to my patch. Please review the new patch
> directly.
> Thanks!
>
Hi Rajika,
A few stylistic comments. I'll let others comment on the algorithm for now:
if ($VERBOSE) {
print "( time -p $SVNCMD/llvm/trunk llvm; cd
2008 Jul 07
0
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
hello everybody,
I have added few improvements to my patch. Please review the new patch
directly.
Thanks!
-Rajika
On Sun, Jul 6, 2008 at 9:17 PM, Rajika Kumarasiri <rajikacc at gmail.com>
wrote:
> hello every body.
>
> Here with I have attached the patch which compile the llvm-gcc using
> nightly tester script. This patch add the following capabilities to the
>
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I need to add, also you'll need bison+flex.
Rajika
On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
> You'll need to install the dev packages for gcc 4.2.
>
> Rajika
>
> On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com>wrote:
>
>> Hello all,
>>
>> I am trying to build the latest version
2008 Jul 07
1
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
Thanks :-)
One last thing. It seems like the patch has a lot of whitespace
changes. Could you create the diff with the -b option?
-bw
On Mon, Jul 7, 2008 at 11:49 AM, Rajika Kumarasiri <rajikacc at gmail.com> wrote:
> hi Bill,
> Thanks for the comments. I'll update the patch according to that.
>
> -Rajika
>
> On Mon, Jul 7, 2008 at 11:56 PM, Bill Wendling
2008 Mar 09
2
[LLVMdev] participating in GSoC 2008 in LLVM
Hello every body,
I am a Computer Science and Engineering final year undergraduate in here
[1].
As you all aware of GSoC 2008 program is now on [2]. I would like to
participate in this on a project on LLVM. The reason why I selected LLVM is
I am really interested in compiler theory.
I took the one semester course on compiler theory and developed a lexical
analyzer in C for a subset of Javascript
2009 Apr 13
0
[LLVMdev] Porting LLVM backend is no fun yet
Hi Greg,
I understand your frustration. I've been on this mailing list for a
little over a year hoping that by osmosis I could get a a better
handle on writing a back end for LLVM. Although I feel more
comfortable with the nomenclature, I still do not have a clue as to
how to begin (actually I do, but it sounds more dramatic saying it
this way). I've read the documentation, but
2008 Jul 07
0
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
hi Bill,
Thanks for the comments. I'll update the patch according to that.
-Rajika
On Mon, Jul 7, 2008 at 11:56 PM, Bill Wendling <isanbard at gmail.com> wrote:
> On Mon, Jul 7, 2008 at 11:10 AM, Rajika Kumarasiri <rajikacc at gmail.com>
> wrote:
> > hello everybody,
> >
> > I have added few improvements to my patch. Please review the new patch
> >
2009 Apr 18
1
[LLVMdev] build failure in llvm revision69440
hi,
I am getting following compilation error while compiling llvm. I installed
the missing libs. using my package manager (and there are in /usr/loca/lib
path). Any clue to fix the problem. Thanks!
/home/rajika/projects/llvm/llvm-objects/Debug/bin/tblgen: error while
loading shared libraries: libffi.so.4: cannot open shared object file: No
such file or directory
make[1]: ***
2008 Mar 10
0
[LLVMdev] participating in GSoC 2008 in LLVM
On Mar 8, 2008, at 10:46 PM, Rajika Kumarasiri wrote:
> Hello every body,
> I am a Computer Science and Engineering final year undergraduate in
> here [1].
> As you all aware of GSoC 2008 program is now on [2]. I would like to
> participate in this on a project on LLVM. The reason why I selected
> LLVM is I am really interested in compiler theory.
> I took the one
2008 Jul 07
1
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
Rajika,
A couple of comments:
- You should provide a way to specify where llvm-gcc is built (just like
llvm).
- I would highly recommend allowing the user to only update llvm-gcc and
not check it out from scratch each time. Checking out llvm-gcc is very
time consuming. You would need to make sure that llvm and llvm-gcc have
the same rev number and nuke the llvm obj/install dirs so you get a
2010 Feb 21
1
[LLVMdev] Possibly using a broken version of GCC to build LLVM (file won't finish compiling).
>From a cached version of the Getting Started Guide, I have found:
"GCC 3.4.4 (CodeSourcery ARM 2005q3-2): this compiler miscompiles LLVM
when building with optimizations enabled. It appears to work with
"make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION=-O1" or build a debug build."
I'm trying that now.
-Puyan
On Sun, Feb 21, 2010 at 1:22 AM, Rajika Kumarasiri <rajika at
2010 Aug 31
4
[LLVMdev] LLVM-C tutorial
I am going to post my first chapter, just to see if it is acceptable.
Any feedback is good feedback for me.
Filip
On 31 Aug 2010, at 17:25, Rajika Kumarasiri wrote:
> Most of the documents (html) are generated using rst2html. So I think a patch to the rst file in llvm/tools/llvmc/doc should be fine.
>
> Rajika
>
> On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren