I am experimenting a bit with the compilation of Parrot perl Configure.pl --gc=malloc-trace make
stopped with: src/malloc.c:4719: warning: function call has aggregate value make: *** [src/malloc-trace.o] Error 1 below is the stderr Gabor print_newline 1211 experimental, not in ops.num print_newline_p 1211 experimental, not in ops.num gcd_i_n_n 1212 experimental, not in ops.num gcd_i_nc_n 1213 experimental, not in ops.num gcd_i_n_nc 1214 experimental, not in ops.num gcd_i_nc_nc 1215 experimental, not in ops.num gcd_i_i_i_i_i 1216 experimental, not in ops.num gcd_i_i_i_ic_i 1217 experimental, not in ops.num gcd_i_i_i_i_ic 1218 experimental, not in ops.num gcd_i_i_i_ic_ic 1219 experimental, not in ops.num splice_p_p_i_i 1220 experimental, not in ops.num splice_p_p_ic_i 1221 experimental, not in ops.num splice_p_p_i_ic 1222 experimental, not in ops.num splice_p_p_ic_ic 1223 experimental, not in ops.num slice_p_p_k 1224 experimental, not in ops.num slice_p_p_kc 1225 experimental, not in ops.num slice_p_p_k_ic 1226 experimental, not in ops.num slice_p_p_kc_ic 1227 experimental, not in ops.num iter_p_p 1228 experimental, not in ops.num morph_p_i 1229 experimental, not in ops.num morph_p_ic 1230 experimental, not in ops.num exec_s 1231 experimental, not in ops.num exec_sc 1232 experimental, not in ops.num classname_p_p 1233 experimental, not in ops.num trap 1234 experimental, not in ops.num pow_n_n_i 1235 experimental, not in ops.num pow_n_nc_i 1236 experimental, not in ops.num pow_n_n_ic 1237 experimental, not in ops.num pow_n_nc_ic 1238 experimental, not in ops.num getclass_p_i 1239 experimental, not in ops.num getclass_p_ic 1240 experimental, not in ops.num new_p_i_s 1241 experimental, not in ops.num new_p_ic_s 1242 experimental, not in ops.num new_p_i_sc 1243 experimental, not in ops.num new_p_ic_sc 1244 experimental, not in ops.num instantiate_p 1245 experimental, not in ops.num pmcinfo_i_p_ic 1246 experimental, not in ops.num new_p_p 1247 experimental, not in ops.num new_p_p_p 1248 experimental, not in ops.num new_p_p_pc 1249 experimental, not in ops.num add_io_event_p_p_p_ic 1250 experimental, not in ops.num need_finalize_p 1251 experimental, not in ops.num runinterp_p_p 1252 experimental, not in ops.num runinterp_p_pc 1253 experimental, not in ops.num newpdd15class_p_s 1254 experimental, not in ops.num newpdd15class_p_sc 1255 experimental, not in ops.num newpdd15class_p_p 1256 experimental, not in ops.num newpdd15class_p_pc 1257 experimental, not in ops.num setstdout_p SKIPPED: not in ops.num nor ops.skip setstderr_p SKIPPED: not in ops.num nor ops.skip hash_i_p SKIPPED: not in ops.num nor ops.skip src/exceptions.c: In function âdo_panicâ: src/exceptions.c:152: warning: ânoreturnâ function does return src/gc/dod.c: In function âclear_cowâ: src/gc/dod.c:471: warning: request for implicit conversion from âvoid *â to âstruct Buffer *â not permitted in C++ src/gc/dod.c: In function âused_cowâ: src/gc/dod.c:512: warning: request for implicit conversion from âvoid *â to âconst struct Buffer *â not permitted in C++ src/gc/dod.c:530: warning: cast discards qualifiers from pointer target type src/library.c: In function âParrot_locate_runtime_file_strâ: src/library.c:442: warning: ignoring return value of âParrot_get_runtime_prefixâ, declared with attribute warn_unused_result src/packfile.c: In function âParrot_load_bytecodeâ: src/packfile.c:3388: warning: ignoring return value of âPackFile_append_pbcâ, declared with attribute warn_unused_result src/pmc_freeze.c: In function âpush_opcode_numberâ: src/pmc_freeze.c:627: warning: ignoring return value of âPF_store_numberâ, declared with attribute warn_unused_result src/pmc_freeze.c: In function âpush_opcode_stringâ: src/pmc_freeze.c:648: warning: ignoring return value of âPF_store_stringâ, declared with attribute warn_unused_result src/spf_render.c: In function âhandle_flagsâ: src/spf_render.c:179: warning: ignoring return value of âstring_substrâ, declared with attribute warn_unused_result src/spf_render.c: In function âParrot_sprintf_formatâ: src/spf_render.c:294: warning: ignoring return value of âstring_substrâ, declared with attribute warn_unused_result src/spf_render.c:807: warning: ignoring return value of âstring_substrâ, declared with attribute warn_unused_result src/stack_common.c: In function âregister_new_stackâ: src/stack_common.c:57: warning: ignoring return value of âmake_bufferlike_poolâ, declared with attribute warn_unused_result src/stm/backend.c: In function âParrot_STM_allocâ: src/stm/backend.c:216: warning: ignoring return value of âmake_bufferlike_poolâ, declared with attribute warn_unused_result In file included from src/exec.c:26: src/jit_emit.h: In function âdiv_rr_nâ: src/jit_emit.h:1720: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âmod_rr_nâ: src/jit_emit.h:1759: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âopt_div_rrâ: src/jit_emit.h:1953: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âParrot_emit_jump_to_eaxâ: src/jit_emit.h:2202: warning: cast from function call of type âint *â to non-matching type âlong intâ In file included from src/exec_cpu.c:51: src/jit_emit.h: In function âdiv_rr_nâ: src/jit_emit.h:1720: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âmod_rr_nâ: src/jit_emit.h:1759: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âopt_div_rrâ: src/jit_emit.h:1953: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âParrot_emit_jump_to_eaxâ: src/jit_emit.h:2202: warning: cast from function call of type âint *â to non-matching type âlong intâ In file included from src/jit.c:35: src/jit_emit.h: In function âdiv_rr_nâ: src/jit_emit.h:1720: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âmod_rr_nâ: src/jit_emit.h:1759: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âopt_div_rrâ: src/jit_emit.h:1953: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âParrot_emit_jump_to_eaxâ: src/jit_emit.h:2202: warning: cast from function call of type âint *â to non-matching type âlong intâ In file included from src/jit_cpu.c:51: src/jit_emit.h: In function âdiv_rr_nâ: src/jit_emit.h:1720: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âmod_rr_nâ: src/jit_emit.h:1759: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âopt_div_rrâ: src/jit_emit.h:1953: warning: cast discards qualifiers from pointer target type src/jit_emit.h: In function âParrot_emit_jump_to_eaxâ: src/jit_emit.h:2202: warning: cast from function call of type âint *â to non-matching type âlong intâ In file included from /usr/include/asm-i386/signal.h:5, from /usr/include/asm/signal.h:7, from src/malloc-trace.c:14: /usr/include/linux/time.h:9: error: redefinition of âstruct timespecâ /usr/include/linux/time.h:15: error: redefinition of âstruct timevalâ /usr/include/linux/time.h:20: error: redefinition of âstruct timezoneâ /usr/include/linux/time.h:47: error: redefinition of âstruct itimervalâ In file included from /usr/include/asm/signal.h:7, from src/malloc-trace.c:14: /usr/include/asm-i386/signal.h:13: error: conflicting types for âsigset_tâ /usr/include/sys/select.h:38: error: previous declaration of âsigset_tâ was here In file included from /usr/include/asm/signal.h:7, from src/malloc-trace.c:14: /usr/include/asm-i386/signal.h:97: error: redefinition of âstruct sigactionâ /usr/include/asm-i386/signal.h:111: error: redefinition of âstruct sigaltstackâ src/malloc-trace.c:17:26: error: malloc-trace.h: No such file or directory src/malloc-trace.c:25: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âbufferâ src/malloc-trace.c:34: warning: function declaration isnât a prototype src/malloc-trace.c: In function âopen_log_fileâ: src/malloc-trace.c:34: warning: old-style function definition src/malloc-trace.c:36: error: âMTRACE_VERSIONâ undeclared (first use in this function) src/malloc-trace.c:36: error: (Each undeclared identifier is reported only once src/malloc-trace.c:36: error: for each function it appears in.) src/malloc-trace.c: In function âmalloc_trace_destructorâ: src/malloc-trace.c:76: error: âbufferâ undeclared (first use in this function) src/malloc-trace.c:76: error: âCODE_TIMESTAMPâ undeclared (first use in this function) src/malloc-trace.c:86: error: âACTIONâ undeclared (first use in this function) src/malloc-trace.c: In function âmalloc_recordâ: src/malloc-trace.c:116: error: âbufferâ undeclared (first use in this function) src/malloc-trace.c:116: error: âCODE_TIMESTAMPâ undeclared (first use in this function) src/malloc-trace.c:132: error: âACTIONâ undeclared (first use in this function) src/malloc-trace.c: In function âmallocâ: src/malloc-trace.c:143: warning: request for implicit conversion from âvoid *â to âchar *â not permitted in C++ src/malloc-trace.c:147: error: âCODE_MALLOCâ undeclared (first use in this function) src/malloc-trace.c: In function âfreeâ: src/malloc-trace.c:155: error: âCODE_FREEâ undeclared (first use in this function) src/malloc-trace.c: In function âreallocâ: src/malloc-trace.c:166: error: âCODE_REALLOCâ undeclared (first use in this function) src/malloc-trace.c: At top level: src/malloc-trace.c:173: warning: no previous prototype for âmemalignâ src/malloc-trace.c: In function âmemalignâ: src/malloc-trace.c:177: warning: request for implicit conversion from âvoid *â to âchar *â not permitted in C++ src/malloc-trace.c:181: error: âCODE_MEMALIGNâ undeclared (first use in this function) src/malloc-trace.c: In function âcallocâ: src/malloc-trace.c:192: warning: request for implicit conversion from âvoid *â to âchar *â not permitted in C++ src/malloc-trace.c:196: error: âCODE_CALLOCâ undeclared (first use in this function) src/malloc-trace.c: In function âcfreeâ: src/malloc-trace.c:204: error: âCODE_CFREEâ undeclared (first use in this function) In file included from src/malloc-trace.c:209: src/malloc.c:363:5: warning: "DEBUG" is not defined In file included from src/malloc-trace.c:209: src/malloc.c: At top level: src/malloc.c:1274: warning: function declaration isnât a prototype src/malloc.c:2532:7: warning: "DEBUG" is not defined src/malloc.c:4552:5: warning: "DEBUG" is not defined In file included from src/malloc-trace.c:209: src/malloc.c: In function âmallinfoâ: src/malloc.c:4657: warning: old-style function definition src/malloc.c:4682: warning: comparison between signed and unsigned src/malloc.c:4657: warning: function returns an aggregate src/malloc.c: At top level: src/malloc.c:4718: warning: function declaration isnât a prototype src/malloc.c: In function âmalloc_statsâ: src/malloc.c:4718: warning: old-style function definition src/malloc.c:4735: warning: implicit declaration of function âPIO_eprintfâ src/malloc.c:4735: warning: nested extern declaration of âPIO_eprintfâ src/malloc.c:4719: warning: function call has aggregate value make: *** [src/malloc-trace.o] Error 1