I'm using distcc in a cross-compiler environment where the target output is an ELF file in big-endian format and the host is little-endian. The debug information in the ELF file was not being rewritten because fix_debug_info.c couldn't handle the case where the target and host endian-isms did not match. I've basically just implemented the TODO about this that was already in the file. Custom byteswap functions were written for portability reasons and I didn't want to add something else to test for in configure.
The patch was diff'd from r711 of the trunk.
fix_debug_info_endian_todo.patch
Description: fix_debug_info_endian_todo.patch
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc