> Hi ashok,
>
> See this page: http://www.nslu2-linux.org/wiki/Info/Alignment


No luck,shared libraries are also giving same issue.

 is there any other compilation option which forces strict alignment?


Ashok


>
> Ivan
>
> [EMAIL PROTECTED] wrote:
>> Hi,
>>
>> i have some apllication which are running on x86 without any issue.
>> But if i cross compile those application for davinci board with MV
>> toolchain, it is getting segmentation fault.
>>
>> earlier i had issue with memcpy,memset. so mostly i am dealing with
>> statically allocated memory.
>> please a have look at core dump analysis,let me know your thoughts.
>>
>> [EMAIL PROTECTED]:~# gdb -c core
>> GNU gdb 6.3 (MontaVista 6.3-20.0.22.0501131 2005-07-22)
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you
>> are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for
>> details.
>> This GDB was configured as "armv5tl-montavista-linuxeabi".
>> Using host libthread_db library "/lib/tls/libthread_db.so.1".
>> Core was generated by `./egdfs-utilsd 1213 1212 121 12121 1212 121 12121
>> 121'.
>> Program terminated with signal 11, Segmentation fault.
>> #0  0x00012c1c in ?? ()
>> (gdb) file egdfs-utilsd
>> Reading symbols from /root/egdfs-utilsd...done.
>> (gdb) bt
>> #0  0x00012c1c in main (argc=Cannot access memory at address 0x37393751
>> ) at mount.egdfs.c:612
>>
>>
>> Ashok
>>
>> _______________________________________________
>> Davinci-linux-open-source mailing list
>> [email protected]
>> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>>
>>
>


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to