Current-Users archive

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

Re: build failure (alpha-current): floating point exception 8



In article <86sklwyhov.wl%kazumi%mse.biglobe.ne.jp@localhost>,
FURUSAWA Kazumi  <kazumi%mse.biglobe.ne.jp@localhost> wrote:
>Hi, all,
>
>build error deteced as below:
>
>/usr/local/NetBSD-current/tooldir/bin/alpha--netbsd-nm -go librump.a |
>/usr/local/NetBSD-current/tooldir/bin/nbawk '  
>$NF!~/^(rump|RUMP|__|_GLOBAL_OFFSET_TABLE'')/  {printf "%s rumpns_%s\n",
>$NF, $NF}'  | sort | uniq  > renametab.librump.a
>/usr/local/NetBSD-current/tooldir/bin/nbawk: floating point exception 8
> input record number 1989, file 
> source line number 1
>/usr/local/NetBSD-current/tooldir/bin/alpha--netbsd-objcopy
>--redefine-syms renametab.librump.a librump.a
>
>Is this change correct?
>
>--- tools/awk/Makefile 2009-03-02 07:31:18.000000000 +0900
>+++ tools/awk/Makefile.new     2009-02-14 20:48:48.000000000 +0900
>@@ -4,4 +4,8 @@
> HOST_SRCDIR=  usr.bin/awk
> HOST_CPPFLAGS+=       -D__EXTENSIONS__        # for isblank
> 
>+.if ${MACHINE} == "alpha"
>+HOST_CFLAGS+= -mieee
>+.endif
>+
> .include "${.CURDIR}/../Makefile.host"

This will hide the problem, because a signal will not be generated, but
there could be a zero divide or an overflow. I will make the error message
more informative...

christos



Home | Main Index | Thread Index | Old Index