Re: GMP 6.3.0 - make tuneup - Stop

2023-10-11 Thread Torbjörn Granlund
Zsolt Kalmandi  writes:

  ./configure --build=silvermont-pc-linux-gnu --enable-fat

A fat build is incompatible with tuneup.  I don't even know how it would
work.

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


GMP 6.3.0 - make tuneup - Stop

2023-10-11 Thread Zsolt Kalmandi
Hi,

GMP 6.3.0, I've tried to "fine-tuning" the compilation with make tuneup, to see 
the performance difference, but it is not working.

Somehow I've got this:

/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: *** No rule to make target 'sqr_basecase.c', needed by 'sqr_basecase.o'. 
Stop.

I have tried it many times, on two different hardware, one of them is an Intel 
Atom (silvermont), the other one is a Xeon 2470 v2 (ivybridge). Everything is 
compiling just fine on both of the machines.

I built it with:
.config.guess
./configure --build=silvermont-pc-linux-gnu --enable-fat
[on the Xeon with: ivybridge-pc-linux-gnu, of course]
make
make check

Everithing is fine, only oneSKIP, what I've got..someaddaddmul,but it's not 
important to me.

/tune
make tuneup
make: *** No rule to make target 'sqr_basecase.c', needed by 'sqr_basecase.o'. 
Stop.

So, do a have to modify something in a Makefile somewhere, or link this file, 
or.. I don't know. I've just copied one of the sqr_basecase.c file from the 
generic folder (I guess), but it is crashed after in the fat.h, etc.. Of 
course, that was a cheap trying.

Thanks for any advice!
Zsolt

Sent with [Proton Mail](https://proton.me/) secure email.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs