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: Tue, 1 Jan 2013 22:58:22 -0700

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.

-- 
Max Brister

Attachment: no_complex_sse_try2.patch
Description: Binary data


reply via email to

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