[LLVMdev] msbuild and clang

Russell Wallace russell.wallace at gmail.com
Tue Jun 9 06:10:37 PDT 2015


Okay, so trying a straight compile of the Python interpreter with clang-cl,
I used the following commands:

cd \python-2.7.10\pcbuild
copy C:\llvm\build\Release\bin\clang-cl.exe cl.exe
rd /q /s amd64
rd /q /s win32-temp-debug
rd /q /s win32-temp-release
rd /q /s x64-temp-debug
rd /q /s x64-temp-release
msbuild /p:Configuration=Release /v:diag /fileLogger pcbuild.sln

(The second line is the one that substitutes clang-cl - with that removed,
everything is successful)

The build failed with the following error message:

  Tracking command:
  C:\Program Files (x86)\MSBuild\12.0\bin\Tracker.exe /d "C:\Program Files
(x86)\MSBuild\12.0\bin\FileTracker.dll" /i
C:\Python-2.7.10\PCbuild\x64-temp-Release\kill_python\kill_python.tlog /r
C:\PYTHON-2.7.10\PCBUILD\KILL_PYTHON.C /b
MSBuildConsole_CancelEvent306536dcec844c0c97517539ced8ed5d  /c
C:\Python-2.7.10\PCbuild\CL.exe  /c /I..\Include /I..\PC /Zi /nologo /W3
/WX- /O2 /Ob1 /Oi /GL /D _WIN64 /D _M_X64 /D NDEBUG /D _WIN32 /GF /Gm- /MT
/GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"C:\Python-2.7.10\PCbuild\x64-temp-Release\kill_python\\"
/Fd"C:\Python-2.7.10\PCbuild\x64-temp-Release\kill_python\vc120.pdb" /Gd
/TC /errorReport:queue /USECL:MS_OPTERON /GS- kill_python.c
TRACKER : error TRK0002: Failed to execute command:
"C:\Python-2.7.10\PCbuild\CL.exe
@C:\Users\w\AppData\Local\Temp\tmp4af7576aa6b5441391fa4aea101d878d.rsp".
The operation identifier is not valid.
[C:\Python-2.7.10\PCbuild\kill_python.vcxproj]

I'm not quite sure what to make of this, but a Google search for 'the
operation identifier is not valid' turned up this:

https://connect.microsoft.com/VisualStudio/feedback/details/714228/visual-studio-11-various-problems-caused-by-its-use-of-3-bit-compiler-even-when-installed-on-64-bit-windows

Which is not actually the same thing, but suggests that error message is
msbuild's way of saying something in the toolchain is incompatible with
something else. Any idea what's wrong here?
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150609/10b01e65/attachment.html>


More information about the llvm-dev mailing list