Subject: lib/24118: libc compilation error on amd64 (fpclassifyl.c)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 01/16/2004 15:27:57
>Number: 24118
>Category: lib
>Synopsis: libc compilation error on amd64 (fpclassifyl.c)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 16 14:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Nicolas Joly
>Release: NetBSD 1.6ZH (-current 20040116)
>Organization:
Institut Pasteur
>Environment:
System: NetBSD calimero.sis.pasteur.fr 1.6ZH NetBSD 1.6ZH (GENERIC.MP) #20: Thu Jan 15 10:24:16 CET 2004 njoly@calimero.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/GENERIC.MP amd64
Architecture: x86_64
Machine: amd64
>Description:
There is a small typo `u.dblu_ld' instead of `u.extu_ld' in
lib/libc/arch/x86_64/gen/fpclassifyl.c, which makes libc compilation
abort on amd64 machines.
>How-To-Repeat:
Compile/Cross-compile -current libc for amd64.
>Fix:
Index: lib/libc/arch/x86_64/gen/fpclassifyl.c
===================================================================
RCS file: /cvsroot/src/lib/libc/arch/x86_64/gen/fpclassifyl.c,v
retrieving revision 1.1
diff -u -r1.1 fpclassifyl.c
--- lib/libc/arch/x86_64/gen/fpclassifyl.c 2003/10/28 22:05:37 1.1
+++ lib/libc/arch/x86_64/gen/fpclassifyl.c 2004/01/16 14:20:33
@@ -54,7 +54,7 @@
{
union ieee_ext_u u;
- u.dblu_ld = x;
+ u.extu_ld = x;
_DIAGASSERT(u.extu_ext.ext_exp == 0 || u.extu_ext.ext_int == 1);
>Release-Note:
>Audit-Trail:
>Unformatted: