[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GMP 4.1+patches on alpha linux ev67
From: |
David Bremner |
Subject: |
GMP 4.1+patches on alpha linux ev67 |
Date: |
Thu, 5 Sep 2002 17:44:17 +0200 |
I am attempting to compile GMP4.1 plus the current set of patches on
the web page.
I have two problems. Usually I would file two bug reports, but I'm
not sure if these are related. The first is many warning(s) from the
assembler that ev67 is not a recognized CPU type. A little test
confirms this; -mev6 and -m21264 are both known to gas, but not
-mev67. I upgraded to gnu-as 2.13, but that did not help.
example of problem 1:
------------------
gcc -DHAVE_CONFIG_H -I. -I../../gmp/tests -I.. -I../../gmp -g -O2 -mcpu=ev67
-Wa,-mev67 -c ../../gmp/tests/refmpf.c -fPIC -DPIC
Assembler messages:
Warning: Unknown CPU identifier `ev67'
-------------------
The other, presumably more serious problem is that the linking to
libgmp.so cannot find the entry __gmpn_clz_tab
example of problem 2:
--------------------
gcc -g -O2 -mcpu=ev67 -Wa,-mev67 -o .libs/t-bswap t-bswap.o ./.libs/libtests.a
/home/bremner/build/gmpbuild/.libs/libgmp.so ../.libs/libgmp.so -Wl,--rpath
-Wl,/usr/local/lib
/home/bremner/build/gmpbuild/.libs/libgmp.so: undefined reference to
`__gmpn_clz_tab'
collect2: ld returned 1 exit status
--------------------
both examples are from the output of "make check"
machine configuration:
Script started on Thu Sep 5 12:21:19 2002
address@hidden gmp]$ uname -a
Linux lids.cs.unb.ca 2.4.3-12 #1 Fri Jun 8 13:20:17 EDT 2001 alpha unknown
address@hidden gmp]$ ./config.guess
alphaev67-unknown-linux-gnu
address@hidden gmp]$ ./configfsf.guess
alphaev67-unknown-linux-gnu
address@hidden gmp]$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/alphaev67-unknown-linux-gnu/3.2/specs
Configured with: ../gcc-3.2//configure --enable-languages=c,c++
Thread model: posix
gcc version 3.2
address@hidden gmp]$ ^D
Script done on Thu Sep 5 12:22:37 2002
- GMP 4.1+patches on alpha linux ev67,
David Bremner <=