Can't build libgcj in gcc HEAD 20040327: gcc/libgcc_s_32.so: undefined reference to `_Q_sub' etc.
Christian Joensson
christian@j-son.org
Mon Mar 29 16:50:00 GMT 2004
On Sun, Mar 28, 2004 at 02:06:25AM -0500, James Morrison wrote:
>
> Christian Joensson <christian@j-son.org> writes:
>
> > Aurora SPARC Linux 1.0 (Ansel) Ultra1 single UltraSparc I (SpitFire) sun4u:
> >
> > binutils 2.14.90 20040218 sparc64-linux (host built)
> > bison-1.35-1
> > dejagnu-1.4.2-10 (ftp://download.fedora.redhat.com/pub/fedora/linux/core/1)
> > expect-5.32.2-67
> > gcc 3.4.0 20040313 (prerelease) sparc64-linux (host built)
> > glibc-2.2.5-44sparc1
> > glibc64-2.2.5-44sparc1
> > glibc-kernheaders-2.4-7.16sparc
> > kernel-2.4.25-0.2sparc (ftp://ftp.j-son.org/pub/aurora/kernel-2.4.25)
> > tcl-8.3.3-67
> > zlib64-1.1.4-10sparc (ftp://auroralinux.org/pub/aurora/scratch)
> >
> > LAST_UPDATED: Sat Mar 27 10:55:44 UTC 2004
> >
> > joined gcc and bibutils trunks...
> >
> > configure sparc64-linux --prefix=/usr/local/gcc-binutils --enable-__cxa_atexit --enable-shared --enable-threads=posix --with-system-zlib --enable-clocale=gnu --with-gcc-version-trigger=/usr/local/src/trunk/gcc-binutils/gcc/version.c --enable-languages=c,c++,f77,java,objc
> > /usr/local/src/trunk/objdir/gcc/libgcc_s_32.so: undefined reference to `_Q_sub'
> > /usr/local/src/trunk/objdir/gcc/libgcc_s_32.so: undefined reference to `_Q_mul'
> > /usr/local/src/trunk/objdir/gcc/libgcc_s_32.so: undefined reference to `_Q_add'
> > /usr/local/src/trunk/objdir/gcc/libgcc_s_32.so: undefined reference to `_Q_qtou'
> > /usr/local/src/trunk/objdir/gcc/libgcc_s_32.so: undefined reference to `_Q_flt'
> > /usr/local/src/trunk/objdir/gcc/libgcc_s_32.so: undefined reference to `_Q_itoq'
This was also true for the 3.4 branch, for both sparc-linux and sparc-64-linux...
> For now you can edit config/sparc/t-linux{,64} to have -mlong-double-64 .
> I think long-double-128 support needs an updated glibc, but I haven't had
> a chance to investigate.
Maybe, I'll just try again...
Cheers,
/ChJ
More information about the Gcc
mailing list