octave-maintainers
[Top][All Lists]
Advanced

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

Re: JIT test crash


From: Max Brister
Subject: Re: JIT test crash
Date: Wed, 2 Jan 2013 18:13:03 -0600

On Wed, Jan 2, 2013 at 6:10 PM, Michael Goffioul
<address@hidden> wrote:
> On Wed, Jan 2, 2013 at 12:58 AM, Max Brister <address@hidden> wrote:
>>
>> On Sat, Dec 29, 2012 at 3:43 PM, Michael Goffioul
>> <address@hidden> wrote:
>> > On Sat, Dec 29, 2012 at 12:45 AM, Max Brister <address@hidden> wrote:
>> >>
>> >> I just remembered, I can use #ifdef to see if Cell.h has been
>> >> included. I pushed a change set that does this
>> >> http://hg.savannah.gnu.org/hgweb/octave/rev/500650d6ddf5
>> >>
>> >> We shouldn't see the Cell.h inclusion error again.
>> >
>> >
>> > Ok, with your last 2 changes, I can get it to compile again. But test
>> > suite
>> > stops at an early stage, with this error:
>> >
>> > LLVM ERROR: Program used external function 'octave_jit_create_undef'
>> > which
>> > could not be resolved!
>> > Stack dump:
>> > 0.      Running pass 'X86 Machine Code Emitter' on function '@_wrapper'
>> >
>> > This happens in the following test in cellfun.cc:
>> >
>> > A = cellfun (@(x,y,z) x + y + z, {1, 1, 1}, {2, 2, 2}, {3, 4, 5});
>> > assert (A, [6, 7, 8]);
>> >
>> > Michael.
>> >
>>
>> It looks like we need to explicitly pass function pointers to LLVM on
>> windows. I have amended the patch to explicitly pass function
>> pointers, hopefully I didn't miss any cases.
>
>
> Looks good. The test suite runs fine, with the usual failures.
>
> Michael.
>

Ok, I'll go ahead and push the patch.

-- 
Max Brister


reply via email to

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