* Package: sci-mathematics/yafu-1.34.3 * Repository: gentoo * Maintainer: patrick@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux sieve userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying fix-Makefile.patch ... [ ok ] gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/lanczos.o factor/qs/msieve/lanczos.c factor/qs/msieve/lanczos.c: In function ‘yafu_read_lanczos_state’: factor/qs/msieve/lanczos.c:854:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&read_n, sizeof(uint32), (size_t)1, dump_fp); ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/lanczos_matmul0.o factor/qs/msieve/lanczos_matmul0.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/lanczos_matmul1.o factor/qs/msieve/lanczos_matmul1.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/lanczos_matmul2.o factor/qs/msieve/lanczos_matmul2.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/lanczos_pre.o factor/qs/msieve/lanczos_pre.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/sqrt.o factor/qs/msieve/sqrt.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/savefile.o factor/qs/msieve/savefile.c factor/qs/msieve/savefile.c: In function ‘qs_savefile_read_line’: factor/qs/msieve/savefile.c:201:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buf, (int)max_len, s->fp); ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/msieve/gf2.o factor/qs/msieve/gf2.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o top/driver.o top/driver.c top/driver.c: In function ‘main’: top/driver.c:336:13: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] double t; ^ top/driver.c:242:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(input_exp,GSTR_MAXSIZE,stdin); ^ top/driver.c:265:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(input_exp+strlen(input_exp),GSTR_MAXSIZE,stdin); ^ top/driver.c: In function ‘helpfunc’: top/driver.c:520:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(str,1024,doc); ^ top/driver.c: In function ‘process_arguments’: top/driver.c:756:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(input_exp,1024,in); ^ top/driver.c: In function ‘yafu_set_idle_priority’: top/driver.c:886:6: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] nice(100); ^ top/driver.c: In function ‘get_random_seeds’: top/driver.c:2081:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp_seed1, sizeof(uint32), (size_t)1, rand_device); ^ top/driver.c:2082:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(&tmp_seed2, sizeof(uint32), (size_t)1, rand_device); ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o top/utils.o top/utils.c top/utils.c: In function ‘yafu_get_cpu_type’: top/utils.c:1322:17: warning: variable ‘model’ set but not used [-Wunused-but-set-variable] uint8 family, model; ^ top/utils.c: In function ‘extended_cpuid’: top/utils.c:1440:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((int*)CPUString) = CPUInfo[1]; ^ top/utils.c:1371:9: warning: variable ‘nVirtualAddress’ set but not used [-Wunused-but-set-variable] int nVirtualAddress = 0; ^ top/utils.c:1370:9: warning: variable ‘nPhysicalAddress’ set but not used [-Wunused-but-set-variable] int nPhysicalAddress = 0; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o top/stack.o top/stack.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o top/calc.o top/calc.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o top/test.o top/test.c top/test.c: In function ‘test_dlp_composites’: top/test.c:70:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%" PRIu64 ",%u,%u",comp+i,f1+i,f2+i); ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o top/mpz_prp_prime.o top/mpz_prp_prime.c top/mpz_prp_prime.c: In function ‘mpz_aprtcle’: top/mpz_prp_prime.c:1617:13: warning: variable ‘G’ set but not used [-Wunused-but-set-variable] int i, j, G, H, I, J, K, P, Q, W, X; ^ top/mpz_prp_prime.c:1716:16: warning: array subscript is above array bounds [-Warray-bounds] P = aiP[i+zz]; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/factor_common.o factor/factor_common.c factor/factor_common.c: In function ‘get_qs_time_estimate’: factor/factor_common.c:834:3: warning: case value ‘10’ not in enumerated type ‘enum cpu_type’ [-Wswitch] case 10: ^ factor/factor_common.c: In function ‘get_gnfs_time_estimate’: factor/factor_common.c:884:3: warning: case value ‘10’ not in enumerated type ‘enum cpu_type’ [-Wswitch] case 10: ^ factor/factor_common.c: In function ‘factor’: factor/factor_common.c:2154:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(tmpstr,1024,data); ^ factor/factor_common.c:2195:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(tmpstr,1024,data); ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/rho.o factor/rho.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/squfof.o factor/squfof.c factor/squfof.c: In function ‘sp_shanks_loop’: factor/squfof.c:80:25: warning: variable ‘big1’ set but not used [-Wunused-but-set-variable] uint64 n64, nn64, f64, big1, big2; ^ factor/squfof.c: In function ‘shanks_mult_unit’: factor/squfof.c:226:6: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] int j=0; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/trialdiv.o factor/trialdiv.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/tune.o factor/tune.c factor/tune.c: In function ‘factor_tune’: factor/tune.c:155:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(syscmd); ^ factor/tune.c:172:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(syscmd); ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/filter.o factor/qs/filter.c factor/qs/filter.c: In function ‘yafu_qs_filter_relations’: factor/qs/filter.c:659:6: warning: variable ‘first’ set but not used [-Wunused-but-set-variable] int first, last_poly; ^ factor/qs/filter.c:654:9: warning: variable ‘poly_saved’ set but not used [-Wunused-but-set-variable] uint32 poly_saved; ^ factor/qs/filter.c:651:21: warning: variable ‘curr_poly_idx’ set but not used [-Wunused-but-set-variable] uint32 curr_a_idx, curr_poly_idx, curr_rel; ^ factor/qs/filter.c: In function ‘restart_siqs’: factor/qs/filter.c:328:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(str,1024,data); ^ factor/qs/filter.c:344:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(str,1024,data); ^ factor/qs/filter.c: In function ‘yafu_qs_filter_relations’: factor/qs/filter.c:865:25: warning: ‘rel’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (rel->large_prime[0] == 0) ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv.o factor/qs/tdiv.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_small.o factor/qs/tdiv_small.c factor/qs/tdiv_small.c: In function ‘filter_SPV’: factor/qs/tdiv_small.c:82:12: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable] sieve_fb *fb; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_med_32k.o factor/qs/tdiv_med_32k.c factor/qs/tdiv_med_32k.c: In function ‘tdiv_medprimes_32k’: factor/qs/tdiv_med_32k.c:68:12: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable] sieve_fb *fb; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_med_64k.o factor/qs/tdiv_med_64k.c factor/qs/tdiv_med_64k.c: In function ‘tdiv_medprimes_64k’: factor/qs/tdiv_med_64k.c:68:12: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable] sieve_fb *fb; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_resieve_32k.o factor/qs/tdiv_resieve_32k.c factor/qs/tdiv_resieve_32k.c: In function ‘resieve_medprimes_32k’: factor/qs/tdiv_resieve_32k.c:70:19: warning: variable ‘fullfb_ptr’ set but not used [-Wunused-but-set-variable] fb_element_siqs *fullfb_ptr, *fullfb = sconf->factor_base->list; ^ factor/qs/tdiv_resieve_32k.c:68:12: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable] sieve_fb *fb; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_resieve_64k.o factor/qs/tdiv_resieve_64k.c factor/qs/tdiv_resieve_64k.c: In function ‘resieve_medprimes_64k’: factor/qs/tdiv_resieve_64k.c:70:19: warning: variable ‘fullfb_ptr’ set but not used [-Wunused-but-set-variable] fb_element_siqs *fullfb_ptr, *fullfb = sconf->factor_base->list; ^ factor/qs/tdiv_resieve_64k.c:68:12: warning: variable ‘fb’ set but not used [-Wunused-but-set-variable] sieve_fb *fb; ^ gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_large.o factor/qs/tdiv_large.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/tdiv_scan.o factor/qs/tdiv_scan.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/large_sieve.o factor/qs/large_sieve.c gcc -march=native -O2 -pipe -DUSE_NFS -O3 -fomit-frame-pointer -Wall -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/qs/med_sieve_32k.o factor/qs/med_sieve_32k.c In file included from factor/qs/med_sieve_32k.c:23:0: factor/qs/med_sieve_32k.c: In function ‘med_sieveblock_32k’: factor/qs/sieve_macros_32k.h:68:2: error: ‘asm’ operand has impossible constraints __asm__ ( \ ^ factor/qs/med_sieve_32k.c:70:2: note: in expansion of macro ‘SIEVE_13b_ASM’ SIEVE_13b_ASM; ^ factor/qs/sieve_macros_32k.h:8:2: error: ‘asm’ operand has impossible constraints __asm__ ( \ ^ factor/qs/med_sieve_32k.c:185:2: note: in expansion of macro ‘SIEVE_GT_BLOCKSIZE_ASM’ SIEVE_GT_BLOCKSIZE_ASM; ^ Makefile:248: recipe for target 'factor/qs/med_sieve_32k.o' failed make: *** [factor/qs/med_sieve_32k.o] Error 1 * ERROR: sci-mathematics/yafu-1.34.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/yafu-1.34.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/yafu-1.34.3::gentoo'`. * The complete build log is located at '/var/log/portage/sci-mathematics:yafu-1.34.3:20150220-000736.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/yafu-1.34.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/yafu-1.34.3/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/yafu-1.34.3/work/yafu-1.34.3' * S: '/var/tmp/portage/sci-mathematics/yafu-1.34.3/work/yafu-1.34.3'