Subject: Re: Quad math on sparc64
To: James Chacon <jchacon@genuity.net>
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
List: port-sparc64
Date: 03/23/2002 18:05:46
I applied these patches and the GCC internal error that resulted is
appended. The patches applied without trouble, but the source tree on my
sparc is probably a couple of months old. I'll update my sources and see
what I get, but it took most of the afternoon for the build to get this
far.

Cheers,
Lloyd

/usr/src/tools/obj/tools.NetBSD-1.5ZB-sparc64/bin/sparc64--netbsd-c++ -O
 -Werror -fno-implicit-templates -nostdinc++ -isystem
/root/dest/usr/include/g++  -nostdinc++
-I/usr/src/gnu/lib/libstdc++/arch/sparc64
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libio
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/stl
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/../libio
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/gcc/cp/inc
-I/usr/src/gnu/lib/libstdc++/../libiberty
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/include -nostdinc
-isystem /root/dest/usr/include  -c LDCOMFUNCS.cc
/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/std/complext.cc:
In function `class complex<long double> & __doadv<long
double>(complex<long double> *, const complex<long double> &)':
/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/std/ldcomplex.h:46:
 instantiated from here
/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/std/complext.cc:178:
internal error--unrecognizable insn:
(insn 67 156 69 (set (reg/v:TF 120)
        (div:TF (mem/s:TF (reg/v:DI 107) 0)
            (mem/s:TF (plus:DI (reg/v:DI 107)
                    (const_int 16 [0x10])) 0))) -1 (nil)
    (nil))
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/lib/libstdc++
*** Error code 1

Stop.