Falha na compilação do TensorFlow Bazel

Estou construindo o TensorFlow com Bazel usandobazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer conforme instruído pelo TensorFlowinstruções de 'instalação a partir de fontes'.

Estou tendo o erro a seguir:

    ERROR: /home/ubuntu/tensorflow/tensorflow/stream_executor/BUILD:5:1: C++ compilation of rule '//tensorflow/stream_executor:stream_e
xecutor' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command third_party/gpus/crosstool/clang/bin/crosstool
_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-fr
ee-nonheap-object ... (remaining 87 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exite
d with status 1.   

tensorflow/stream_executor/cuda/cuda_dnn.cc: In function 'cudnnConvolutionFwdAlgo_t perftools::gputools::cuda::{anonymous}::ToConvF
orwardAlgo(perftools::gputools::dnn::AlgorithmType)':                                                                              
tensorflow/stream_executor/cuda/cuda_dnn.cc:269:10: error: 'CUDNN_CONVOLUTION_FWD_ALGO_FFT' was not declared in this scope         
     case CUDNN_CONVOLUTION_FWD_ALGO_FFT:  

...

Pilha: máquina EC2 g2.8xlarge executando o Ubuntu 14.04.2. Bazel versão 0.1.5 (instalado combazel-0.1.5-jdk7-installer-linux-x86_64.sh)

Eu tentei o Bazel 0.1.4 e 0.2.3 e recebo o mesmo erro.

questionAnswers(1)

yourAnswerToTheQuestion