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, th

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-06 Thread Jim Wilson
On Wed, Apr 6, 2016 at 8:15 AM, Gunnar Arndt wrote: > embedded/gcc-linaro-5.3-2016.02-i686-mingw32_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.3.1/../../../../arm-linux-gnueabihf/lib/libstdc++.so: > file format not recognized; treating as linker script > c:/program files (x86)/gnu to

Re: Another weird behavior with arm gcc 5.3

2016-04-06 Thread Jim Wilson
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, maybe > it needs to be updated to underst

Re: Another weird behavior with arm gcc 5.3

2016-04-06 Thread Jim Wilson
On Wed, Apr 6, 2016 at 8:11 AM, Christophe Lyon wrote: > On 6 April 2016 at 16:53, fengwei.yin wrote: >> 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 construct

Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-06 Thread Gunnar Arndt
My dear friends, I'm trying to build C++ code for Linux running on am ARM Cortex A8 (TI AM335x). For a first try, I'm using the simplest program I can think of: /* main.cpp */ int main() { return 0; } Under Linux with the 'normal' GCC, that works fine, but under Windows 7 with the Linaro

Re: Another weird behavior with arm gcc 5.3

2016-04-06 Thread Christophe Lyon
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, the C++ apps crash in one class construc

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