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 <20090302110553.GA274304%medusa.sis.pasteur.fr@localhost>,
Nicolas Joly <njoly%pasteur.fr@localhost> wrote:
>On Sun, Mar 01, 2009 at 11:08:02PM +0000, Christos Zoulas wrote:
>> 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...
>
>There is, at least, a zero divide error :
>
>[...]
> build libsyspuffs/librumpfs_syspuffs_pic.a
>/local/src/NetBSD/tool/bin/nbawk: floating point exception: Floating
>point divide by zero
> input record number 435, file
> source line number 1
> compile libsyspuffs/puffs_rumpglue.o
> build libsyspuffs/librumpfs_syspuffs.so.0.0
> build libsyspuffs/librumpfs_syspuffs.a
>/local/src/NetBSD/tool/bin/nbawk: floating point exception: Floating
>point divide by zero
> input record number 435, file
> source line number 1
> compile liblfs/lfs_vfsops.po
>[...]
So the next step is to add some printfs to the awk script to track this down.
christos
Home |
Main Index |
Thread Index |
Old Index