Re: [Pkg-octave-devel] Bug#666142: octave: Please support -mieee option to mkoctfile
On 30/03/12 06:04, Thomas Weber wrote:
> On Thu, Mar 29, 2012 at 07:30:11PM +1300, Michael Cree wrote:
>> On 29/03/12 17:20, Nobuhiro Iwamatsu wrote:
>>> Source: octave
>>> Version: 3.6.1-4
>>>
>>> octave-octcdf FTBFS on Alpha. (maybe on sh4 too.)
>>> http://buildd.debian-ports.org/status/fetch.php?pkg=octave-octcdf&arch=alpha&ver=1.1.4-1&stamp=1332884789
>>>
>>> Because mkoctfile does not support mieee option, this problem happens.
> How can I get access to an unstable sid chroot on alpha? Is DSA involved
> in this as outlined in http://dsa.debian.org/doc/install-req/?
Maybe. My understanding is that the official Alpha buildd and porterbox
are to be decommisioned when they are no longer needed for Lenny, but I
don't know if that has happened or not.
Anyway I attach an updated version of the miee patch that applies
correctly to octave 3.6.1-4. I have built octave on an Alpha in a clean
chroot, installed it, and verified that octave-octcdf then builds to
completion.
Cheers
Michael.
--- octave-3.6.1.orig/src/mkoctfile.cc.in
+++ octave-3.6.1/src/mkoctfile.cc.in
@@ -562,6 +562,12 @@ main (int argc, char **argv)
{
pass_on_options += (" " + arg);
}
+ else if (arg == "-mieee")
+ {
+ vars["ALL_CFLAGS"] += " -mieee";
+ vars["ALL_CXXFLAGS"] += " -mieee";
+ vars["ALL_FFLAGS"] += " -mieee";
+ }
else
{
cerr << "mkoctfile: unrecognized argument " << arg;
--- octave-3.6.1.orig/src/mkoctfile.in
+++ octave-3.6.1/src/mkoctfile.in
@@ -343,6 +343,11 @@ EOF
-W*)
pass_on_options="$pass_on_options $1"
;;
+ -mieee)
+ ALL_CFLAGS="$ALL_CFLAGS -mieee"
+ ALL_CXXFLAGS="$ALL_CXXFLAGS -mieee"
+ ALL_FFLAGS="$ALL_FFLAGS -mieee"
+ ;;
*)
echo "mkoctfile: unrecognized argument $1" 1>&2
exit 1
Reply to: