tensorflow: tensorflowlite build error about fatal error C1001:Internal compiler error for O2 option

System information

  • OS: windows11
  • TensorFlow Lite in Play Services SDK version (found in build.gradle): 2.12
  • build method: cmake -A Win32 …\tensorflow\lite\c -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=True -DTFLITE_ENABLE_XNNPACK=ON -DCMAKE_BUILD_TYPE=Release Standalone code to reproduce the issue I want to use O2 compilation to improve speed, but there was a “D:\project\tensorflow\build_win32_dll\gemmlowp\internal\output.h(176): fatal error C1001:Internal compiler error” error when compiling TensorFlow Lite.lib in win32 release mode, What is the reason for this situation? When I check to O1, it has succeeded.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

@sushreebarsa thank you for your reply ,I plan to first finish my algorithm job for linux and android. Then, I will try it in visual studio 2022, is this ok? when I try it out ,I will tell you the result, thank you very much