Port-i386 archive

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

Re: MATH_EMULATE



v.herman%sh.cvut.cz@localhost said:
> It runs just fine until the final phase (after ^Cing it), then crashes
>  with the error previously reported. 

sqrt is needed to calculate the stddev.

What happens if you add
COPTS=  -mno-fancy-math-387

to src/sbin/ping/Makefile and rebuild?
According to the gcc manpage this is default on NetBSD,
but appearently this got lost in the aout->ELF transition.
(look for MASK_NO_FANCY_MATH_387 in gcc configs)

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index