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.

TMS320C6746: Should mathlib_rts allow function overloading?

Part Number: TMS320C6727B
Other Parts Discussed in Thread: TMS320C6746, MATHLIB

Actually TMS320C6746 but thread creater is picking the wrong forum.

Documenting some offline discussion and workaround.

(Based on the nice description here: https://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/320684 ) Seems like mathlib_rts should allow function overloading. But when using powf form mathlib_rts_c674x_3_1_2_1_Win32.exe , was getting the following linker error:

undefined first referenced

symbol in file

--------- ----------------

expsp \ti\mathlib_rts_c674x_3_1_2_1\packages\ti\mathlib\lib\mathlib_rts.ae674<powsp.oe674>

logsp \ti\mathlib_rts_c674x_3_1_2_1\packages\ti\mathlib\lib\mathlib_rts.ae674<powsp.oe674>

 

Found root cause and workaround:

issue is caused by powsp’s dependency on other mathlib functions… as a workaround, the customer can link both mathlib library and mathlib_rts library

 

So after installing mathlib_rts_c674x_3_1_2_1_Win32.exe , mathlib_rts allow function overloading linked correctly,