|
| From: | JoséGarcía |
| Subject: | [Octave-bug-tracker] [bug #48159] jit with enable-64 , ambiguous build error - two possible functions |
| Date: | Tue, 7 Jun 2016 11:17:24 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0 |
URL:
<http://savannah.gnu.org/bugs/?48159>
Summary: jit with enable-64 , ambiguous build error - two
possible functions
Project: GNU Octave
Submitted by: chechugarriga
Submitted on: dt 07 jun 2016 11:17:21 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: jit bad index with --enable-64
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
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);
}
-----------------
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48159>
_______________________________________________
Missatge enviat a través de/per Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |