Re: See attached test results.

2021-10-11 Thread Torbjörn Granlund
Did you notice this part:

  tests are not linked to the newly compiled library
local version is: 6.2.1
linked version is: 6.2.0

That's what's wrong.  GMP's tests then exits to avoid generating
spurious test results.

Why it happens?  Well, some sort of linking path of your system
overrides the local lub.  There is nothing the GMP devs can do to resolv
that, I'm afraid.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


See attached test results.

2021-10-11 Thread Jack Tearle
  * The ‘configure’ options you used when building GMP, if any:  No options
  * The output from ‘configure’, as printed to stdout, with any options
used.
  * The name of the compiler and its version. For |gcc|, get the version
with ‘gcc -v’, otherwise perhaps ‘what `which cc`’, or similar.
  * jack@ps:~/Downloads/gmp-6.2.1/tests$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
9.3.0-17ubuntu1~20.04'
--with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2
--prefix=/usr --with-gcc-major-version-only --program-suffix=-9
--program-prefix=x86_64-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--enable-default-pie --with-system-zlib
--with-target-system-zlib=auto --enable-objc-gc=auto
--enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib
--with-tune=generic

--enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa
--without-cuda-driver --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)

  * The output from running ‘uname -a’.
  * ack@ps:~/Downloads/gmp-6.2.1/tests$ uname -a
Linux ps 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux

  * The output from running ‘./config.guess’, and from running
‘./configfsf.guess’ (might be the same).
  * root@ps:/home/jack/Downloads/gmp-6.2.1# ./config.guess
ivybridge-pc-linux-gnu
root@ps:/home/jack/Downloads/gmp-6.2.1#
  *

  *


Hope this helps.
  * Jack Tearle
  * (905) 951-2000


   GNU MP 6.2.1: tests/test-suite.log


# TOTAL: 8
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  6
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: t-bswap
=

tests are not linked to the newly compiled library
  local version is: 6.2.1
  linked version is: 6.2.0
FAIL t-bswap (exit status: 134)

FAIL: t-count_zeros
===

tests are not linked to the newly compiled library
  local version is: 6.2.1
  linked version is: 6.2.0
FAIL t-count_zeros (exit status: 134)

FAIL: t-modlinv
===

tests are not linked to the newly compiled library
  local version is: 6.2.1
  linked version is: 6.2.0
FAIL t-modlinv (exit status: 134)

FAIL: t-popc


tests are not linked to the newly compiled library
  local version is: 6.2.1
  linked version is: 6.2.0
FAIL t-popc (exit status: 134)

FAIL: t-parity
==

tests are not linked to the newly compiled library
  local version is: 6.2.1
  linked version is: 6.2.0
FAIL t-parity (exit status: 134)

FAIL: t-sub
===

tests are not linked to the newly compiled library
  local version is: 6.2.1
  linked version is: 6.2.0
FAIL t-sub (exit status: 134)

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-10-11 Thread Arturo Fernandez
Hello. I was finally able to get back and work on this configuration. Yesterday 
evening I downloaded the latest version (gmp-6.2.99-20211010014524) but it is 
still unable to recognize IceLake. The command configure is returning:
Version: GNU MP 6.2.99
Host type: nehalem-pc-linux-gnu
ABI: 64
Install prefix: /usr
Compiler: gcc
Static libraries: yes
Shared libraries: yes
Thanks. Arturo

Arturo Fernandez wrote:
Maybe you're right, but I tried on Azure (running on Rocky Linux) and AWS 
(running on CentOS8) and got the same problem. I will try some other version as 
time permits and check what happens. Thanks. 
Torbjörn Granlund wrote:
Arturo Fernandez mailto:afernan...@odyhpc.com> 
 > > writes:
Sorry for the late reply as things have been piling up. I have tried
gmp-6.2.99-20210902195716 in different systems but it fails while
building it. Here is an error:
../libtool: line 1766: ../mpn/m4-ccas: Permission denied
That error you need to debug locally.
The file m4-ccas in the snapshot has the execution bit set. Prosumably
you have some strange umask value set, or a filesystem which does not
allow executables.
-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org  
https://gmplib.org/mailman/listinfo/gmp-bugs 
 
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs