bugThe libunwind project - Bugs: bug #43695, Fix word size for MIPS architecture

 
 

bug #43695: Fix word size for MIPS architecture

Submitted by:  Vicente Olivert Riera <vriera>
Submitted on:  Tue 25 Nov 2014 01:32:06 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 25 Nov 2014 01:32:06 PM UTC, original submission:

The attached patch fixes a problem with Xorg on MIPS64 n32 which is explained here:

https://bugs.freedesktop.org/show_bug.cgi?id=79939

Basically, libunwind is using a word size of 64-bit for all MIPS variants. Then, Xorg does a casting to (void *) of a 64-bit variable provided by libunwind. Given that the size of the pointers in MIPS64 n32 is 32-bit wide, that casting causes an error like this one:

backtrace.c:90:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

Vicente Olivert Riera <vriera>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #32540:  0001-Fix-word-size-for-MIPS-architecture.patch added by vriera (1KiB - text/x-patch - 0001-Fix-word-size-for-MIPS-architecture.patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by djwatson24 (Updated the item)
  • -unavailable- added by vriera (Submitted the item)
  • -unavailable- added by vriera
  • -unavailable- added by vriera
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Jan 2017 05:29:35 PM UTCdjwatson24Open/ClosedOpen=>Closed
    Tue 25 Nov 2014 01:32:06 PM UTCvrieraAttached File-=>Added 0001-Fix-word-size-for-MIPS-architecture.patch, #32540
      Carbon-Copy-=>Added arun sharma
      Carbon-Copy-=>Added lassi tuura

    Back to the top


    Powered by Savane 3.1-cleanup1