[Crash-utility] Cannot load extensions for ARM64

Karlsson, Jan Jan.Karlsson at sonymobile.com
Thu Jun 5 07:24:06 UTC 2014


Hi Dave

I found a problem that crash built for ARM64 and running on an X86_64 cannot load extensions as the type for the shared object is not accepted. There is a fix for this for ARM running on X86 that has to be introduced in case as well.
Function is_shared_object in file symbol.c

                                                       case EM_X86_64:
                                                                                  if (machine_type("X86_64"))
                                                                                                             return TRUE;
                                                                                  break;

should be changed to

                                                       case EM_X86_64:
                                                                                  if (machine_type("X86_64") || machine_type("ARM64"))
                                                                                                             return TRUE;
                                                                                  break;

Jan

Jan Karlsson
Senior Software Engineer
System Assurance

Sony Mobile Communications
Tel: +46 703 062 174
jan.karlsson at sonymobile.com<mailto:Firstname.Lastname at sonymobile.com>

sonymobile.com<http://sonymobile.com/>

[cid:image001.gif at 01CF809F.81560F50]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20140605/a5c2f6e8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1749 bytes
Desc: image001.gif
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20140605/a5c2f6e8/attachment.gif>


More information about the Crash-utility mailing list