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.

AM69A: GCC version not compatible with tflite_runtime version

Part Number: AM69A


Tool/software:

Hi,

In the documentation file TIDeepLearningProduct_ReleaseNotes.html, it is said that GCC version 11.3.0 is recommanded to build C7x-mma-tidl. (see related question)

However, tflite_runtime 2.12 (installed with edgeai_tidl_tools setup) was compiled with GCC 11.4.0. So, when doing compilation, I get the error : 

Traceback (most recent call last):
  File "/home/developer/Documents/developpement/custom_layer/test/compile.py", line 4, in <module>
    import tflite_runtime.interpreter as tflite
  File "/home/developer/.pyenv/versions/j784s4/lib/python3.10/site-packages/tflite_runtime/interpreter.py", line 33, in <module>
    from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /usr/local/gcc-11.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/developer/.pyenv/versions/j784s4/lib/python3.10/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so)

So, 

 Is there a recommended approach for using tflite_runtime 2.12 with GCC 11.3.0 to avoid such errors?

Or is GCC 11.4.0 recommanded and there is a misprint in  TIDeepLearningProduct_ReleaseNotes.html?

Thanks,

Azer