[LLVMdev] Problem with DragonEgg 3.3rc2 on Fedora 19 Beta
Duncan Sands
baldrick at free.fr
Mon Jun 3 00:59:46 PDT 2013
Hi Eric,
On 03/06/13 08:50, Eric Smith wrote:
> I'm the package maintainer for DragonEgg for Fedora. I've just tried to update
> the DragonEgg package for Fedora 19 beta, which uses gcc 4.8.0.
>
> I had to modify the DragonEgg Makefile because llvm-config --libs is generating
> the names of the static libraries, while I need to link to the dynamic library
> (libLLVM-3.3.so <http://libLLVM-3.3.so>). I don't think this is the cause of my
> problem, but I suppose I could be wrong.
>
> Anyhow, I have a very simple C program.
your program has a mistake in it, you should initialize i with i=0 not with i=i
here:
for (i = i; i <= 30; i++)
Ciao, Duncan.
When I compile it with gcc (on Fedora
> 19 beta, x86_64), it works fine. When I compile it with gcc -fplugin=dragonegg,
> I get an executable that doesn't seem to execute the printf inside the loop.
>
> The C program, executables from gcc and gcc -fplugin=dragonegg, and
> disassemblies of the .o files can be found here:
> http://fedorapeople.org/~brouhaha/dragonegg/
> <http://fedorapeople.org/%7Ebrouhaha/dragonegg/>
>
> If anyone would care to take a look at this, I can provide account credentials
> to ssh into the system I'm using.
>
> Thanks!
> Eric
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list