From a00fa7b7013b86afafb773b954e5b81ea1c8c85a Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 1 Jul 2016 08:07:53 -0800 Subject: [PATCH] Adds documentation for ubuntu-specific build issue seen by open-source users. Change: 126415298 --- tensorflow/g3doc/get_started/os_setup.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tensorflow/g3doc/get_started/os_setup.md b/tensorflow/g3doc/get_started/os_setup.md index 158c84b4ef0..923535144b8 100644 --- a/tensorflow/g3doc/get_started/os_setup.md +++ b/tensorflow/g3doc/get_started/os_setup.md @@ -952,6 +952,14 @@ SyntaxError: invalid syntax Solution: make sure you are using Python 2.7. +#### Ubuntu build issue on Linux 16.04 when building with --config=cuda: build fail with cuda: identifier "__builtin_ia32_mwaitx" is undefined. +GitHub issue: https://github.com/tensorflow/tensorflow/issues/1066 + +Solution: Add the following compiler flags to third_party/gpus/crosstool/CROSSTOOL + +cxx_flag: "-D_MWAITXINTRIN_H_INCLUDED" +cxx_flag: "-D_FORCE_INLINES" + ### Mac OS X: ImportError: No module named copyreg On Mac OS X, you may encounter the following when importing tensorflow.