bugGNU Octave - Bugs: bug #48159, jit with enable-64 , ambiguous...

 
 

bug #48159: jit with enable-64 , ambiguous build error - two possible functions

Submitted by:  José García <chechugarriga>
Submitted on:  Tue 07 Jun 2016 11:17:21 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: jit bad index with --enable-64Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 14 Jun 2016 11:35:05 AM UTC, comment #2:

Thanks so much. It know compiles and make check is successful.
Cheers, Jose.

José García <chechugarriga>
Tue 07 Jun 2016 04:12:23 PM UTC, comment #1:

I applied a fix for this on the default branch:

http://hg.savannah.gnu.org/hgweb/octave/rev/0f1440e262b6

Please update and report whether it resolves the build error for you.

Mike Miller <mtmiller>
Project Administrator
Tue 07 Jun 2016 11:17:21 AM UTC, original submission:

Good evening to everyone.

We are facing problems for building octave 4.1+ with jit.
The version of LLVM in use is 3.3.
The file that is been modifyed is jit-typeinfo.cc.

The compiler fails because is not confident to decide between two alternative functions; one setting the arg as double and the other setting the arg as octave_idx_type.

This function is responsible of returning the result for an invalid index.

If the parameter -1 that sets this behaviour is cast to double, the compilation succeds.

---------------

extern "C" void
octave_jit_ginvalid_index (void)
{
// FIXME: 0-argument form of err_invalid_index removed in cset dd6345fd8a97
// Report -1 as the bad index for all occurrences.
err_invalid_index ((double)-1);
}
-----------------

José García <chechugarriga>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by chechugarriga (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Jun 2016 03:02:40 PM UTCmtmillerStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 07 Jun 2016 04:12:23 PM UTCmtmillerStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1