You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In member function 'void nnfw::cker::Einsum::contractOperands(std::vector<nnfw::cker::Tensor>&, std::vector<bool>&, nnfw::cker::Tensor*)':
cc1plus: error: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [33, 36] is out of the bounds [0, 32] of object 'output_shape' with type 'nnfw::cker::Shape' [-Werror=array-bounds]
In file included from /home/jenkins/jenkins_agent/workspace/nnfw/master/push-nnpackage-test/runtime/onert/backend/cpu/ops/EinsumLayer.cc:19:
/home/jenkins/jenkins_agent/workspace/nnfw/master/push-nnpackage-test/runtime/compute/cker/include/cker/operation/Einsum.h:874:11: note: 'output_shape' declared here
Shape output_shape(old_output_shape.DimensionsCount() + inputs.size());
| ^~~~~~~~~~~~
Though it disappeared with #15101, I am not sure why it happens and why it disappeared.
There are several possibilities:
(1) focal (old toolchain) build error was false alarm.
After #15002, build breaks on focal.
Though it disappeared with #15101, I am not sure why it happens and why it disappeared.
There are several possibilities:
array-boundsbuild error: Refactor Shape.h to use C++17 std::variant #15101.I don't think it is in hurry, and don't want to put much time on this case.
Note
However, for the little possibility of (3) and my curiosity,
it may be good to investigate on this if time permits.