This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Build syslink with hard float support

Hi All,

I use syslink in my project for BeagleBoard, and the project application uses syslink and works fine. Application and syslink_2_21_00_03 was built with arm-arago-linux-gnueabi- tools with soft float support.

Not long ago, I needed hard float option in my app, so I remove my rootfs to arago rootfs with hard float support and rebuild my app using arm-linux-gnueabihf- tools in order to implement hard float support. I also recompiled kernel with arm-linux-gnueabihf- 

A problem started when I try build syslink with arm-linux-gnueabihf-gcc to provide the same eabihf for the my app and syslink. Compiling syslink show the errors:

In file included from /home/legolas/dev/dsp/bbxm/dsp-support/syslink_2_21_00_03/packages/ti/syslink/inc/GateMPDefs.h:57:0,
from /home/legolas/dev/dsp/bbxm/dsp-support/syslink_2_21_00_03/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/GateMP.c:74:
/home/legolas/dev/dsp/bbxm/dsp-support/syslink_2_21_00_03/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/GateMP.c: In function ‘GateMP_start’:
/home/legolas/dev/dsp/bbxm/dsp-support/syslink_2_21_00_03/packages/ti/syslink/inc/GatePeterson.h:309:6: error: inlining failed in call to always_inline ‘GatePeterson_locksinit’: function body not available
/home/legolas/dev/dsp/bbxm/dsp-support/syslink_2_21_00_03/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/GateMP.c:1718:48: error: called from here

I check forums for the 'inlining' error and found that this error or bug was appeared in new GCC versions. 

Please tell me workaround to fix this issue. Should I use other compiler with hard float support? I need hard float in syslink because my app linked with syslink must be compiled as hard float.