Re: Errors making GMP621 on SCO Openserver 6.

2022-02-04 Thread Jack Tearle
I deleted /bin/sh, and linked /bin/bash to /bin/sh, and then re-ran the 
entire installation in a new directory.

The results are not quite the same.  The .libs directory is now created, 
but it is empty and assert.o and the rest of the programs listed below 
still have the Oct 11 2021 date and only exist in the root directory 
(/tmp/gmp621).

Let me know if you need the new config and make logs.

Jack

o rand/.libs/randmt.o rand/.libs/randmts.o rand/.libs/rands.o 
rand/.libs/randsd.
o rand/.libs/randsdui.o rand/.libs/randbui.o rand/.libs/randmui.o    
-m32 -m32
  -Wl,-soname -Wl,libgmp.so.14 -o .libs/libgmp.so.14
gcc: error: .libs/assert.o: No such file or directory
gcc: error: .libs/compat.o: No such file or directory
gcc: error: .libs/errno.o: No such file or directory
gcc: error: .libs/extract-dbl.o: No such file or directory
gcc: error: .libs/invalid.o: No such file or directory
gcc: error: .libs/memory.o: No such file or directory
gcc: error: .libs/mp_bpl.o: No such file or directory
gcc: error: .libs/mp_clz_tab.o: No such file or directory
gcc: error: .libs/mp_dv_tab.o: No such file or directory
gcc: error: .libs/mp_minv_tab.o: No such file or directory
gcc: error: .libs/mp_get_fns.o: No such file or directory
gcc: error: .libs/mp_set_fns.o: No such file or directory
gcc: error: .libs/version.o: No such file or directory
gcc: error: .libs/nextprime.o: No such file or directory
gcc: error: .libs/primesieve.o: No such file or directory
gcc: error: .libs/tal-reent.o: No such file or directory
make[2]: *** [libgmp.la] Error 1
make[2]: Leaving directory `/tmp/gmp621'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gmp621'
make: *** [all] Error 2
unix:/tmp/gmp621#

On 2/3/22 15:54, Niels Möller wrote:
> Torbjörn Granlund  writes:
>
>> Marco Bodrato  writes:
>>
>>==> /tmp/config.guess.log <==
>>./config.guess: syntax error at line 284: `(' unexpected
>>
>> Perhaps the $(command ...) syntax is not known by the old SCO shell?
>> Really old /bin/sh only had `command ...`.
> I take it this is gmp's config.guess (not the plain autoconf/gnulib
> version, which is configfsf.guess in gmp)?
>
> Autoconf is usually very careful about problems with old and obscure
> variants of /bin/sh, but perhaps gmp's shell scripts are not.
>
> I think the autoconf configure script has a CONFIG_SHELL environment,
> maybe it would work better to install, e.g., bash, and set
> CONFIG_SHELL=/usr/bin/bash (that's a feature I've never had to use)?
>
> Regards,
> /Niels
>
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-04 Thread Jack Tearle
Just to be clear, I purged the directory (rm -r *)  and extracted (tar 
xvf ../gmp621.tar) the published tar file for each run.

On 2/4/22 02:53, Marco Bodrato wrote:
> Ciao,
>
> Il 2022-02-03 23:08 Jack Tearle ha scritto:
>> I deleted /bin/sh, and linked /bin/bash to /bin/sh, and then re-ran the
>> entire installation in a new directory.
>
>> The results are not quite the same.  The .libs directory is now created,
>> but it is empty and assert.o and the rest of the programs listed below
>> still have the Oct 11 2021 date and only exist in the root directory
>> (/tmp/gmp621).
>
> I'd suggest to start from a clean source directory.
>
> Ĝis,
> m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Errors making GMP621 on SCO Openserver 6.

2022-02-02 Thread Jack Tearle
I have had lots of help from the people at gnucobol, but they seem to 
have given up.

The problem is that the .libs directory is not created, and the existing 
.o files (assert.o etc) are not compiled, causing the ld to fail. I have 
tried pre-creating the .libs directory, and copying the .o files to it, 
but then I get the error message in the attached make2.log.

I hope the only problem is my doing something wrong.

