ggardet

Results 55 comments of ggardet

As a workaround, we can use ` -Wno-error=deprecated-copy`, but sources should be fixed.

Here are the values: ``` [ 989s] counterUidsMultiCore.front() = 4 [ 989s] nextCounterUids[0] = 13 ```

With armnn 20.08 I get an error on the link: ``` [ 3172s] /home/abuild/rpmbuild/BUILD/armnn-20.08/src/backends/reference/test/RefLayerTests.cpp: In function '__static_initialization_and_destruction_0.constprop': [ 3172s] /home/abuild/rpmbuild/BUILD/armnn-20.08/src/backends/reference/test/RefLayerTests.cpp:2195: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without...

With 21.05, I have those link errors with LTO enabled: ``` [ 334s] [ 66%] Linking CXX shared library ../../libarmnnSerializer.so [ 334s] cd /home/abuild/rpmbuild/BUILD/armnn-21.05/build/src/armnnSerializer && /usr/bin/cmake -E cmake_link_script CMakeFiles/armnnSerializer.dir/link.txt --verbose=1...

I currently build 22.02 which breaks differently, see: https://github.com/ARM-software/armnn/issues/623

This seems similar to https://github.com/RPCS3/rpcs3/issues/11713 which was fixed with https://github.com/RPCS3/rpcs3/pull/11870 which adds a 3rd argument.

With the patches above, I still get build issues: ``` [ 188s] [ 51%] Building CXX object src/armnnTfLiteParser/CMakeFiles/armnnTfLiteParser.dir/TfLiteParser.cpp.o [ 188s] cd /home/abuild/rpmbuild/BUILD/armnn-22.05/build/src/armnnTfLiteParser && /usr/bin/c++ -DARMNNREF_ENABLED -DARMNN_SERIALIZER -DARMNN_SERIALIZER_SCHEMA_PATH=\"/home/abuild/rpmbuild/BUILD/armnn-22.05/src/armnnSerializer/ArmnnSchema.fbs\" -DARMNN_TF_LITE_PARSER -DDYNAMIC_BACKEND_BUILD_DIR=\"/home/abuild/rpmbuild/BUILD/armnn-22.05/build\" -DarmnnTfLiteParser_EXPORTS...

Ok, so IIUC, I need to backport https://github.com/tensorflow/tensorflow/commit/bf0901b663e87f081c7a317fe1ac705ab1a2df8b to my TensorFlow lite package and the problem should be gone?

If I add `-Wno-error=uninitialized`, it fails later: ``` [ 641s] [ 27%] Building CXX object src/backends/backendsCommon/test/CMakeFiles/armnnBackendsCommonUnitTests.dir/layerTests/ConcatTestImpl.cpp.o [ 641s] cd /home/abuild/rpmbuild/BUILD/armnn-21.05/build/src/backends/backendsCommon/test && /usr/bin/c++ -DARMCOMPUTENEON_ENABLED -DARMNNREF_ENABLED -DARMNN_SERIALIZER -DARMNN_SERIALIZER_SCHEMA_PATH=\"/home/abuild/rpmbuild/BUILD/armnn-21.05/src/armnnSerializer/ArmnnSchema.fbs\" -DARMNN_TF_LITE_PARSER -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DDYNAMIC_BACKEND_BUILD_DIR=\"/home/abuild/rpmbuild/BUILD/armnn-21.05/build\"...