public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* howto multilib gcc mainline on sparc-linux?
@ 2005-07-17  6:45 Christian Joensson
  0 siblings, 0 replies; only message in thread
From: Christian Joensson @ 2005-07-17  6:45 UTC (permalink / raw)
  To: gcc

I just tried, what I thought to be default enabled, to build a
multilibbed gcc mainline. However, when I run the testsuite with -m64
flag, I get warnings like this (this is from gcc testsuite)

Executing on host: /usr/local/src/trunk/objdir32/gcc/xgcc
-B/usr/local/src/trunk/objdir32/gcc/   -O0  -w -fno-show-column -c 
-m64 -o 20000105-1.o
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c
   (timeout = 600)
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:1:
error: -m64 is not supported by this configuration
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:1:
error: -mlong-double-64 not allowed with -m64
compiler exited with status 1
output is:
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:1:
error: -m64 is not supported by this configuration
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:1:
error: -mlong-double-64 not allowed with -m64

FAIL: gcc.c-torture/compile/20000105-1.c  -O0  (test for excess errors)
Excess errors:
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:1:
error: -m64 is not supported by this configuration
/usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:1:
error: -mlong-double-64 not allowed with -m64


This is on 

Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u:

(auroralinux corona + Rathann's FC3 updates)

binutils-2.15.92.0.2-5.1sparc.sparc
bison-1.875c-2.sparc
dejagnu-1.4.4-2.noarch
expect-5.42.1-1.sparc
gcc-3.4.2-6.fc3.sparc
gcc4-4.0.0-0.8sparc.sparc
glibc-2.3.5-0.fc3.1.sparcv9
glibc-2.3.5-0.fc3.1.sparc64
glibc-devel-2.3.5-0.fc3.1.sparc64
glibc-devel-2.3.5-0.fc3.1.sparc
glibc-headers-2.3.5-0.fc3.1.sparc
glibc-kernheaders-2.6-20sparc.sparc
gmp-4.1.4-3sparc.sparc
gmp-4.1.4-3sparc.sparc64
gmp-devel-4.1.4-3sparc.sparc
gmp-devel-4.1.4-3sparc.sparc64
kernel-2.6.11-1.1166sp1.sparc64
package kernel-devel is not installed
package kernel-smp is not installed
libgcc-3.4.2-6.fc3.sparc
libgcc-3.4.2-6.fc3.sparc64
libstdc++-3.4.2-6.fc3.sparc64
libstdc++-3.4.2-6.fc3.sparc
libstdc++-devel-3.4.2-6.fc3.sparc64
libstdc++-devel-3.4.2-6.fc3.sparc
make-3.80-5.sparc
nptl-devel-2.3.5-0.fc3.1.sparcv9
tcl-8.4.7-2.sparc

LAST_UPDATED: Fri Jul 15 20:35:20 UTC 2005

and the configure was done like this:

        CC="gcc -m32" /usr/local/src/trunk/gcc/configure sparc-linux \
        --enable-__cxa_atexit \
        --enable-shared --enable-languages=c,ada,c++,f95,objc,treelang \
        >& configure.log;

this is done in a "64 bit shell"

[chj@ultra10 objdir32]$ uname -a
Linux ultra10.j-son.org 2.6.11-1.1166sp1 #1 Fri Mar 4 20:41:51 EST
2005 sparc64 sparc64 sparc64 GNU/Linux
[chj@ultra10 objdir32]$

I then checked the build log file and AFAICT the libs are not built
with -m64 also as alternative... so, my question, what have I missed?

-- 
Cheers,

/ChJ

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-17  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-17  6:45 howto multilib gcc mainline on sparc-linux? Christian Joensson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).