[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43319] Octave dev version fails to build with
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64 |
Date: |
Mon, 06 Oct 2014 18:18:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.0 |
Follow-up Comment #13, bug #43319 (project octave):
The default for most GNU/linux blas libraries (and other libraries that rely
on them) is to use 32-bit indexing even on 64-bit systems like x86_64. I
don't know how to tell what library has been dynamically linked from within
Octave itself or how to determine whether 32-bit indexing is being used other
than perhaps to try a test call to a blas function and see if it does the
right thing.
In any case, I built Octave from the default branch (hg id ec037d41da06) using
the mxe-octave configure command
./configure --enable-system-gcc --enable-64 --enable-lib64-directory
--disable-jit --enable-native-build --enable-pic-flag --host=gnu-linux
I also had to remove the gnulib-isatty patch as it is no longer needed. And I
added the following patch
diff -uNr a/libgui/graphics/QtHandlesUtils.cc
b/libgui/graphics/QtHandlesUtils.cc
--- a/libgui/graphics/QtHandlesUtils.cc 2014-08-01 14:07:55.000000000 -0400
+++ b/libgui/graphics/QtHandlesUtils.cc 2014-10-06 08:56:32.015644544 -0400
@@ -220,8 +220,8 @@
if (dv.length () == 3 && dv(2) == 3)
{
- int w = qMin (dv(1), width);
- int h = qMin (dv(0), height);
+ int w = qMin (dv(1), static_cast<octave_idx_type> (width));
+ int h = qMin (dv(0), static_cast<octave_idx_type> (height));
int x_off = (w < width ? (width - w) / 2 : 0);
int y_off = (h < height ? (height - h) / 2 : 0);
Starting the resulting Octave binary and executing __run_test_suite__ produced
the following results for me:
PASS 12377
FAIL 0
XFAIL 10
SKIPPED 66
I think the skipped tests are due to disabling qhull and the jit compiler.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43319>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, (continued)
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/04
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, Philip Nienhuis, 2014/10/05
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/05
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, Philip Nienhuis, 2014/10/05
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, Philip Nienhuis, 2014/10/05
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/05
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/06
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/06
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John W. Eaton, 2014/10/06
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, Philip Nienhuis, 2014/10/06
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64,
John W. Eaton <=
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, Philip Nienhuis, 2014/10/06
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John W. Eaton, 2014/10/06
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John W. Eaton, 2014/10/09
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John W. Eaton, 2014/10/09
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, Mike Miller, 2014/10/14
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/18
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John W. Eaton, 2014/10/18
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/18
- [Octave-bug-tracker] [bug #43319] Octave dev version fails to build with --enable-64, John Donoghue, 2014/10/28