-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone,
I haven't seen an answer for this mail. Would be possible to do such modifications I commented to the libunwind source code repository? Thank you! - -------- Missatge original -------- Assumpte: [Libunwind-devel] Error compiling libunwind 1.0.1 in a linux/ia64 Data: Mon, 19 Sep 2011 14:59:38 +0200 De: Harald Servat <[email protected]> A: [email protected] Hello, I was compiling libunwind 1.0.1 in a linux/ia64 machine when I found the following error: gcc -DHAVE_CONFIG_H -I. -I../include -I../include - -I../include/tdep-ia64 -I. -D_GNU_SOURCE -DNDEBUG -g -O2 -fexceptions - -Wall -Wsign-compare -MT ptrace/_UPT_find_proc_info.o -MD -MP -MF $depbase.Tpo -c -o ptrace/_UPT_find_proc_info.o ptrace/_UPT_find_proc_info.c &&\ mv -f $depbase.Tpo $depbase.Po ptrace/_UPT_find_proc_info.c:102: error: conflicting types for ‘_UPTi_find_unwind_table’ ptrace/_UPT_internal.h:72: error: previous declaration of ‘_UPTi_find_unwind_table’ was here make[2]: *** [ptrace/_UPT_find_proc_info.o] Error 1 Looking at _UPT_internal.h (line 72), I guess that the returning type is not as defined in _UPT_find_proc_info.c (line 102). I'd bet on the type on the .c file, so I changed the header file and when I reran gmake I encountered the next error gcc -DHAVE_CONFIG_H -I. -I../include -I../include - -I../include/tdep-ia64 -I. -D_GNU_SOURCE -DNDEBUG -g -O2 -fexceptions - -Wall -Wsign-compare -MT ptrace/_UPT_get_dyn_info_list_addr.o -MD -MP - -MF $depbase.Tpo -c -o ptrace/_UPT_get_dyn_info_list_addr.o ptrace/_UPT_get_dyn_info_list_addr.c &&\ mv -f $depbase.Tpo $depbase.Po ptrace/_UPT_get_dyn_info_list_addr.c: In function ‘get_list_addr’: ptrace/_UPT_get_dyn_info_list_addr.c:65: error: too few arguments to function ‘_UPTi_find_unwind_table’ gmake[2]: *** [ptrace/_UPT_get_dyn_info_list_addr.o] Error 1 Here, there's a missing argument (IP, Instruction Pointer?). After looking at the code, I found that IP is not used in IA64, so I passed (unw_word_t) 0 Has anyone a IA64 machine to test these two changes? Are these modifications safe? Regards WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received. http://www.bsc.es/disclaimer.htm _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAk58nZsACgkQwMPeuqUCg9x+iwCfenvOdU8lt6F2M2Zrp4R5v2sL pZUAn3tc1i7KvOBTzmYjuvS53R4PiCcM =U89E -----END PGP SIGNATURE----- WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received. http://www.bsc.es/disclaimer.htm _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
