Re: Crash when cross compiling for ARM with GCC-8-2-0 and -ftree-loop-distribute-patterns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your help, Matthias!

On Wed, Oct 16, 2019 at 03:30:42PM +0200, Matthias Pfaller wrote:
>
> Is your stack part of the BSS? In that case the call to memset will
> cause a crash.

This would be an explanation. But the stack doesn't seem to be part of BSS:

_sbss      = 0x20003758 ;; Start of bss
_ebss      = 0x20012b48 ;; End of BSS
_susrstack = 0x20012b48 ;; Start of user stack (not used in this application)
_eusrstack = 0x20013b48 ;; End of user stack (not used in this application)
SP         = 0x20017d20 ;; Value of stack pointer when memset() is entered
_estack    = 0x20018000 ;; Initial stack pointer

So I don't see anything that might be wrong here.

-- 
Josef Wolf
jw@xxxxxxxxxxxxx



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux