octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with a gcc error while trying to fix JIT


From: Abhinav Tripathi
Subject: Re: Help with a gcc error while trying to fix JIT
Date: Sun, 27 Nov 2016 21:03:20 -0800

On Nov 28, 2016 6:44 AM, "Jordi GutiƩrrez Hermoso" <address@hidden> wrote:
>
> On Sun, 2016-11-27 at 12:38 -0800, Abhinav Tripathi wrote:
> > I have been trying, just to do something in spare time, to fix the
> > JIT compilation with llvm 3.8.1 (which is available via 'sudo
> > apt-get install llvm-dev' on ubuntu 16.04)....
>
> Unless you are going to do a considerable amount of work to fix the
> JIT implementation to use LLVM's stable C API, this is a dead end. You
> may fix the compilation for LLVM 3.8.1, but it will remain broken for
> past and future LLVM implementations, because the C++ API breaks every
> LLVM release.
>

Well, I thought I will fix it for at least 1 of the versions then add a note on the JIT page that please compile with this version. And 3.8 is fairly new and available on the latest LTS of ubuntu.
.
Moreover, I have no problem if I fail to fix it completely as I had absolutely no idea about JIT a few days back but now I have read through so much source material it has been a good learning experience.
Also I have been using a lot of Matlab/Octave code to generate feature matrices which just loops over each element of a huge array and calls a function to generate features for each element. I thought JIT might help me speed things up. I have tried parfor but the performance gain is not considerable.
.
.
> > But now I get a lot of "note"s in blue colors which lead to failure
> > of build.
>
> Notes are not error messages. They are attached to error messages in
> order to explain an earlier error message. In this case, it's kind of
> a "stack trace" of a failed template instantiation, I think. The notes
> are telling you the steps that gcc took towards finding that
> compilation error. It's difficult to know for sure because you
> neglected to show us your actual error message, which should be higher
> above before all of the notes.
>
.
Thanks a lot! I thought that "note"s are only generated if template initialization fails. My terminal showed only notes. I finally increased the scroll amount of terminal and saw the error.
.
> - Jordi G. H.
>
>
.
Abhinav


reply via email to

[Prev in Thread] Current Thread [Next in Thread]