* Package: app-benchmarks/i7z-93_p20131012-r2 * Repository: gentoo * Maintainer: pacho@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking i7z-93_p20131012.tar.gz to /var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work >>> Source unpacked in /var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work >>> Preparing source in /var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work/i7z-5023138d7c35c4667c938b853e5ea89737334e92 ... * Applying i7z-0.27.2-ncurses.patch ... [ ok ] * Applying qt5.patch ... [ ok ] * Applying gcc5.patch ... [ ok ] * Applying fix-insecure-tempfile.patch ... [ ok ] * Applying fix_cpuid_asm.patch ... [ ok ] * Applying hyphen-used-as-minus-sign.patch ... [ ok ] * Applying install-i7z_rw_registers.patch ... [ ok ] * Applying use_stdbool.patch ... [ ok ] * Applying nehalem.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work/i7z-5023138d7c35c4667c938b853e5ea89737334e92 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work/i7z-5023138d7c35c4667c938b853e5ea89737334e92 ... make -j1 rm -f *.o i7z If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian) x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -c -o i7z.o i7z.c i7z.c: In function ‘logCpuFreq_single_ts’: i7z.c:187:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 187 | fprintf(fp_log_file_freq,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:187:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 187 | fprintf(fp_log_file_freq,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:191:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 191 | fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:191:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 191 | fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘logCpuFreq_dual_ts’: i7z.c:267:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 267 | fprintf(fp_log_file_freq_1,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:267:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 267 | fprintf(fp_log_file_freq_1,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:271:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 271 | fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:271:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 271 | fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:276:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 276 | fprintf(fp_log_file_freq_2,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:276:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 276 | fprintf(fp_log_file_freq_2,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:280:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 280 | fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:280:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 280 | fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘logCpuCstates_single_ts’: i7z.c:318:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 318 | fprintf(fp_log_file_Cstates,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:318:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 318 | fprintf(fp_log_file_Cstates,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘logCpuCstates_dual_ts’: i7z.c:369:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 369 | fprintf(fp_log_file_Cstates_1,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:369:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 369 | fprintf(fp_log_file_Cstates_1,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c:374:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 374 | fprintf(fp_log_file_Cstates_2,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld i7z.c:374:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__syscall_slong_t’ {aka ‘long int’} [-Wformat=] 374 | fprintf(fp_log_file_Cstates_2,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs | ~~~^ ~~~~~~~~~~~~~~ | | | | int __syscall_slong_t {aka long int} | %.9ld i7z.c: In function ‘atexit_runsttysane’: i7z.c:384:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 384 | system("stty sane"); | ^~~~~~~~~~~~~~~~~~~ i7z.c: In function ‘modprobing_msr’: i7z.c:389:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 389 | system("modprobe msr"); | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -c -o helper_functions.o helper_functions.c helper_functions.c: In function ‘Test_Or_Make_MSR_DEVICE_FILES’: helper_functions.c:521:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 521 | system ("msr_major=202; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ 522 | cpuid_major=203; \ | ~~~~~~~~~~~~~~~~~~ 523 | n=0; \ | ~~~~~~ 524 | while [ $n -lt 16 ]; do \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | mkdir -m 0755 -p /dev/cpu/$n; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 526 | mknod /dev/cpu/$n/msr -m 0600 c $msr_major $n; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 527 | mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 528 | n=`expr $n + 1`; \ | ~~~~~~~~~~~~~~~~~~ 529 | done; \ | ~~~~~~~ 530 | "); | ~~ helper_functions.c:532:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 532 | system ("modprobe msr"); | ^~~~~~~~~~~~~~~~~~~~~~~ helper_functions.c: In function ‘cpufreq_info’: helper_functions.c:550:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 550 | fgets (tmp_str, 30, tmp_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -c -o i7z_Single_Socket.o i7z_Single_Socket.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -c -o i7z_Dual_Socket.o i7z_Dual_Socket.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wl,-O1 -Wl,--as-needed -o i7z i7z.o helper_functions.o i7z_Single_Socket.o i7z_Dual_Socket.o `x86_64-pc-linux-gnu-pkg-config --libs ncurses` -lpthread -lrt -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: i7z_Dual_Socket.o:(.bss+0x0): multiple definition of `global_ts'; i7z_Single_Socket.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:41: bin] Error 1 * ERROR: app-benchmarks/i7z-93_p20131012-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-benchmarks/i7z-93_p20131012-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-benchmarks/i7z-93_p20131012-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-benchmarks:i7z-93_p20131012-r2:20200127-073200.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work/i7z-5023138d7c35c4667c938b853e5ea89737334e92' * S: '/var/tmp/portage/app-benchmarks/i7z-93_p20131012-r2/work/i7z-5023138d7c35c4667c938b853e5ea89737334e92'