如何使用Bazel编译tensorflow中的“错误消息:'接收到的RST_STREAM,错误代码为8'”

时间:2019-07-30 09:06:23

标签: tensorflow bazel

我正在尝试使用bazel(0.24.1)编译最新的tensorflow版本(2.0):

~/bin/bazel build -c opt --verbose_failures --copt=-msse3 --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx --copt=-mavx2 --copt=-mfma //tensorflow/tools/pip_package:build_pip_package

我收到以下错误消息:

Server terminated abruptly (error code: 1, error message: 'Received RST_STREAM with error code 8', log file: '/home/zhang/.cache/bazel/_bazel_zhang/72e7c60ab7642c4e9dd9ba0bb5e0d8db/server/jvm.out')

在jvm.out文件中,它看起来像:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/zhang/.cache/bazel/_bazel_zhang/install/7da6a92c096ada842b8d48c251312343/_embedded_binaries/A-server.jar) to field sun.nio.ch.SelectorImpl.selectedKeys
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

请帮帮我。谢谢!

0 个答案:

没有答案