Subject: Re: Build failure with MKSOFTFLOAT=yes
To: Masao Uebayashi <uebayasi@pultek.co.jp>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 01/13/2004 13:29:15
Hi Uebayashi,

On Tue, Jan 06, 2004 at 01:35:26AM +0900, Masao Uebayashi wrote:

> Hello,
> 
> I got the following error (stderr only)
> 
> > /src/TNF/arch/evbppc/dest/usr/lib/libc.a(softfloat.o)(.text+0x31e8): In function `__fixunsdfsi':
> > : multiple definition of `__fixunsdfsi'
> > /src/TNF/arch/evbppc/dest/usr/lib/libgcc.a(_fixunsdfsi.o)(.text+0x0): first defined here
> > /src/TNF/arch/evbppc/tools/lib/gcc-lib/powerpc--netbsd/3.3.2/../../../../powerpc--netbsd/bin/ld: Warning: size of symbol `__fixunsdfsi' changed from 120 in /src
> > /TNF/arch/evbppc/dest/usr/lib/libgcc.a(_fixunsdfsi.o) to 284 in /src/TNF/arch/evbppc/dest/usr/lib/libgcc.a(_fixunsdfsi.o)
> > collect2: ld returned 1 exit status
> > 
> > ERROR: Failed to make release
> > *** BUILD ABORTED ***
> 
> at linking rescue/rescue, when I did "./build.sh -m evbppc ... -V
> MKSOFTFLOAT=yes release".  The soruce is very new.  Any clue?

I can confirm that it happens for me too building a powerpc softfloat
release.  I suspect there is some gcc 3 issue - the last time I built a
softfloat userland was with gcc 2.95.3.

Can you file a PR please?

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/