Skip to content

run_all PDB fails with "Error calling COPY_XTRA"  #8292

@hvlad

Description

@hvlad

It happens on Windows with MSVC 17.10 and later. Fix in #8251 is not complete, unfortunately.

Run setenvvar.bat few times in the same console and check MSVC_RUNTIME_MINOR_VERSION value after each run - first time there will be correct value '3', on the second run - '4', and so on.

The problem is in way how Windows command interpreter evaluates values of environment variables.
See https://devblogs.microsoft.com/oldnewthing/20060823-00/?p=29993, for example.

When run_all.bat is called with PDB switch, it calls setenvvar.bat twice and second run leads to a same problem as described in #8251.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions