Subject: Re: Build failure with MKSOFTFLOAT=yes
To: Masao Uebayashi <uebayasi@pultek.co.jp>
From: M L Riechers <mlr@rse.com>
List: current-users
Date: 01/17/2004 10:50:06
(Sorry about the lateness of this, but sun.rse.com (localhost) refuses
my email! and I didn't get to resend this until now. Anyway, a data
point:)
Tue, 13 Jan 2004 13:29:15 +1100, Simon Burge <simonb@wasabisystems.com>:
>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 `__fixunsd
fs
>i':
>> > : multiple definition of `__fixunsdfsi'
>
>> 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/
And hi, to you two too.
I had the same problem, and, FWIW, if you want to get it going:
--- /mnt/mnt/usr/local/src/usr/src/gnu/lib/libgcc3/powerpc.mk.orig 2003-09-23 23:11:32.0000
00000 -0400
+++ /mnt/mnt/usr/local/src/usr/src/gnu/lib/libgcc3/powerpc.mk 2003-10-14 16:16:33.000000000 -0
400
@@ -8,7 +8,7 @@
G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/config -I$
{GNUHOSTDIST}/gcc/config/rs6000 -I${GNUHOSTDIST}/gcc/../include
G_LIB2ADD=${GNUHOSTDIST}/gcc/config/rs6000/tramp.asm
G_LIB2ADDEH=${GNUHOSTDIST}/gcc/unwind-dw2.c ${GNUHOSTDIST}/gcc/unwind-dw2-fde.c ${GNUHOSTDIST}
/gcc/unwind-sjlj.c ${GNUHOSTDIST}/gcc/unwind-c.c
-G_LIB2FUNCS_1=_muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _clz _cmpdi2 _ucmpdi2 _floatd
idf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixu
nsxfdi
+G_LIB2FUNCS_1=_muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _clz _cmpdi2 _ucmpdi2 _floatd
idf _floatdisf _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi
G_LIB2FUNCS_2=_floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf _clear_cache _trampoline
__main _exit _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _
negvdi2 _ctors
G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
G_LIB2FUNCS_ST=_eprintf _bb __gcc_bcmp
From 1.6ZF (20031115) made softfloat work ok.
It's been running since about 22 Nov 2003 w/softloat ok on
MPC823. Other problems, but softfloat seems ok.
Also, softfloat userland with gcc 2.95.3 didn't work for me.
-Mike