Subject: Re: perl5 won't build
To: None <eeh@netbsd.org>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: port-sparc64
Date: 12/21/2001 09:26:02
On 20 Dec 2001 eeh@netbsd.org wrote:

> |
> | I'm using the latest snapshot (1.5Z) and a very recent pkgsrc, but when
> | building perl5, I get:
> |
> | ===> Building for perl-5.6.1nb6
> |         AutoSplitting perl library
> | LD_LIBRARY_PATH=/usr/tmp/lang/perl5/work.sparc64/perl-5.6.1 ./miniperl -Ilib -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*.pm lib/*/*.pm
> |
> |         Skipping /usr/tmp/lang/perl5/work.sparc64/perl-5.6.1/lib/auto/DynaLoader/DynaLoader.a (directory does not exist)
> | LD_LIBRARY_PATH=/usr/tmp/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/lib  -Wl,-R/usr/pkg/lib/perl5/5.6.1/sparc64-netbsd/CORE perlmain.o lib/auto/DynaLoader/DynaLoader.a  -L. -lperl `cat ext.libs` -lm -lcrypt
> | /usr/lib/libgcc.a(_fixtfdi.o): In function `__fixtfdi':
> | _fixtfdi.o(.text+0x18): undefined reference to `_Qp_flt'
> [snip]
> 
> Your compiler is using -soft-quad-float but your libc lacks the support routines.  Either
> explicitly disable -soft-quad-float or get a libc with those routines.

This is using a very recent snapshot (5th December) and not something home
grown. Has this problem been fixed in -current yet? If not, shall I
send-pr it?

-- 
Stephen