[Gambas-user] LLVM compilation error

Emil Lenngren emil.lenngren at ...626...
Wed Dec 19 16:04:04 CET 2012


Let's wait until tomorrow. Who knows if they re-rename it again in the last
minutes? ;)

/Emil

2012/12/19 Tobias Boege <taboege at ...626...>

> On Tue, 18 Dec 2012, Tobias Boege wrote:
> > Hi Emil,
> >
> > Hans gave me some output from his gb.jit compilation attempt:
> >
> > --8<---------------
> >
> > make[4]: Betrete Verzeichnis '/home/hans/3.4/gb.jit/src'
> >   CXX    gb_jit_la-jit_codegen.lo
> > In file included from jit_codegen.cpp:34:0:
> > jit.h:42:36: fatal error: llvm/Support/IRBuilder.h: No such file or
> > directory
> > compilation terminated.
> > make[4]: *** [gb_jit_la-jit_codegen.lo] Fehler 1
> > make[4]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit/src'
> > make[3]: *** [all-recursive] Fehler 1
> > make[3]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit'
> > make[2]: *** [all] Fehler 2
> > make[2]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit'
> > make[1]: *** [all-recursive] Fehler 1
> > make[1]: Verlasse Verzeichnis '/home/hans/3.4'
> > make: *** [all] Fehler 2
> > hans at ...56...:~/3.4$ ^C
> >
> > --8<---------------
>
> So, rev #5446 was verified to work in another thread[0] but I checked out
> LLVM's svn repository (via the git mirror) and built the
>
> $ llvm-config --version
> 3.3svn
>
> which seems to not call some class "llvm:Attributes" (as in the 3.2svn or
> so) but "llvm:Attribute" (as it was before), again.
>
> The attached patch makes compilation work again for the more recent SVN
> version. These LLVM people seem to be really uncertain about naming :-)
>
> FYI, the commit logs show that:
>
> a) Somewhen after rev #164727 (September) the llvm:Attribute class must
> have
>    vanished.
> b) The re-renaming to llvm:Attribute was at rev #170502 (today morning!).
>
> c) IRBuilder.h changed location with rev #159421 (June).
>
> Regards,
> Tobi
>
> [0] http://sourceforge.net/mailarchive/message.php?msg_id=30248749
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list