Building GCC-6.3.0 cross compiler for e6500 (T4240 RDB)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Building GCC-6.3.0 cross compiler for e6500 (T4240 RDB)

1,712 次查看
naishabkp
Contributor I

I have built a cross compiler (GCC-6.3.0) for T4240 RDB. Using this compiler i built root file system and my application. I found that Application crashes with SIGILL. I traced it to instruction 'fsqrt' in gnu math library (sqrt,cabs) libm.so.6.

e6500 programming data sheet says many such instructions are not implemented in this architecture. Freescale SDK-2.0 has so many patches to work around this problem, but they are all for GCC-4.9.2. Are there any such patches available for GCC6 or at least GCC5?

标签 (2)
0 项奖励
回复
1 回复

1,357 次查看
Pavel
NXP Employee
NXP Employee

Usually new version of the SDK contains new GCC. The SDK 2.0 and updates 1605 - 1701 use gcc-4.9.2.

 

Look at the poky-ref-manual for gcc changing. See the following pages:

http://www.yoctoproject.org/docs/1.6/poky-ref-manual/poky-ref-manual.html

or

http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#moving-to-the-yocto-project-2.0-rele...


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复