DEBUG: Executing shell function do_compile NOTE: make -j 70 -l 140 ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\' \ ) > auto-ccld.sh cat auto-ccld.sh make-compile.sh > make-compile cat auto-ccld.sh find-systype.sh > find-systype chmod 755 make-compile cat auto-ccld.sh make-load.sh > make-load chmod 755 find-systype chmod 755 make-load ./find-systype > systype ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load ./extra-libs.sh "`cat systype`" >extra-libs chmod 755 compile ./compile memtester.c chmod 755 load ./compile tests.c memtester.c:38:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 38 | { "Random Value", test_random_value }, | ^~~~~~~~~~~~~~~~~ memtester.c:38:23: note: (near initialization for 'tests[0].fp') In file included from memtester.c:31: tests.h:20:5: note: 'test_random_value' declared here 20 | int test_random_value(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~ memtester.c:39:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 39 | { "Compare XOR", test_xor_comparison }, | ^~~~~~~~~~~~~~~~~~~ memtester.c:39:22: note: (near initialization for 'tests[1].fp') tests.h:21:5: note: 'test_xor_comparison' declared here 21 | int test_xor_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~ memtester.c:40:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 40 | { "Compare SUB", test_sub_comparison }, | ^~~~~~~~~~~~~~~~~~~ memtester.c:40:22: note: (near initialization for 'tests[2].fp') tests.h:22:5: note: 'test_sub_comparison' declared here 22 | int test_sub_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~ memtester.c:41:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 41 | { "Compare MUL", test_mul_comparison }, | ^~~~~~~~~~~~~~~~~~~ memtester.c:41:22: note: (near initialization for 'tests[3].fp') tests.h:23:5: note: 'test_mul_comparison' declared here 23 | int test_mul_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~ memtester.c:42:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 42 | { "Compare DIV",test_div_comparison }, | ^~~~~~~~~~~~~~~~~~~ memtester.c:42:21: note: (near initialization for 'tests[4].fp') tests.h:24:5: note: 'test_div_comparison' declared here 24 | int test_div_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~ memtester.c:43:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 43 | { "Compare OR", test_or_comparison }, | ^~~~~~~~~~~~~~~~~~ memtester.c:43:21: note: (near initialization for 'tests[5].fp') tests.h:25:5: note: 'test_or_comparison' declared here 25 | int test_or_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~ memtester.c:44:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 44 | { "Compare AND", test_and_comparison }, | ^~~~~~~~~~~~~~~~~~~ memtester.c:44:22: note: (near initialization for 'tests[6].fp') tests.h:26:5: note: 'test_and_comparison' declared here 26 | int test_and_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~ memtester.c:45:31: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 45 | { "Sequential Increment", test_seqinc_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~ memtester.c:45:31: note: (near initialization for 'tests[7].fp') tests.h:27:5: note: 'test_seqinc_comparison' declared here 27 | int test_seqinc_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~ memtester.c:46:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 46 | { "Solid Bits", test_solidbits_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:46:21: note: (near initialization for 'tests[8].fp') tests.h:28:5: note: 'test_solidbits_comparison' declared here 28 | int test_solidbits_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:47:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 47 | { "Block Sequential", test_blockseq_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:47:27: note: (near initialization for 'tests[9].fp') tests.h:30:5: note: 'test_blockseq_comparison' declared here 30 | int test_blockseq_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:48:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 48 | { "Checkerboard", test_checkerboard_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:48:23: note: (near initialization for 'tests[10].fp') tests.h:29:5: note: 'test_checkerboard_comparison' declared here 29 | int test_checkerboard_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:49:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 49 | { "Bit Spread", test_bitspread_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:49:21: note: (near initialization for 'tests[11].fp') tests.h:33:5: note: 'test_bitspread_comparison' declared here 33 | int test_bitspread_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:50:19: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 50 | { "Bit Flip", test_bitflip_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~ memtester.c:50:19: note: (near initialization for 'tests[12].fp') tests.h:34:5: note: 'test_bitflip_comparison' declared here 34 | int test_bitflip_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~ memtester.c:51:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 51 | { "Walking Ones", test_walkbits1_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:51:23: note: (near initialization for 'tests[13].fp') tests.h:32:5: note: 'test_walkbits1_comparison' declared here 32 | int test_walkbits1_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:52:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(volatile long unsigned int *, volatile long unsigned int *, size_t)' {aka 'int (*)(volatile long unsigned int *, volatile long unsigned int *, long unsigned int)'} [-Wincompatible-pointer-types] 52 | { "Walking Zeroes", test_walkbits0_comparison }, | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c:52:25: note: (near initialization for 'tests[14].fp') tests.h:31:5: note: 'test_walkbits0_comparison' declared here 31 | int test_walkbits0_comparison(unsigned long volatile *bufa, unsigned long volatile *bufb, size_t count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ memtester.c: In function 'main': memtester.c:411:18: error: too many arguments to function 'tests[i].fp'; expected 0, have 3 411 | if (!tests[i].fp(bufa, bufb, count)) { | ^~~~~ ~~~~ In file included from memtester.c:29: types.h:25:11: note: declared here 25 | int (*fp)(); | ^~ make: *** [Makefile:82: memtester.o] Error 1 make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed WARNING: TOPDIR/tmp/work/core2-64-oe-linux/memtester/4.6.0/temp/run.do_compile.1190033:168 exit 1 from 'exit 1' WARNING: Backtrace (BB generated script): #1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/memtester/4.6.0/temp/run.do_compile.1190033, line 168 #2: die, TOPDIR/tmp/work/core2-64-oe-linux/memtester/4.6.0/temp/run.do_compile.1190033, line 152 #3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/memtester/4.6.0/temp/run.do_compile.1190033, line 147 #4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/memtester/4.6.0/temp/run.do_compile.1190033, line 142 #5: main, TOPDIR/tmp/work/core2-64-oe-linux/memtester/4.6.0/temp/run.do_compile.1190033, line 181