Skip to content

compilation error #66

Description

@nshanker

Just did a git clone to build from source as described in documentation and got this at compile time (without CUDA/GPG support) ...

INFO: From Compiling tensorflow/core/kernels/pad_op.cc:
In file included from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:94:0,
from ./tensorflow/core/framework/tensor_types.h:4,
from ./tensorflow/core/kernels/pad_op.h:6,
from tensorflow/core/kernels/pad_op.cc:5:
third_party/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h: In instantiation of 'const Eigen::TensorPaddingOp<const PaddingDimensions, const Derived> Eigen::TensorBase<Derived, 0>::pad(const PaddingDimensions&) const [with PaddingDimensions = Eigen::array<std::pair<int, int>, 0ul>; Derived = Eigen::TensorMap<Eigen::Tensor<const std::complex, 0ul, 1, long int>, 1>]':
./tensorflow/core/kernels/pad_op.h:20:22: required from 'void tensorflow::functor::Pad<Device, T, Dims>::operator()(const Device&, typename tensorflow::TTypes<T, Dims>::Tensor, typename tensorflow::TTypes<T, Dims>::ConstTensor, Eigen::array<std::pair<int, int>, Dims>) [with Device = Eigen::ThreadPoolDevice; T = std::complex; int Dims = 0; typename tensorflow::TTypes<T, Dims>::Tensor = Eigen::TensorMapEigen::Tensor<std::complex<float, 0ul, 1, long int>, 1>; typename tensorflow::TTypes<T, Dims>::ConstTensor = Eigen::TensorMap<Eigen::Tensor<const std::complex, 0ul, 1, long int>, 1>]'
tensorflow/core/kernels/pad_op.cc:112:27: required from 'void tensorflow::PadOp<Device, T>::Operate(tensorflow::OpKernelContext_, typename tensorflow::TTypes<T, Dims>::ConstTensor, tensorflow::TTypes::ConstMatrix, tensorflow::Tensor_) [with int Dims = 0; Device = Eigen::ThreadPoolDevice; T = std::complex; typename tensorflow::TTypes<T, Dims>::ConstTensor = Eigen::TensorMap<Eigen::Tensor<const std::complex, 0ul, 1, long int>, 1>; tensorflow::TTypes::ConstMatrix = Eigen::TensorMap<Eigen::Tensor<const int, 2ul, 1, long int>, 1>]'
tensorflow/core/kernels/pad_op.cc:73:16: required from 'void tensorflow::PadOp<Device, T>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; T = std::complex]'
tensorflow/core/kernels/pad_op.cc:159:1: required from here
third_party/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h:703:5: note: the ABI of passing structure with complex float member has changed in GCC 4.4
pad(const PaddingDimensions& padding) const {
^
Target //tensorflow/cc:tutorials_example_trainer up-to-date:
bazel-bin/tensorflow/cc/tutorials_example_trainer
INFO: Elapsed time: 494.466s, Critical Path: 472.43s
shanker@blackhole ~/projects/tensorflow $

Activity

  1. vrv commented on Nov 10, 2015

    @vrv

    There isn't actually an error, that's just an ugly warning in Eigen :). It looks like it was succesfully built!

    Target //tensorflow/cc:tutorials_example_trainer up-to-date:
    bazel-bin/tensorflow/cc/tutorials_example_trainer
  2. vrv commented on Nov 10, 2015

    @vrv

    (Feel free to re-open if you disagree)

  3. added a commit that references this issue on Mar 9, 2016
  4. added a commit that references this issue on Dec 6, 2019
  5. added a commit that references this issue on May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions