Updated bug report: gmp4.2.1 install on itanium2 running unix

Paul Nanninga paul.nanninga at anu.edu.au
Wed Nov 29 02:34:10 CET 2006


Hi,

The extra details required concerning the gmp error are  included here:

   * The GMP version number, and if pre-packaged or patched then say so.

gmp version 4.2.1

   * A test program that makes it possible for us to reproduce the bug. 
Include instructions on how to run the program.

unpack gmp-4.2.1 so it resides in /home/110/pxn110/c_programs/gmp/gmp-4.2.1

then in this directory run:

./configure prefix=/home/110/pxn110/c_programs/gmp
make

the error occurs during make

   * A description of what is wrong. If the results are incorrect, in 
what way. If you get a crash, say so.

error during make after following steps above. The error occurred during 
make[2], and was something like
../libtool: line1: ../mpn/m4-ccas: Permission Denied,
This appeared to be an access problem so I used chmod as follows:
 > ls -l mpn/m4-ccas
-rw-r--r--  1 pxn110 j77  2486 Mar 15  2006 m4-ccas
 > chmod +x mpn/m4-ccas

Then I tried running make again and got this:
 > make
make  all-recursive
....
Making all in mpn
make[2]: Entering directory `/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn'
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" icc 
-c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. 
-DOPERATION_`echo add_n | sed 's/_$//'`    -no-gcc -O2 `test -f 
'add_n.asm' || echo './'`add_n.asm
../mpn/m4-ccas --m4=m4 icc -c -DHAVE_CONFIG_H -I. -I. -I.. 
-D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -no-gcc -O2 add_n.asm  -KPIC 
-DPIC -o .libs/add_n.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm 
 >tmp-add_n.s
icc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. 
-DOPERATION_add_n -no-gcc -O2 tmp-add_n.s -KPIC -DPIC -o .libs/add_n.o
/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn/tmp-add_n.s(115) : error 
A2180: potential Write-after-Write register dependency violation with 
/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn/tmp-add_n.s(114),r19
/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn/tmp-add_n.s(121) : error 
A2180: potential Write-after-Write register dependency violation with 
/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn/tmp-add_n.s(118),p8
/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn/tmp-add_n.s(121) : error 
A2180: potential Write-after-Write register dependency violation with 
/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn/tmp-add_n.s(118),p9
.libs/add_n.o - 3 error(s), 0 warning(s)
make[2]: *** [add_n.lo] Error 1
make[2]: Leaving directory `/home/110/pxn110/c_programs/gmp/gmp-4.2.1/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/110/pxn110/c_programs/gmp/gmp-4.2.1'
make: *** [all] Error 2

   * If you get a crash, include a stack backtrace from the debugger if 
it's informative (`where' in gdb, or `$C' in adb).

N/A

   * Please do not send core dumps, executables or straces.

N/A

   * The configuration options you used when building GMP, if any.

./configure prefix=/home/110/pxn110/c_programs/gmp

   * The name of the compiler and its version. For gcc, get the version 
with `gcc -v', otherwise perhaps `what `which cc`', or similar.

Output from gcc -v:
Reading specs from /usr/lib/gcc-lib/ia64-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada 
--disable-checking --libdir=/usr/lib --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit ia64-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)

   * The output from running `uname -a'.

Linux ac 2.6.5-7.199-sn2 #1 SMP Thu Aug 18 09:17:57 UTC 2005 ia64 ia64 
ia64 GNU/Linux

   * The output from running `./config.guess', and from running 
`./configfsf.guess' (might be the same).

from ./config.guess:
itanium2-unknown-linux-gnu

from ./configfsf.guess:
ia64-unknown-linux-gnu

   * If the bug is related to `configure', then the contents of config.log.

config.log attached

   * If the bug is related to an asm file not assembling, then the 
contents of config.m4 and the offending line or lines from the temporary 
mpn/tmp-<file>.s.

config.m4 and tmp-add_n.s attached.

I hope this is enough information for you.

Cheers

Paul Nanninga

-- 
Paul Nanninga
ANU/NICTA
Tel: (02) 6125 6241
E-mail: paul.nanninga at anu.edu.au

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tmp-add_n.s
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20061129/5b0c8b66/attachment-0003.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.log
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20061129/5b0c8b66/attachment-0004.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.m4
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20061129/5b0c8b66/attachment-0005.ksh 


More information about the gmp-bugs mailing list