Re: Another weird behavior with arm gcc 5.3

2016-04-07 Thread fengwei.yin
Hi Jim, On 2016/4/7 2:39, Jim Wilson wrote: On Wed, Apr 6, 2016 at 9:13 AM, Jim Wilson wrote: gcc 5.x implements C++ 2011 by default. gcc 4.9.x implements C++ 2003 by default. There were some ABI changes required to implement C++ 2011. If the android loader has knowledge of the gcc C++ ABI,

Re: Another weird behavior with arm gcc 5.3

2016-04-07 Thread fengwei.yin
Hi Christophe, On 2016/4/7 20:14, Christophe Lyon wrote: On 7 April 2016 at 05:44, fengwei.yin wrote: On 2016/4/6 23:11, Christophe Lyon wrote: On 6 April 2016 at 16:53, fengwei.yin wrote: Hi list, I hit another weird problem after use gcc 5.3 (If I use gcc 4.9, there is no any issue

Re: Another weird behavior with arm gcc 5.3

2016-04-06 Thread fengwei.yin
On 2016/4/6 23:11, Christophe Lyon wrote: On 6 April 2016 at 16:53, fengwei.yin wrote: Hi list, I hit another weird problem after use gcc 5.3 (If I use gcc 4.9, there is no any issue) with android. Hi, Maybe this kind of problem would be handled better via bugzilla? With arm gcc 5.3

Another weird behavior with arm gcc 5.3

2016-04-06 Thread fengwei.yin
Hi list, I hit another weird problem after use gcc 5.3 (If I use gcc 4.9, there is no any issue) with android. With arm gcc 5.3, the C++ apps crash in one class constructor call. And gdb shows some vtbl items of the class are not relocated. With arm gcc 4.9, if set breakpoint in that constructor

Re: Question regarding the arm gcc 5.3 to build android

2016-04-04 Thread fengwei.yin
Hi Christophe, On 2016/4/4 3:58, Christophe Lyon wrote: On 1 April 2016 at 12:04, Ramana Radhakrishnan wrote: On 31/03/16 18:26, Jim Wilson wrote: On Thu, Mar 31, 2016 at 5:12 AM, fengwei.yin wrote: Because gcc 4.9 could build this file without any issue, I apply --save-temps with gcc 4.9

Re: Question regarding the arm gcc 5.3 to build android

2016-03-31 Thread fengwei.yin
On 2016/4/1 9:30, Jim Wilson wrote: On Thu, Mar 31, 2016 at 5:04 PM, fengwei.yin wrote: Remove the __thumb__ part? If you remove the __thumb__ part, then you will get an assembler error. palantir:2025$ arm-linux-gnueabi-as UnwindCurrent.s UnwindCurrent.s: Assembler messages

Re: Question regarding the arm gcc 5.3 to build android

2016-03-31 Thread fengwei.yin
Hi Jim, On 2016/4/1 1:26, Jim Wilson wrote: On Thu, Mar 31, 2016 at 5:12 AM, fengwei.yin wrote: Because gcc 4.9 could build this file without any issue, I apply --save-temps with gcc 4.9. The ii file is attached. Can't see significant differences. There is a patch in gcc-5 to make un

Re: Question regarding the arm gcc 5.3 to build android

2016-03-30 Thread fengwei.yin
Hi Jim, On 2016/3/31 12:47, Jim Wilson wrote: On Wed, Mar 30, 2016 at 6:26 PM, fengwei.yin wrote: Thanks a lot for your quick response. The .ii file was attached. In UnwindFromContext, there is an asm that forces the assembler into ARM mode. if (ucontext == nullptr) { int ret