On 12/02/2014 02:26 AM, Vicente Olivert Riera wrote:
On 12/02/2014 02:35 AM, Arun Sharma wrote:
For the specific patch you attached to the bug report, assuming n32
has 64 bit registers: Changing unw_word_t to 32 bit will break
interfaces like:

unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp)
Uhm..., I don't think so. Take a look to this:

http://www.imgtec.com/mips/architectures/mips64.asp

The last part:

"[...] the architecture features a 32-bit compatibility mode, in which
all registers and addresses are 32-bit wide [...]"
I think Arun is right. The only ABI for mips32 architecture is o32. All others (n64/o64/n32) are for mips64. If a split is made on the basis of architecture, n32 would still have to be implemented within the 64-bit architecture part and unw_word_t would have to be 64-bit.

This should be solved within Xorg build: either by allowing the warning or using --disable-libunwind or an explicit cast to that bit of code.

Regards,
Faraz Shahbazker

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to