make check fails; fedora core 37 (x86_64)

George R Goffe grgoffe at yahoo.com
Sun Apr 17 21:00:02 CEST 2022


Marco,

First of all, I apologize for the "goofy" bug report/question I sent earlier.

You are absolutely correct. I think the problems in this particular build environment are fixed. GMP is part of the required software for building GCC so I reviewed EVERYTHING related.

GMP and the other required software AND GCC are now building. There is a small problem with building GMP though. This is a build from the "current" contents of the GMP repository. Here's a "snapshot" of the messages I'm seeing:

1020       CFLAGS="-O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge"
1021       CPPFLAGS=""
1022       MPN_PATH=" x86_64/coreisbr x86_64/coreinhm x86_64/core2 x86_64 generic"
1023 checking whether assembler supports --noexecstack option... yes
1024 checking for ar... ar
1025 checking for BSD- or MS-compatible name lister (nm)... ./configure: line 12151: 1q: command not found
1026 ./configure: line 12157: 1q: command not found
1027 ./configure: line 12151: 1q: command not found
1028 ./configure: line 12157: 1q: command not found
1029 ./configure: line 12151: 1q: command not found
1030 ./configure: line 12157: 1q: command not found
1031 ./configure: line 12151: 1q: command not found
1032 ./configure: line 12157: 1q: command not found
1033 /usr/lsd/Linux/bin/nm
1034 checking the name lister (/usr/lsd/Linux/bin/nm) interface... BSD nm
1035 checking how to print strings... printf

I have a full build log if required.

Best regards and STAY SAFE!

Ciao!

George...







On Saturday, April 16, 2022, 08:53:32 AM PDT, Marco Bodrato <bodrato at mail.dm.unipi.it> wrote: 





Ciao George,

Il 2022-04-08 18:16 George R Goffe ha scritto:
> I'm having a bit of trouble building gmp from the source repository
> at:. Here's what make check "tells me". I probably did something wrong
> but, for the life of me, can't see it. Here's a snip from the full
> build (included).

You attached a gzip-ed version of a gzip-ed version of ... what? The 
"log" starts with:

which () {  ( alias;
  eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias 
--read-functions --show-tilde --sho
w-dot $@
}
#!/bin/bash -xv

This is not code from GMP, those are not messages from the 
configure&&make&&make check process...

Did you use some kind of script for the whole process?

> Can you help me please?

>    9114 FAIL: t-bswap

>    9117 FAIL: t-count_zeros

>    9120 FAIL: t-modlinv

>    9122 FAIL: t-popc

>    9124 FAIL: t-parity

>    9126 FAIL: t-sub

Almost everything fails. There is probably something wrong in your 
building environment or in the building process.

I'd suggest you to start from a released tarball.
You can find the announce of the last release here:
https://gmplib.org/list-archives/gmp-announce/2020-November/000049.html

If you can not build it, please ask to the fedora community. They 
managed to build the package for the fc36 (x86_64) flavour:
https://fedora.pkgs.org/rawhide/fedora-x86_64/gmp-6.2.1-2.fc36.x86_64.rpm.html
I'm sure it is possible to build it also for the core 37 one...

Then, if you find a bug, please read the following page before writing 
again to this list:
https://gmplib.org/manual/Reporting-Bugs

Ĝis,

m


-- 
http://bodrato.it/papers/



More information about the gmp-bugs mailing list