Thanks,

Jack Tearle

905-951-2000
./config.guess: syntax error at line 284: `(' unexpected


config.log.gz
Description: application/gzip
i686-unknown-sysv5SCO_SV6.0.0
HZ=100
SHELL=/usr/bin/bash
TERM=ansi
HUSHLOGIN=FALSE
COBDIR=/opt/lib/cobol
LD_LIBRARY_PATH=/usr/xinuos/lib:/opt/lib/cobol/coblib:
MAIL=/usr/spool/mail/root
PATH=/usr/sysv5/bin:/usr/gnu/bin/:/bin:/etc:/usr/bin:/usr/local/bin://bin
PWD=/tmp/gmp621.1
TZ=EST5EDT
PS1=\h:\w\$ 
SHLVL=1
HOME=/
BASH_ENV=//.bashrc
LOGNAME=root
_=/usr/gnu/bin/env
OLDPWD=/tmp

System = SCO_SV
Node = unix
Release = 5v6.0.0
KernelID = 2011-09-30
Machine = Pent III
BusType = ISA
Serial = x
Users = xx
OEM# = 0
Origin# = 1
NumCPU = 2

make  all-recursive
make[1]: Entering directory `/tmp/gmp621.1'
Making all in tests
make[2]: Entering directory `/tmp/gmp621.1/tests'
Making all in .
make[3]: Entering directory `/tmp/gmp621.1/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/gmp621.1/tests'
Making all in devel
make[3]: Entering directory `/tmp/gmp621.1/tests/devel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/devel'
Making all in mpn
make[3]: Entering directory `/tmp/gmp621.1/tests/mpn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/mpn'
Making all in mpz
make[3]: Entering directory `/tmp/gmp621.1/tests/mpz'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/mpz'
Making all in mpq
make[3]: Entering directory `/tmp/gmp621.1/tests/mpq'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/mpq'
Making all in mpf
make[3]: Entering directory `/tmp/gmp621.1/tests/mpf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/mpf'
Making all in rand
make[3]: Entering directory `/tmp/gmp621.1/tests/rand'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/rand'
Making all in misc
make[3]: Entering directory `/tmp/gmp621.1/tests/misc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/misc'
Making all in cxx
make[3]: Entering directory `/tmp/gmp621.1/tests/cxx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/gmp621.1/tests/cxx'
make[2]: Leaving directory `/tmp/gmp621.1/tests'
Making all in mpn
make[2]: Entering directory `/tmp/gmp621.1/mpn'
/bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c -DHAVE_CONFIG_H -I. -I..  -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo umul | sed 's/_$//'`   -m32 -Wa,--noexecstack `test -f 'umul.asm' || echo './'`umul.asm
libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_umul -m32 -Wa,--noexecstack umul.asm  -fPIC -DPIC -o .libs/umul.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_umul -DPIC umul.asm >tmp-umul.s
 gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_umul -m32 -Wa,--noexecstack tmp-umul.s -fPIC -DPIC -o .libs/umul.o
libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_umul -m32 -Wa,--noexecstack umul.asm -o umul.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c -DHAVE_CONFIG_H -I. -I..  -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo udiv | sed 's/_$//'`   -m32 -Wa,--noexecstack `test -f 'udiv.asm' || echo './'`udiv.asm
libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_udiv -m32 -Wa,--noexecstack udiv.asm  -fPIC -DPIC -o .libs/udiv.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_udiv -DPIC udiv.asm >tmp-udiv.s
 gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_udiv -m32 -Wa,--noexecstack tmp-udiv.s -fPIC -DPIC -o .libs/udiv.o
libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_udiv -m32 -Wa,--noexecstack udiv.asm -o udiv.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -m32  -m32 -o libmpn.la  fib_table.lo mp_bases.lo add.lo add_1.lo add_n.lo sub.lo sub_1.lo sub_n.lo cnd_add_n.lo cnd_sub_n.lo cnd_swap.lo neg.lo com.lo mul_1.lo addmul_1.lo submul_1.lo add_err1_n.lo add_err2_n.lo add_err3_n.lo sub_err1_n.lo su

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