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 = (({

Re: Question regarding the arm gcc 5.3 to build android

2016-03-30 Thread Jim Wilson
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 = (({ unw_tdep_context_t *unw_ctx = (&context_); register

Re: Cross compilation issue

2016-03-30 Thread Jim Wilson
On Wed, Mar 30, 2016 at 7:37 PM, $rik@nth wrote: > You mean if i set --host=arm-linux-gnuebi and > --target=arm-linux-gunebi should automatically pick cross compilers Yes, in theory, it should find CC, AS, AR, etc by itself. Don't forget that you need to set all 3 of build, host, and target for

Re: Cross compilation issue

2016-03-30 Thread $rik@nth
On Wed, Mar 30, 2016 at 9:12 PM, Jim Wilson wrote: > On Tue, Mar 29, 2016 at 11:12 PM, $rik@nth wrote: >> Yes. I am using ubuntu 64bit to cross compile GCC to ARM. If i issue >> --host=arm-linux-gnueabi then it will pick up default >> /usr/arm-linux-gnuebi bins. I would like to pick up my binutil

Re: Question regarding the arm gcc 5.3 to build android

2016-03-30 Thread Jim Wilson
On Wed, Mar 30, 2016 at 5:18 PM, yfw wrote: > /tmp/ccZ40ViQ.s:1752: Error: selected processor does not support ARM mode > `cbnz r6,.L91' Looking at gcc, I see that in thumb2 mode, for a conditional branch, it will emit cbnz if the target is in range and it is using a thumb2 low register, otherwis

Question regarding the arm gcc 5.3 to build android

2016-03-30 Thread yfw
Hi folks, I am trying to use arm gcc 5.3 to build part of android AOSP and hit following issue with arm gcc 5.3: The gcc cmd line is like: /opt/work/acadine/mem_shrink/B2G-v2.5/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-5.3-linaro/bin/arm-linux-androideabi-g++ -I external/libcxx/include -

Re: Cross compilation issue

2016-03-30 Thread Jim Wilson
On Tue, Mar 29, 2016 at 11:12 PM, $rik@nth wrote: > Yes. I am using ubuntu 64bit to cross compile GCC to ARM. If i issue > --host=arm-linux-gnueabi then it will pick up default > /usr/arm-linux-gnuebi bins. I would like to pick up my binutils which > are built statically for doing some experiment.

[ANNOUNCE] Linaro Binary Toolchain Release GCC 4.9-2016.02

2016-03-30 Thread Ryan Arnold
The Linaro Binary Toolchain The Linaro GCC 4.9-2016.02 Release is now available. Notice: All Linaro GCC 4.9 series toolchain users should migrate to the latest version of the Linaro GCC 4.9 toolchain in order to mitigate potential security exposure to CVE-2015-7545.