Issue |
104895
|
Summary |
After this patch it is very hard to build lldb (debug version) on Windows.
|
Labels |
new issue
|
Assignees |
|
Reporter |
medismailben
|
After this patch it is very hard to build lldb (debug version) on Windows.
We got the errors like the following
```
D:\llvm-project\lldb\source\Plugins\ScriptInterpreter\Python\Interfaces\ScriptedThreadPlanPythonInterface\ScriptedThreadPlanPythonInterface.cpp:
fatal error C1041: cannot open program database 'D:\build-lldb\tools\lldb\source\Plugins\ScriptInterpreter\Python\Interfaces\ScriptedThreadPlanPythonInterface\CMakeFiles\lldbPluginScriptInterpreterPythonScriptedThreadPlanPythonInterface.dir\lldbPluginScriptInterpreterPythonScriptedThreadPlanPythonInterface.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
```
Note MAX_PATH is 260 on Windows. But the length of the path to .pdb is 262.
It is necessary to use 7 chars or less folder in the root of a disk to build lldb (debug version) on Windows using Microsoft VC++.
You must reduce the length of the paths.
_Originally posted by @slydiman in https://github.com/llvm/llvm-project/issues/101672#issuecomment-2289481324_
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs