20210410, 13:46  #12  
"Ben"
Feb 2007
D6E_{16} Posts 
As I mentioned in post 9, this has been fixed, but I'm still working on the other issues charybdis mentioned so the windows binary hasn't been updated yet.
Quote:
Looks like I forgot that noecm had its own argument outside of plan; I will reenable that. 

20210410, 16:08  #13 
Aug 2020
2×5×17 Posts 
Ok, thanks. I didn't get an error message, so I thought it was different.

20210411, 15:39  #14 
"Ben"
Feb 2007
110101101110_{2} Posts 
Updated windows exe's are now available. I think all of the "tune" issues are fixed now.
After a bunch of wrestling with build tools I've now built for windows on: * windows subsystem for linux (WSL) < best option! * Visual studio 2019 * Mingw64/Msys2 For some reason, avxecm doesn't work on the mingw64 build. I haven't tracked down why yet; for now it just uses internal/external gmpecm. These various builds used GCC versions 7, 9, and 10, so the massive code reorg in 2.0 has hopefully fixed all of the build issues for GCC 10+ that people were reporting. 
20210411, 16:18  #15 
Aug 2020
170_{10} Posts 
I just continued NFS sieving from another computer that ran yafu 1.34 on an different computer with the new yafu2 build and so far everything runs smoothly, no bugs encountered.

20210411, 16:51  #16 
Apr 2020
2^{3}·3·11 Posts 
Looks good now. Thank you!

20210414, 07:46  #17 
Aug 2020
10101010_{2} Posts 
I tried the yafux64.exe on an i32110 with Win 10 and both factor() and tune() just show a blank line for 10 s with no CPU activity and then it returns to the prompt.
A session.log is created but with size 0. 
20210414, 19:03  #18  
"Ben"
Feb 2007
6556_{8} Posts 
Quote:
I don't know if it will tell me much, but can you try to start with v v v (three verbose flags) and post any output? [edit] Also I guess I should ask, is this a 64bit windows 10 or 32bit? I have stopped supporting/building 32bit yafu. Last fiddled with by bsquared on 20210414 at 20:36 

20210415, 19:41  #19 
Aug 2020
2·5·17 Posts 
This is all that happens:
Code:
D:\Primes\yafu2>yafux64.exe factor("10^30+1237") v v v YAFU Version 2.0 Built with Microsoft Visual Studio 1928 Using GMPECM 7.0.4, Powered by MPIR 3.0.0 Detected Intel(R) Core(TM) i32120 CPU @ 3.30GHz Detected L1 = 32768 bytes, L2 = 3145728 bytes, CL = 64 bytes Using 1 random witness for RabinMiller PRP checks Cached 664579 primes; max prime is 9999991 =============================================================== ======= Welcome to YAFU (Yet Another Factoring Utility) ======= ======= bbuhrow@gmail.com ======= ======= Type help at any time, or quit to quit ======= =============================================================== >> D:\Primes\yafu2> 
20210420, 22:19  #20 
"Oliver"
Sep 2017
Porta Westfalica, DE
495_{10} Posts 
Currently, I'm trying to compile YAFU for Linux. I'm stuck at the ysieve. There is a function modinv_1c, which cannot be resolved. I already have GMP, GMPECM and ytools in my source directory. Then I did a grep on this directory:
Code:
~/src$ grep Rn modinv_1c . Binary file ./ysieve/libysieve.a matches ./ysieve/roots.c:321: inv = modinv_1c(t>sdata.prodN, prime); ./ysieve/roots.c:425: inv = modinv_1c(pn, prime); ./ysieve/roots.c:447: inv = modinv_1c(t>sdata.prodN, prime); Binary file ./ysieve/roots.o matches ./ysieve/worker.c:333: inv = modinv_1c(t>sdata.prodN, prime); ./ysieve/worker.c:353: inv = modinv_1c(t>sdata.prodN, prime); GMP is version 6.2.1, GMPECM is the current SVN (as of about an hour ago), ytools is the version from git about half an hour ago. The environment is WSL Debian 10.9, all available updates applied. The commandline for compiling was ~/src/ysieve$ make CC=gcc CFLAGS="O3 march=native I../ytools I. L../ytools" Last fiddled with by kruoli on 20210420 at 22:28 Reason: Spelling. 
20210421, 00:18  #21  
"Ben"
Feb 2007
2·3^{2}·191 Posts 
Quote:


20210421, 13:32  #22 
"Oliver"
Sep 2017
Porta Westfalica, DE
3^{2}×5×11 Posts 
That is working now, thanks. The big trouble comes when trying to compile yafu itself. I've been tinkering with it for some hours no and reached this point: Using the command make CC=gcc CFLAGS="O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools" (yes, each I and L is necessary, also I have to state DUSE_SSE2, otherwise he does not know what COMPUTE_8X_SMALL_PROOTS is), it states:
Code:
make: *** No rule to make target 'factor/avxecm/avxppm1.o', needed by 'yafu'. Stop. Edit: I did a git pull and now it's not stopping here anymore, so I guess it's fixed, sorry. Additionally, there are tons of warnings (up to the point where he cannot proceed), I'm not sure if I can ignore all of them? Code:
In file included from include/qs_impl.h:20, from include/lanczos.h:21, from factor/qs/msieve/lanczos.c:18: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/lanczos_matmul0.o factor/qs/msieve/lanczos_matmul0.c factor/qs/msieve/lanczos_matmul0.c: In function ‘yafu_mul_packed’: factor/qs/msieve/lanczos_matmul0.c:128:4: warning: implicit declaration of function ‘pthread_cond_signal’; did you mean ‘pthread_sigmask’? [Wimplicitfunctiondeclaration] pthread_cond_signal(&t>run_cond); ^~~~~~~~~~~~~~~~~~~ pthread_sigmask factor/qs/msieve/lanczos_matmul0.c:129:4: warning: implicit declaration of function ‘pthread_mutex_unlock’ [Wimplicitfunctiondeclaration] pthread_mutex_unlock(&t>run_lock); ^~~~~~~~~~~~~~~~~~~~ factor/qs/msieve/lanczos_matmul0.c:145:4: warning: implicit declaration of function ‘pthread_mutex_lock’; did you mean ‘pthread_kill’? [Wimplicitfunctiondeclaration] pthread_mutex_lock(&t>run_lock); ^~~~~~~~~~~~~~~~~~ pthread_kill factor/qs/msieve/lanczos_matmul0.c:147:5: warning: implicit declaration of function ‘pthread_cond_wait’; did you mean ‘pthread_sigmask’? [Wimplicitfunctiondeclaration] pthread_cond_wait(&t>run_cond, &t>run_lock); ^~~~~~~~~~~~~~~~~ pthread_sigmask factor/qs/msieve/lanczos_matmul0.c: In function ‘yafu_start_worker_thread’: factor/qs/msieve/lanczos_matmul0.c:522:2: warning: implicit declaration of function ‘pthread_mutex_init’; did you mean ‘pthread_kill’? [Wimplicitfunctiondeclaration] pthread_mutex_init(&t>run_lock, NULL); ^~~~~~~~~~~~~~~~~~ pthread_kill factor/qs/msieve/lanczos_matmul0.c:523:2: warning: implicit declaration of function ‘pthread_condit’; did you mean ‘pthread_kill’? [Wimplicitfunctiondeclaration] pthread_condit(&t>run_cond, NULL); ^~~~~~~~~~~~~~~~~ pthread_kill factor/qs/msieve/lanczos_matmul0.c:527:2: warning: implicit declaration of function ‘pthread_create’; did you mean ‘timer_create’? [Wimplicitfunctiondeclaration] pthread_create(&t>thread_id, NULL, yafu_worker_thread_main, t); ^~~~~~~~~~~~~~ timer_create factor/qs/msieve/lanczos_matmul0.c: In function ‘yafu_stop_worker_thread’: factor/qs/msieve/lanczos_matmul0.c:554:2: warning: implicit declaration of function ‘pthread_join’; did you mean ‘pthread_kill’? [Wimplicitfunctiondeclaration] pthread_join(t>thread_id, NULL); ^~~~~~~~~~~~ pthread_kill factor/qs/msieve/lanczos_matmul0.c:555:2: warning: implicit declaration of function ‘pthread_cond_destroy’ [Wimplicitfunctiondeclaration] pthread_cond_destroy(&t>run_cond); ^~~~~~~~~~~~~~~~~~~~ factor/qs/msieve/lanczos_matmul0.c:556:2: warning: implicit declaration of function ‘pthread_mutex_destroy’ [Wimplicitfunctiondeclaration] pthread_mutex_destroy(&t>run_lock); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/qs_impl.h:20, from include/lanczos.h:21, from factor/qs/msieve/lanczos_matmul0.c:19: factor/qs/msieve/lanczos_matmul0.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/lanczos_matmul1.o factor/qs/msieve/lanczos_matmul1.c In file included from include/qs_impl.h:20, from include/lanczos.h:21, from factor/qs/msieve/lanczos_matmul1.c:14: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/lanczos_matmul2.o factor/qs/msieve/lanczos_matmul2.c In file included from include/qs_impl.h:20, from include/lanczos.h:21, from factor/qs/msieve/lanczos_matmul2.c:14: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/lanczos_pre.o factor/qs/msieve/lanczos_pre.c In file included from include/qs_impl.h:20, from include/lanczos.h:21, from factor/qs/msieve/lanczos_pre.c:18: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/sqrt.o factor/qs/msieve/sqrt.c factor/qs/msieve/sqrt.c: In function ‘yafu_find_factors’: factor/qs/msieve/sqrt.c:186:44: warning: cast from pointer to integer of different size [Wpointertointcast] large_primes = (uint32_t)xrealloc(large_primes, ^ factor/qs/msieve/sqrt.c:186:42: warning: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘unsigned int’ makes pointer from integer without a cast [Wintconversion] large_primes = (uint32_t)xrealloc(large_primes, ^ In file included from include/factor.h:26, from include/qs.h:24, from factor/qs/msieve/sqrt.c:18: factor/qs/msieve/sqrt.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/savefile.o factor/qs/msieve/savefile.c In file included from include/factor.h:26, from include/qs.h:24, from factor/qs/msieve/savefile.c:18: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/msieve/gf2.o factor/qs/msieve/gf2.c In file included from include/qs_impl.h:20, from factor/qs/msieve/gf2.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/filter.o factor/qs/filter.c In file included from include/factor.h:26, from include/qs.h:24, from factor/qs/filter.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/tdiv.o factor/qs/tdiv.c In file included from include/factor.h:26, from include/qs.h:24, from factor/qs/tdiv.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/tdiv_small.o factor/qs/tdiv_small.c In file included from include/qs_impl.h:20, from factor/qs/tdiv_small.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/tdiv_large.o factor/qs/tdiv_large.c factor/qs/tdiv_large.c:92:84: warning: backslash and newline separated by space "orq %%r9,%%r8 \n\t" /* r8 now holds 8 comparisons in 32 bits */ \ factor/qs/tdiv_large.c:93:86: warning: backslash and newline separated by space "orq %%r10,%%r8 \n\t" /* r8 now holds 12 comparisons in 48 bits */ \ factor/qs/tdiv_large.c:95:112: warning: backslash and newline separated by space "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \ factor/qs/tdiv_large.c:126:93: warning: backslash and newline separated by space "vpmovmskb %%ymm2, %%r9 \n\t" /* 2nd 4 comparisons in 16 bits of r9 */ \ factor/qs/tdiv_large.c:134:112: warning: backslash and newline separated by space "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \ factor/qs/tdiv_large.c:188:84: warning: backslash and newline separated by space "orq %%r9,%%r8 \n\t" /* r8 now holds 8 comparisons in 32 bits */ \ factor/qs/tdiv_large.c:189:86: warning: backslash and newline separated by space "orq %%r10,%%r8 \n\t" /* r8 now holds 12 comparisons in 48 bits */ \ factor/qs/tdiv_large.c:191:112: warning: backslash and newline separated by space "andq %%r9,%%r8 \n\t" /* clear the bytemask results we don't care about */ \ In file included from include/qs_impl.h:20, from factor/qs/tdiv_large.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/tdiv_scan.o factor/qs/tdiv_scan.c In file included from include/qs_impl.h:20, from factor/qs/tdiv_scan.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/large_sieve.o factor/qs/large_sieve.c In file included from include/qs_impl.h:20, from factor/qs/large_sieve.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/new_poly.o factor/qs/new_poly.c In file included from include/qs_impl.h:20, from factor/qs/new_poly.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/siqs_test.o factor/qs/siqs_test.c In file included from include/factor.h:26, from include/qs.h:24, from factor/qs/siqs_test.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/siqs_aux.o factor/qs/siqs_aux.c In file included from include/qs_impl.h:20, from factor/qs/siqs_aux.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/smallmpqs.o factor/qs/smallmpqs.c In file included from include/factor.h:26, from include/qs.h:24, from factor/qs/smallmpqs.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/SIQS.o factor/qs/SIQS.c In file included from include/factor.h:26, from factor/qs/SIQS.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/med_sieve_32k.o factor/qs/med_sieve_32k.c In file included from include/qs_impl.h:20, from factor/qs/med_sieve_32k.c:22: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/poly_roots_32k.o factor/qs/poly_roots_32k.c In file included from include/qs_impl.h:20, from factor/qs/poly_roots_32k.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/prime_sieve.o factor/prime_sieve.c In file included from include/qs_impl.h:20, from include/prime_sieve.h:6, from factor/prime_sieve.c:16: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/batch_factor.o factor/batch_factor.c In file included from factor/batch_factor.c:17: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/cofactorize_siqs.o factor/qs/cofactorize_siqs.c gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/update_poly_roots_32k.o factor/qs/update_poly_roots_32k.c In file included from include/qs_impl.h:20, from factor/qs/update_poly_roots_32k.c:22: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/tdiv_med_32k.o factor/qs/tdiv_med_32k.c In file included from include/qs_impl.h:20, from factor/qs/tdiv_med_32k.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/qs/tdiv_resieve_32k.o factor/qs/tdiv_resieve_32k.c In file included from include/qs_impl.h:20, from factor/qs/tdiv_resieve_32k.c:21: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o top/driver.o top/driver.c top/driver.c: In function ‘helpfunc’: top/driver.c:734:10: warning: implicit declaration of function ‘isspace’ [Wimplicitfunctiondeclaration] while (isspace((int)s[j])) j++; //skip white space ^~~~~~~ In file included from include/factor.h:26, from top/cmdParser/calc.h:46, from top/driver.c:23: top/driver.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o top/test.o top/test.c top/test.c: In function ‘test_dlp_composites’: top/test.c:138:35: warning: implicit declaration of function ‘floor’ [Wimplicitfunctiondeclaration] my_ecm_params>B1done = 1.0 + floor(1 * 128.) / 134217728.; ^~~~~ top/test.c:138:35: warning: incompatible implicit declaration of built function ‘floor’ top/test.c:138:35: note: include ‘<math.h>’ or provide a declaration of ‘floor’ top/test.c:29:1: +#include <math.h> top/test.c:138:35: my_ecm_params>B1done = 1.0 + floor(1 * 128.) / 134217728.; ^~~~~ top/test.c:733:47: warning: incompatible implicit declaration of built function ‘floor’ my_ecm_params>B1done = 1.0 + floor(1 * 128.) / 134217728.; ^~~~~ top/test.c:733:47: note: include ‘<math.h>’ or provide a declaration of ‘floor’ In file included from include/factor.h:26, from include/qs.h:24, from top/test.c:24: top/test.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/tune.o factor/tune.c factor/tune.c: In function ‘factor_tune’: factor/tune.c:163:58: warning: implicit declaration of function ‘pow’ [Wimplicitfunctiondeclaration] printf("best exponential fit is y = %g * exp(%g * x)\n",pow(BASE_e,b),a); ^~~ factor/tune.c:163:58: warning: incompatible implicit declaration of built function ‘pow’ factor/tune.c:163:58: note: include ‘<math.h>’ or provide a declaration of ‘pow’ factor/tune.c:6:1: +#include <math.h> #include <stdint.h> factor/tune.c:163:58: printf("best exponential fit is y = %g * exp(%g * x)\n",pow(BASE_e,b),a); ^~~ factor/tune.c: In function ‘best_linear_fit’: factor/tune.c:701:11: warning: implicit declaration of function ‘log’ [Wimplicitfunctiondeclaration] yy[i] = log(y[i]); ^~~ factor/tune.c:701:11: warning: incompatible implicit declaration of built function ‘log’ factor/tune.c:701:11: note: include ‘<math.h>’ or provide a declaration of ‘log’ In file included from include/factor.h:26, from factor/tune.c:2: factor/tune.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/autofactor.o factor/autofactor.c factor/autofactor.c: In function ‘get_qs_time_estimate’: factor/autofactor.c:200:42: warning: implicit declaration of function ‘exp’ [Wimplicitfunctiondeclaration] estimate = fobj>qs_obj.qs_multiplier * exp(fobj>qs_obj.qs_exponent * digits); ^~~ factor/autofactor.c:200:42: warning: incompatible implicit declaration of built function ‘exp’ factor/autofactor.c:200:42: note: include ‘<math.h>’ or provide a declaration of ‘exp’ factor/autofactor.c:33:1: +#include <math.h> factor/autofactor.c:200:42: estimate = fobj>qs_obj.qs_multiplier * exp(fobj>qs_obj.qs_exponent * digits); ^~~ factor/autofactor.c: In function ‘get_gnfs_time_estimate’: factor/autofactor.c:250:45: warning: incompatible implicit declaration of built function ‘exp’ estimate = fobj>nfs_obj.gnfs_multiplier * exp(fobj>nfs_obj.gnfs_exponent * digits); ^~~ factor/autofactor.c:250:45: note: include ‘<math.h>’ or provide a declaration of ‘exp’ factor/autofactor.c: In function ‘interp_and_set_curves’: factor/autofactor.c:1369:29: warning: implicit declaration of function ‘ceil’ [Wimplicitfunctiondeclaration] fwork>curves = (uint32_t )ceil(work); ^~~~ factor/autofactor.c:1369:29: warning: incompatible implicit declaration of built function ‘ceil’ factor/autofactor.c:1369:29: note: include ‘<math.h>’ or provide a declaration of ‘ceil’ In file included from include/yafu.h:31, from factor/autofactor.c:21: factor/autofactor.c: In function ‘factor’: ../gmp6.2.1/gmp.h:538:21: warning: implicit declaration of function ‘__gmp_fprintf’; did you mean ‘__gmp_sprintf’? [Wimplicitfunctiondeclaration] #define gmp_fprintf __gmp_fprintf ^~~~~~~~~~~~~ factor/autofactor.c:1974:6: note: in expansion of macro ‘gmp_fprintf’ gmp_fprintf(fobj>autofact_obj.op_file, "%Zd\n", fobj>N); ^~~~~~~~~~~ In file included from include/factor.h:26, from factor/autofactor.c:23: factor/autofactor.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o top/cmdParser/cmdOptions.o top/cmdParser/cmdOptions.c top/cmdParser/cmdOptions.c: In function ‘enforce_numeric’: top/cmdParser/cmdOptions.c:225:14: warning: implicit declaration of function ‘isdigit’ [Wimplicitfunctiondeclaration] if (!isdigitt)arg[i])) ^~~~~~~ top/cmdParser/cmdOptions.c: In function ‘initOpt’: top/cmdParser/cmdOptions.c:1004:19: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type [Wincompatiblepointertypes] strcpy(options>tunenfo, ""); ~~~~~~~^~~~~~~~~~~ In file included from ../ytools/ytools.h:37, from top/cmdParser/cmdOptions.c:37: /usr/include/string.h:121:14: note: expected ‘char * restrict’ but argument is of type ‘char **’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o top/cmdParser/calc.o top/cmdParser/calc.c top/cmdParser/calc.c: In function ‘feval’: top/cmdParser/calc.c:2853:9: warning: implicit declaration of function ‘factor_tune’; did you mean ‘factor’? [Wimplicitfunctiondeclaration] factor_tune(fobj); ^~~~~~~~~~~ factor In file included from include/factor.h:26, from top/cmdParser/calc.h:46, from top/cmdParser/calc.c:43: top/cmdParser/calc.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ top/cmdParser/calc.c: In function ‘preprocess’: top/cmdParser/calc.c:983:17: warning: ‘strncpy’ specified bound depends on the length of the source argument [Wstringopoverflow=] strncpy(str, ptr, strlen(ptr)  1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top/cmdParser/calc.c:983:35: note: length computed here strncpy(str, ptr, strlen(ptr)  1); ^~~~~~~~~~~ top/cmdParser/calc.c:956:17: warning: ‘strncpy’ specified bound depends on the length of the source argument [Wstringopoverflow=] strncpy(str, ptr, strlen(ptr)  1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top/cmdParser/calc.c:956:35: note: length computed here strncpy(str, ptr, strlen(ptr)  1); ^~~~~~~~~~~ top/cmdParser/calc.c:936:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [Wstringopoverflow=] strncpy(str, eptr, strlen(eptr)  1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top/cmdParser/calc.c:933:23: note: length computed here else if (eptr[strlen(eptr) + 1] == '\0') ^~~~~~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/gmpecm/ecm.o factor/gmpecm/ecm.c factor/gmpecm/ecm.c: In function ‘ecm_do_one_curve’: factor/gmpecm/ecm.c:754:39: warning: implicit declaration of function ‘floor’ [Wimplicitfunctiondeclaration] thread_data>params>B1done = 1.0 + floor (1 * 128.) / 134217728.; ^~~~~ factor/gmpecm/ecm.c:754:39: warning: incompatible implicit declaration of built function ‘floor’ factor/gmpecm/ecm.c:754:39: note: include ‘<math.h>’ or provide a declaration of ‘floor’ factor/gmpecm/ecm.c:27:1: +#include <math.h> #include <time.h> factor/gmpecm/ecm.c:754:39: thread_data>params>B1done = 1.0 + floor (1 * 128.) / 134217728.; ^~~~~ factor/gmpecm/ecm.c:819:17: warning: ‘return’ with no value, in function returning nonvoid return; ^~~~~~ factor/gmpecm/ecm.c:733:7: note: declared here void *ecm_do_one_curve(void *ptr) ^~~~~~~~~~~~~~~~ In file included from include/factor.h:26, from include/yafu_ecm.h:23, from factor/gmpecm/ecm.c:21: factor/gmpecm/ecm.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/gmpecm/pp1.o factor/gmpecm/pp1.c factor/gmpecm/pp1.c: In function ‘pp1_wrapper’: factor/gmpecm/pp1.c:81:34: warning: implicit declaration of function ‘floor’ [Wimplicitfunctiondeclaration] pp1_data.params>B1done = 1.0 + floor (1 * 128.) / 134217728.; ^~~~~ factor/gmpecm/pp1.c:81:34: warning: incompatible implicit declaration of built function ‘floor’ factor/gmpecm/pp1.c:81:34: note: include ‘<math.h>’ or provide a declaration of ‘floor’ factor/gmpecm/pp1.c:28:1: +#include <math.h> factor/gmpecm/pp1.c:81:34: pp1_data.params>B1done = 1.0 + floor (1 * 128.) / 134217728.; ^~~~~ In file included from include/factor.h:26, from include/yafu_ecm.h:23, from factor/gmpecm/pp1.c:21: factor/gmpecm/pp1.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/gmpecm/pm1.o factor/gmpecm/pm1.c factor/gmpecm/pm1.c: In function ‘pm1_wrapper’: factor/gmpecm/pm1.c:86:34: warning: implicit declaration of function ‘floor’ [Wimplicitfunctiondeclaration] pm1_data.params>B1done = 1.0 + floor (1 * 128.) / 134217728.; ^~~~~ factor/gmpecm/pm1.c:86:34: warning: incompatible implicit declaration of built function ‘floor’ factor/gmpecm/pm1.c:86:34: note: include ‘<math.h>’ or provide a declaration of ‘floor’ factor/gmpecm/pm1.c:28:1: +#include <math.h> factor/gmpecm/pm1.c:86:34: pm1_data.params>B1done = 1.0 + floor (1 * 128.) / 134217728.; ^~~~~ In file included from include/factor.h:26, from include/yafu_ecm.h:23, from factor/gmpecm/pm1.c:21: factor/gmpecm/pm1.c: At top level: include/monty.h:86:19: warning: inline function ‘_umul128’ declared but never defined __inline uint64_t _umul128(uint64_t x, uint64_t y, uint64_t* hi); ^~~~~~~~ gcc O3 march=native DUSE_AVX2 DUSE_SSE41 DUSE_SSE2 I../ytools I../ysieve Iinclude Ifactor Itop/cmdParser I. I../gmpecm I../gmp6.2.1 Itop/aprcl L../ytools c o factor/avxecm/avxecm.o factor/avxecm/avxecm.c In file included from factor/avxecm/avx_ecm.h:30, from factor/avxecm/avxecm.c:52: factor/avxecm/avxecm.c: In function ‘vececm’: ../gmp6.2.1/gmp.h:538:21: warning: implicit declaration of function ‘__gmp_fprintf’; did you mean ‘__gmp_sprintf’? [Wimplicitfunctiondeclaration] #define gmp_fprintf __gmp_fprintf ^~~~~~~~~~~~~ factor/avxecm/avxecm.c:2394:29: note: in expansion of macro ‘gmp_fprintf’ gmp_fprintf(save, "N=0x%Zx; ", gmpn); ^~~~~~~~~~~ In file included from factor/avxecm/avxecm.c:52: factor/avxecm/avxecm.c: In function ‘vec_build_one_curve’: factor/avxecm/avx_ecm.h:58:22: warning: conversion from ‘long long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} changes value from ‘4503599627370495’ to ‘4294967295’ [Woverflow] #define VEC_MAXDIGIT 0xfffffffffffffULL ^~~~~~~~~~~~~~~~~~ factor/avxecm/avxecm.c:2775:57: note: in expansion of macro ‘VEC_MAXDIGIT’ work>sigma = spRandp(&tdata>lcg_state, 6, VEC_MAXDIGIT); ^~~~~~~~~~~~ factor/avxecm/avxecm.c: In function ‘build_one_curve_param1’: factor/avxecm/avx_ecm.h:58:22: warning: conversion from ‘long long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} changes value from ‘4503599627370495’ to ‘4294967295’ [Woverflow] #define VEC_MAXDIGIT 0xfffffffffffffULL ^~~~~~~~~~~~~~~~~~ factor/avxecm/avxecm.c:3031:57: note: in expansion of macro ‘VEC_MAXDIGIT’ work>sigma = spRandp(&tdata>lcg_state, 6, VEC_MAXDIGIT) & 0X3FFFFFF; ^~~~~~~~~~~~ Last fiddled with by kruoli on 20210421 at 13:38 Reason: Scrap that... 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
yafu ignoring yafu.ini  chris2be8  YAFU  6  20191017 16:22 
Running YAFU via Aliqueit doesn't find yafu.ini  EdH  YAFU  8  20180314 17:22 
YAFU1.34  bsquared  YAFU  119  20151105 16:24 
Yafu bug.  storflyt32  YAFU  2  20150629 05:19 
yafu 1.32  bsquared  YAFU  28  20120720 16:17 