GMPlib tuneup building bug
Cyclopropinon
cyclopropinon at realprogrammers.org
Wed Oct 30 00:56:52 CET 2024
Hello,
I encountered a bug while trying to build the tuneup tool.
Version I downloaded: https://ftp.fau.de/gnu/gmp/gmp-6.3.0.tar.lz
I got the same problem on both systems I tried on.
System 1 (Ubuntu 24.04.1 LTS):
./configure --enable-fat --enable-cxx
gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)
uname -a: Linux (device name) 6.8.0-45-generic #45-Ubuntu SMP
PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
.config.guess: k8-pc-linux-gnu
.configfsf.guess: x86_64-pc-linux-gnu
System 2 (Ubuntu 22.04.5 LTS):
./configure --enable-fat --enable-cxx
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
uname -a: Linux (device name) 6.8.0-47-generic #47~22.04.1-Ubuntu SMP
PREEMPT_DYNAMIC Wed Oct 2 16:16:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
.config.guess: haswell-pc-linux-gnu
.configfsf.guess: x86_64-pc-linux-gnu
Problem:
$make tuneup
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../tests -O2 -pedantic
-fomit-frame-pointer -m64 -c -o tuneup.o tuneup.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../tests -O2 -pedantic
-fomit-frame-pointer -m64 -c -o hgcd2.o hgcd2.c
make: *** Keine Regel vorhanden, um das Ziel „sqr_basecase.c“,
benötigt von „sqr_basecase.o“, zu erstellen. Schluss.
(translated: make: *** No rule to make target 'sqr_basecase.c', neede by
'sqr_basecase.o'. Stop
Steps to reproduce:
download & extract gmp-6.3.0
following the guide (https://gmplib.org/manual/Installing-GMP):
$./configure --enable-fat --enable-cxx
$make
$make check
(all checks pass)
now following https://gmplib.org/manual/Performance-optimization:
$cd tune/
$make tuneup
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../tests -O2 -pedantic
-fomit-frame-pointer -m64 -c -o tuneup.o tuneup.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../tests -O2 -pedantic
-fomit-frame-pointer -m64 -c -o hgcd2.o hgcd2.c
make: *** Keine Regel vorhanden, um das Ziel „sqr_basecase.c“,
benötigt von „sqr_basecase.o“, zu erstellen. Schluss.
running it again results in:
make: *** Keine Regel vorhanden, um das Ziel „sqr_basecase.c“,
benötigt von „sqr_basecase.o“, zu erstellen. Schluss.
(but this time without the previous lines)
I hope this helps in finding the bug!
Sincerely,
Cyclopropinon
More information about the gmp-bugs
mailing list