Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .............................
- INFO: Waiting for response from Bazel server (pid 4367)...
- INFO: Found 1 target...
- ERROR: /home/alpy/tensorflow/tensorflow/cpp_api/BUILD:11:1: C++ compilation of rule '//tensorflow/cpp_api:conversion' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,now -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer ... (remaining 114 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
- In file included from ./tensorflow/core/platform/default/logging.h:23:0,
- from ./tensorflow/core/platform/logging.h:25,
- from ./tensorflow/core/lib/gtl/array_slice_internal.h:32,
- from ./tensorflow/core/lib/gtl/array_slice.h:101,
- from ./tensorflow/core/framework/types.h:33,
- from ./tensorflow/core/framework/type_traits.h:22,
- from ./tensorflow/core/framework/allocator.h:25,
- from ./tensorflow/core/framework/tensor.h:21,
- from ./tensorflow/core/public/session.h:23,
- from tensorflow/cpp_api/conversion.h:13,
- from tensorflow/cpp_api/conversion.cc:1:
- ./tensorflow/core/platform/default/logging.h: In instantiation of 'std::__cxx11::string* tensorflow::internal::Check_LTImpl(const T1&, const T2&, const char*) [with T1 = unsigned int; T2 = int; std::__cxx11::string = std::__cxx11::basic_string<char>]':
- ./tensorflow/core/framework/tensor_shape.h:204:5: required from here
- ./tensorflow/core/platform/default/logging.h:197:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- TF_DEFINE_CHECK_OP_IMPL(Check_LT, < )
- ^
- ./tensorflow/core/platform/macros.h:54:29: note: in definition of macro 'TF_PREDICT_TRUE'
- #define TF_PREDICT_TRUE(x) (x)
- ^
- ./tensorflow/core/platform/default/logging.h:197:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL'
- TF_DEFINE_CHECK_OP_IMPL(Check_LT, < )
- ^
- In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:127:0,
- from tensorflow/cpp_api/conversion.h:10,
- from tensorflow/cpp_api/conversion.cc:1:
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h: In instantiation of 'Eigen::TensorMap<PlainObjectType, Options_>::Scalar& Eigen::TensorMap<PlainObjectType, Options_>::operator()(Eigen::TensorMap<PlainObjectType, Options_>::Index, Eigen::TensorMap<PlainObjectType, Options_>::Index, IndexTypes ...) [with IndexTypes = {int, int}; PlainObjectType = Eigen::Tensor<float, 2, 1, long int>; int Options_ = 16; Eigen::TensorMap<PlainObjectType, Options_>::Scalar = float; Eigen::TensorMap<PlainObjectType, Options_>::Index = long int]':
- tensorflow/cpp_api/conversion.cc:213:26: required from here
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h:234:7: error: static assertion failed: Number of indices used to access a tensor coefficient must be equal to the rank of the tensor.
- static_assert(sizeof...(otherIndices) + 2 == NumIndices || NumIndices == Dynamic, "Number of indices used to access a tensor coefficient must be equal to the rank of the tensor.");
- ^
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h:237:123: error: no matching function for call to 'Eigen::DSizes<long int, 2>::IndexOfRowMajor(Eigen::array<long int, 4ul>)'
- const Index index = m_dimensions.IndexOfRowMajor(array<Index, NumDims>{{firstIndex, secondIndex, otherIndices...}});
- ^
- In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:79:0,
- from tensorflow/cpp_api/conversion.h:10,
- from tensorflow/cpp_api/conversion.cc:1:
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h:328:52: note: candidate: DenseIndex Eigen::DSizes<DenseIndex, NumDims>::IndexOfRowMajor(Eigen::array<DenseIndex, NumDims>&) const [with DenseIndex = long int; int NumDims = 2; Eigen::array<DenseIndex, NumDims> = std::array<long int, 2ul>]
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DenseIndex IndexOfRowMajor(const array<DenseIndex, NumDims>& indices) const {
- ^
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h:328:52: note: no known conversion for argument 1 from 'Eigen::array<long int, 4ul> {aka std::array<long int, 4ul>}' to 'Eigen::array<long int, 2ul>& {aka const std::array<long int, 2ul>&}'
- In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:127:0,
- from tensorflow/cpp_api/conversion.h:10,
- from tensorflow/cpp_api/conversion.cc:1:
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h:240:123: error: no matching function for call to 'Eigen::DSizes<long int, 2>::IndexOfColMajor(Eigen::array<long int, 4ul>)'
- const Index index = m_dimensions.IndexOfColMajor(array<Index, NumDims>{{firstIndex, secondIndex, otherIndices...}});
- ^
- In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:79:0,
- from tensorflow/cpp_api/conversion.h:10,
- from tensorflow/cpp_api/conversion.cc:1:
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h:325:52: note: candidate: DenseIndex Eigen::DSizes<DenseIndex, NumDims>::IndexOfColMajor(Eigen::array<DenseIndex, NumDims>&) const [with DenseIndex = long int; int NumDims = 2; Eigen::array<DenseIndex, NumDims> = std::array<long int, 2ul>]
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DenseIndex IndexOfColMajor(const array<DenseIndex, NumDims>& indices) const {
- ^
- /usr/local/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h:325:52: note: no known conversion for argument 1 from 'Eigen::array<long int, 4ul> {aka std::array<long int, 4ul>}' to 'Eigen::array<long int, 2ul>& {aka const std::array<long int, 2ul>&}'
- Target //tensorflow/cpp_api:cpp_api failed to build
- Use --verbose_failures to see the command lines of failed build steps.
- INFO: Elapsed time: 119.072s, Critical Path: 53.94s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement