./tensorflow/core/util/tensor_format.h:148:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
INFO: From Compiling tensorflow/core/kernels/depthwise_conv_grad_op.cc [for host]:
In file included from ./tensorflow/core/kernels/conv_grad_ops.h:167:0,
from tensorflow/core/kernels/depthwise_conv_grad_op.cc:29:
./tensorflow/core/util/tensor_format.h: In function 'int tensorflow::GetTensorSpatialDims(int, tensorflow::TensorFormat)':
./tensorflow/core/util/tensor_format.h:124:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
ERROR: /home/pi/tensorflow-1.12.0/tensorflow/core/kernels/BUILD:2898:1: C++ compilation of rule '//tensorflow/core/kernels:argmax_op' failed (Exit 4) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 249 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2954.587s, Critical Path: 173.74s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 5467 processes: 3 local, 5464 processwrapper-sandbox.
FAILED: Build did NOT complete successfully