Subject: lib/34506: libc.a missing some -msoft-float routines (__floatsisf, __fixsfsi, __gtdf2)
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <sigmfsk@aol.com>
List: netbsd-bugs
Date: 09/11/2006 16:35:01
>Number:         34506
>Category:       lib
>Synopsis:       libc.a missing some -msoft-float routines (__floatsisf, __fixsfsi, __gtdf2)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 11 16:35:00 +0000 2006
>Originator:     Arthur Townsend
>Release:        3.0
>Organization:
>Environment:
NetBSD 3.0 (GENERIC3X) running on Sun 3/80.
>Description:
If I attempt to build the gcc-3.3.5 compiler with "-msoft-float -m68020" via the NetBSD 3.0 included gcc-3.3.3 compiler, the build fails on jartool.c with undefined reference to __floatsisf and __fixsfsi.  The command "nm /usr/lib/libc.a | grep fix" shows __fixdfdi, but not __fixsfsi.  I see that /usr/src/lib/libc/softfloat/softfloat-for-gcc.h references both __fixdfdi and __fixsfsi, but /usr/src/lib/libc/tags only defines __fixdfdi to /usr/src/lib/libc/quad/fixdfdi.c.  I can't find fixsfsi defined.  My libc.a on Netbsd 3.0 for i386 also doesn't have it/them.
>How-To-Repeat:
bunzip2 gcc-3.3.5.tar.bz2
tar xf gcc-3.3.5.tar
cd gcc-3.3.5
./configure --enable-long-long --disable-multilib --enable-threads --disable-symvers
make

>Fix: