[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Assembler problem
From: |
Klaus-Dieter Schmidt |
Subject: |
Assembler problem |
Date: |
Mon, 28 Jan 2002 14:47:00 +0100 (MET) |
Hello!
It seems I have a configure problem. After ./configure make says:
[...]
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DSYSV -DSVR4
-DPIC add_n.asm >tmp-add_n.s
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_add_n -funroll-loops -fomit-frame-pointer -O3 -DSYSV -DSVR4
tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 60: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 63: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 78: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 81: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 93: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 94: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 100: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 106: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 111: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 117: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 123: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 127: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
/usr/ccs/bin/as.bak: "tmp-add_n.s", line 133: error: cannot use sparc
v8plus instructions in a non-v8plus target binary
make[2]: *** [add_n.lo] Error 1
make[2]: Leaving directory `/home/kds/compmath/gmp-4.0.1/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kds/compmath/gmp-4.0.1'
make: *** [all] Error 2
as.bak is the original as from sun:
# ls -l /usr/ccs/bin/as.bak
-rwxr-xr-x 1 bin bin 371420 Sep 19 1996 /usr/ccs/bin/as.bak
/usr/ccs/bin/as is a link to the GNU assembler:
# ls -l /usr/ccs/bin/as
lrwxrwxrwx 1 root other 17 Jan 28 13:27 /usr/ccs/bin/as ->
/usr/local/bin/as
# /usr/local/bin/as -v
GNU assembler version 2.11 (sparc-sun-solaris2.6) using BFD version 2.11
gcc was configured with option --with-as=/usr/ccs/bin/as.bak
GMP version: 4.0.1 from ftp://ftp.funet.fi/pub/gnu/prep/gmp/
Configuration options: none; problem occurs with
--host=ultrasparc-sun-solaris2.6, too
gcc -v: gcc version 2.95.3 20010315 (release)
uname -a: SunOS 5.6 Generic_105181-28 sun4u sparc
SUNW,Ultra-4
./config.guess: sparcv9-sun-solaris2.6
./configfsf.guess: sparc-sun-solaris2.6
config.log: see attachment
config.m4:
dnl config.m4. Generated automatically by configure.
changequote(<,>)
ifdef(<__CONFIG_M4_INCLUDED__>,,<
define(<CONFIG_TOP_SRCDIR>,<`../.'>)
define(<WANT_PROFILING>,<`no'>)
define(<M4WRAP_SPURIOUS>,<no>)
define(<TEXT>, <.text>)
define(<DATA>, <.data>)
define(<LABEL_SUFFIX>, <$1:>)
define(<GLOBL>, <.globl>)
define(<GSYM_PREFIX>, <>)
define(<RODATA>, <.section ".rodata">)
define(<GLOBL_ATTR>, <>)
define(<TYPE>, <.type $1,#$2>)
define(<SIZE>, <.size $1,$2>)
define(<LSYM_PREFIX>, <.L>)
define(<W32>, <.long>)
define(<ALIGN_LOGARITHMIC>,<no>)
define(<KARATSUBA_SQR_THRESHOLD>,<61>)
>)
changequote(`,')
ifdef(`__CONFIG_M4_INCLUDED__',,`
include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
define_not_for_expansion(`HAVE_HOST_CPU_sparcv9')
define_not_for_expansion(`HAVE_ABI_standard')
')
define(`__CONFIG_M4_INCLUDED__')
mpn/tmp-<file>.s (empty lines ommitted):
.text
.align 8
.globl __gmpn_add_n
.type __gmpn_add_n,#function
__gmpn_add_n:
lduw [%o1+0],%o4
lduw [%o2+0],%o5
addcc %o3,-2,%o3
bl,pn %icc,.Lend1
lduw [%o1+4],%g2
lduw [%o2+4],%g3
be,pn %icc,.Lend2
mov 0,%g1
.align 16
.Lloop:
add %o4,%o5,%g4
add %o0,8,%o0
lduw [%o1+8],%o4
fitod %f0,%f2
add %g1,%g4,%g4
addcc %o3,-1,%o3
lduw [%o2+8],%o5
fitod %f0,%f2
srlx %g4,32,%g1
add %o2,8,%o2
stw %g4,[%o0-8]
be,pn %icc,.Lexito+4
add %g2,%g3,%g4
addcc %o3,-1,%o3
lduw [%o1+12],%g2
fitod %f0,%f2
add %g1,%g4,%g4
add %o1,8,%o1
lduw [%o2+4],%g3
fitod %f0,%f2
srlx %g4,32,%g1
bne,pt %icc,.Lloop
stw %g4,[%o0-4]
.Lexite:
add %o4,%o5,%g4
add %g1,%g4,%g4
srlx %g4,32,%g1
stw %g4,[%o0+0]
add %g2,%g3,%g4
add %g1,%g4,%g4
stw %g4,[%o0+4]
retl
srlx %g4,32,%o0
.Lexito:
add %g2,%g3,%g4
add %g1,%g4,%g4
srlx %g4,32,%g1
stw %g4,[%o0-4]
add %o4,%o5,%g4
add %g1,%g4,%g4
stw %g4,[%o0+0]
retl
srlx %g4,32,%o0
.Lend1:
add %o4,%o5,%g4
stw %g4,[%o0+0]
retl
srlx %g4,32,%o0
.Lend2:
add %o4,%o5,%g4
srlx %g4,32,%g1
stw %g4,[%o0+0]
add %g2,%g3,%g4
add %g1,%g4,%g4
stw %g4,[%o0+4]
retl
srlx %g4,32,%o0
.size __gmpn_add_n,.-__gmpn_add_n
FYI, some environment variables:
CC=gcc
CCFLAGS=$'-funroll-loops -fomit-frame-pointer -O3 -DSYSV -DSVR4'
CFLAGS=$'-O3 -funroll-loops -fomit-frame-pointer '
CPLUS_INCLUDE_PATH=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/include:/usr/local2/include:/usr/local/include:/usr/openwin/include:/usr/dt/include:/opt/Summertime_98.sparc/X11R6.3/include
C_INCLUDE_PATH=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/include:/usr/local2/include:/usr/local/include:/usr/openwin/include:/usr/dt/include:/opt/Summertime_98.sparc/X11R6.3/include
GCC_EXEC_PREFIX=/usr/local/lib/gcc-lib
GCC_HOME=/usr/local/lib/gcc-lib
IMAKEINCLUDE=-I/home/kds/config
IMAKEMAKE=/usr/openwin/bin/imake
LDFLAGS=$'-R/usr/local2/lib:/usr/local/lib:/usr/lib:/lib:${OPENWINHOME}/lib:${DTHOME}/lib:${summertime_basedir}/X11R6.3/lib:/usr/ccs/lib:/usr/ucblib:.
'
LD_LIBRARY_PATH=/usr/local2/lib:/usr/local/lib::/usr/openwin/lib:/usr/dt/lib:/usr/lib:/lib:/usr/ccs/lib:/usr/ucblib:/usr/local/X11R6/lib:/opt/Summertime_98.sparc/X11R6.3/lib:.:/opt/Summertime_98.sparc/netscape/rvplayer5.0
LD_RUN_PATH=/usr/lib:/usr/openwin/lib:/usr/dt/lib
OSTYPE=solaris2.6
Kind regards,
Klaus-Dieter Schmidt
---------------------------------------------------------------------------
Klaus-Dieter Schmidt Tel/Fax : +49-561-804-4117/4646
FB Mathematik/Informatik E-Mail : address@hidden
Heinrich-Plett-Str. 40 WWW : http://www.mathematik.uni-kassel.de
D-34132 Kassel
config.log
Description: Text document
- Assembler problem,
Klaus-Dieter Schmidt <=