Skip to content

absl update required to slove MSVC compile error #61435

@johnnkp

Description

@johnnkp

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

2.13.0

Custom code

Yes

OS platform and distribution

Windows 10 22H2

Mobile device

No response

Python version

Anaconda 2023.07-1

Bazel version

6.3.0

GCC/compiler version

Visual Studio 2022 (build tools 14.36) + msys2-x86_64-20230718

CUDA/cuDNN version

CUDA 11.8 + CUDNN 8.6.0 + TensorRT 8.5.3

GPU model and memory

GTX 750 Ti 2GB

Current behavior?

Currently, MSVC address sanitizer isn't enabled during compilation and cause compilation error. abseil/abseil-cpp@2927340 (LTS Jan 2023 Patch 3) has fixed it. This update required developers to check if corresponding code is necessary to change.

Standalone code to reproduce the issue

1. download https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.13.0.zip and extract
2. comment out Windows CUDA build rejection code in configure.py
3. run `python configure.py` to configure Windows CUDA build
4. run `bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package`

Relevant log output

error: "no_sanitize_address" is undefined

Metadata

Metadata

Labels

TF 2.13For issues related to Tensorflow 2.13staleThis label marks the issue/pr stale - to be closed automatically if no activitystat:awaiting responseStatus - Awaiting response from authorsubtype:windowsWindows Build/Installation Issuestype:build/installBuild and install issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions