title: TensorFlow: Error while parsing .d file
body: <p>I use Ubuntu 15.10. Currently I am building TensorFlow from source, following the instructions <a href="https://www.tensorflow.org/versions/r0.7/get_started/os_setup.html#installing-from-sources" rel="noreferrer">here</a>.</p>
  
  <p>My installation is successful, save for the last step: "Build your target with GPU support".</p>
  
  <p>When I run this command from the root of my source tree:</p>
  
  <p><code>bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer</code></p>
  
  <p>I see the following output:</p>
  
  <pre><code>INFO: Found 1 target...
  ERROR: /home/me/tensorflow/tensorflow/core/kernels/BUILD:549:1: error while parsing .d file: /home/me/.cache/bazel/_bazel_me/38a03c514c8dc954778fc9a555bce3de/tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/colorspace_op_gpu/tensorflow/core/kernels/colorspace_op_gpu.cu.d (No such file or directory).
  nvcc warning : option '--relaxed-constexpr' has been deprecated and replaced by option '--expt-relaxed-constexpr'.
  In file included from third_party/gpus/cuda/include/cuda_runtime.h:76:0,
                   from &lt;command-line&gt;:0:
  third_party/gpus/cuda/include/host_config.h:115:2: error: #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
   #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
    ^
  Target //tensorflow/cc:tutorials_example_trainer failed to build
  Use --verbose_failures to see the command lines of failed build steps.
  </code></pre>
  
  <p>There are several things I do not understand:</p>
  
  <ol>
  <li>Why is the <code>.d</code> file missing?</li>
  <li>What does this mean? </li>
  </ol>
  
  <blockquote>
    <p>nvcc warning : option '--relaxed-constexpr' has been deprecated and replaced by option '--expt-relaxed-constexpr'.</p>
  </blockquote>
  
  <ol start="3">
  <li>My GCC version is 5.2.1. Does this mean there is no way I can build TensorFlow from source?</li>
  </ol>
  
  <p>Thank you for your help.</p>