[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alpha build box ?

On Fri, Nov 02, 2001 at 08:05:03AM -0500, Christopher C. Chimelis wrote:
> I'd be happy to test it for you :-)

Please, ...

you need to do the following :

apt-get source ocaml

cd ocaml-3.02

apply this patch to debian/rules

build the package normally and try a division by zero or something such, 

The bug submitter proposed (116289) to do the following :

bash$ ocaml
        Objective Caml version 3.02

# 1.0 +. sqrt(-1.0);;

correct result would be :

- : float = nan

and bad behavior would be :

bash: : floating point exception (core dumped)  ocaml

then you can quit with :

# exit 0;;

PLease keep me informed, if this will not solve the problem, i need to go
upstream and see what they will say to me (but an older problem of this kind
gave the repsonse form them to use -mieee or similar, so i hope it will work.

If that works, i will do the right fix (as you see in the patch below, it will
not work for non alpha boxes) and also maybe submitt it upstream.

Note : the bug was submitted by Falk Hueffner, i asked him to test the same as
above, but got no more response from him, most probably he was to busy for it,
or maybe my mail didn't reach him.

--- rules.orig  Sat Oct 20 12:01:33 2001
+++ rules       Sat Oct 20 12:02:08 2001
@@ -13,7 +13,8 @@
        # Add here commands to configure the package.
        ./configure -with-pthread -prefix /usr                          \
-               -mandir /usr/share/man/man1
+               -mandir /usr/share/man/man1                             \
+               -cc "gcc -mieee"
        sed -e "s%MANDIR=.*$$%MANDIR=\$$(PREFIX)/share/man/man1%g"      \
                config/Makefile >config/Makefile.debian
        mv config/Makefile.debian config/Makefile

Reply to: