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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,673 Views
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?

Labels (2)
0 Kudos
Reply
1 Reply

1,318 Views
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 Kudos
Reply