Re: arm access to stack slot out of allocated area

2019-02-11 Thread Ramana Radhakrishnan
On Mon, Feb 11, 2019 at 4:48 PM Olivier Hainque wrote: > > Hi Wilco, > > > On 8 Feb 2019, at 22:35, Wilco Dijkstra wrote: > > > So I think we need to push much harder on getting rid of obsolete stuff and > > avoid people encountering these nasty issues. > > Numbers I just received indicate that w

Re: arm access to stack slot out of allocated area

2019-02-11 Thread Olivier Hainque
Hello Ramana, > Olivier, while you are here could you also document the choices made by > the vxworks port in terms of the ABI and how it differs from EABI ? It > would certainly help with patch review. Thanks for your feedback as well. Yes, I'll add a comment and macro defs to the VxWorks heade

Re: arm access to stack slot out of allocated area

2019-02-11 Thread Olivier Hainque
Hi Wilco, > On 8 Feb 2019, at 22:35, Wilco Dijkstra wrote: > So I think we need to push much harder on getting rid of obsolete stuff and > avoid people encountering these nasty issues. Numbers I just received indicate that we can legitimately head in this direction for VxWorks as well (move tow

Re: arm access to stack slot out of allocated area

2019-02-11 Thread Olivier Hainque
Hi Wilco, Thanks for your feedback. > On 8 Feb 2019, at 22:35, Wilco Dijkstra wrote: > > Hi Olivier, > >> Sorry, I had -mapcs-frame in mind. > > That's identical to -mapcs, and equally deprecated. It was superceded 2 > decades > ago. -mpcs-frame bugs have been reported multiple times, includ

Re: arm access to stack slot out of allocated area

2019-02-08 Thread Wilco Dijkstra
Hi Olivier, > Sorry, I had -mapcs-frame in mind. That's identical to -mapcs, and equally deprecated. It was superceded 2 decades ago. -mpcs-frame bugs have been reported multiple times, including on VxWorks. For example https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64379 suggests VxWorks doesn't n

Re: arm access to stack slot out of allocated area

2019-02-08 Thread Ramana Radhakrishnan
On 08/02/2019 16:19, Olivier Hainque wrote: > Hi Wilco, > >> On 8 Feb 2019, at 15:49, Wilco Dijkstra wrote: >> >> Hi Olivier, >> >>> Below is a description of a very annoying bug we are witnessing >>> on ARM. >> ... >>> compiled with -Og -mapcs >> >> Do you know -mapcs has been deprecated for mor

Re: arm access to stack slot out of allocated area

2019-02-08 Thread Olivier Hainque
Hi Wilco, > On 8 Feb 2019, at 15:49, Wilco Dijkstra wrote: > > Hi Olivier, > >> Below is a description of a very annoying bug we are witnessing >> on ARM. > ... >> compiled with -Og -mapcs > > Do you know -mapcs has been deprecated for more than 4 years now? > Is there a reason you are still u

Re: arm access to stack slot out of allocated area

2019-02-08 Thread Wilco Dijkstra
Hi Olivier, > Below is a description of a very annoying bug we are witnessing > on ARM. ... > compiled with -Og -mapcs Do you know -mapcs has been deprecated for more than 4 years now? Is there a reason you are still using it? It was deprecated since -mapcs is both extremely inefficient and buggy