Subject: borken state of quad/soft float on sparc64
To: None <tech-toolchain@NetBSD.ORG>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 02/04/2002 13:41:13
I'm not trying to push anything or anyone, just like to ask for short term
band aid:

As some probably remember for example perl can not be build on sparc64 right
now because some libgcc support routines are not available. IIRC the reason
preventing the addition of this functions is a broken call sequence generated
by gcc.

Well, this used to work with not integrated toolchain, so could we please,
while still in the longterm look for a proper fix, just for now restore
some kind of working behaviour?

Not being able to build perl makes something like 90% of pkgsrc unuseable.

I myself am glad I kept an old working perl binary around ;-)

Martin

P.S.: example from the final steps before building perl fails:

cc -c  -DDEBUGGING -fno-strict-aliasing -I/usr/pkg/include -DDLOPEN_WONT_DO_RELA              TIVE_PATHS -O -pipe -g -msoft-quad-float -O2    -DVERSION=\"1.04\"  -DXS_VERSION              =\"1.04\"  -I../.. -DPERL_CORE -DLIBC="/usr/lib/libc.so" DynaLoader.c
rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
/usr/bin/ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : ../../li              b/auto/DynaLoader/DynaLoader.a
chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work.sparc64/perl-5.6.1 cc -o perl -Wl,-R              /usr/pkg/lib  -L/usr/pkg/lib -Wl,-whole-archive -lgcc -Wl,-no-whole-archive                                   -Wl,-E -Wl,-R/usr/pkg/lib  -Wl,-R/usr/pkg/lib/perl5/5.6.1/sparc6              4-netbsd/CORE perlmain.o lib/auto/DynaLoader/DynaLoader.a  -L. -lperl `cat ext.l              ibs` -lm -lcrypt
/usr/lib/libgcc.a(_fixtfdi.o): In function `__fixtfdi':
_fixtfdi.o(.text+0x14): undefined reference to `_Qp_flt'
/usr/lib/libgcc.a(_fixunstfdi.o): In function `__fixunstfdi':
_fixunstfdi.o(.text+0x14): undefined reference to `_Qp_flt'
...
...