<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64485>64485</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm-17.0.0-rc1 32-bit win packaging fails to build lldb: "error: cannot compile this forwarded non-trivially copyable parameter yet"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zmodem
</td>
</tr>
</table>
<pre>
After #64279 I hit the next problem: clang-cl on the release/17.x branch can't build lldb for 32-bit x86:
```
FAILED: tools/lldb/tools/lldb-vscode/CMakeFiles/lldb-vscode.dir/lldb-vscode.cpp.obj
C:\src\llvm_package_17.0.0-rc1\build32_stage0\bin\clang-cl.exe /nologo -TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_FILE_OFFSET_BITS=64 -D_HAS_EXCEPTIONS=0 -D_LARGEFILE_SOURCE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\lldb\tools\lldb-vscode -IC:\src\llvm_package_17.0.0-rc1\llvm-project\lldb\tools\lldb-vscode -IC:\src\llvm_package_17.0.0-rc1\llvm-project\lldb\include -Itools\lldb\include -Iinclude -IC:\src\llvm_package_17.0.0-rc1\llvm-project\llvm\include -IC:\Users\hwennborg\AppData\Local\Programs\Python\Python310-32\include -IC:\src\llvm_package_17.0.0-rc1\llvm-project\llvm\..\clang\include -Itools\lldb\..\clang\include -DLIBXML_STATIC /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension /O2 /Ob2 /DNDEBUG -MD -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530 /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\lldb\tools\lldb-vscode\CMakeFiles\lldb-vscode.dir\lldb-vscode.cpp.obj /Fdtools\lldb\tools\lldb-vscode\CMakeFiles\lldb-vscode.dir\ -c -- C:\src\llvm_package_17.0.0-rc1\llvm-project\lldb\tools\lldb-vscode\lldb-vscode.cpp
C:\src\llvm_package_17.0.0-rc1\llvm-project\lldb\tools\lldb-vscode\lldb-vscode.cpp(1610,65): error: cannot compile this forwarded non-trivially copyable parameter yet
1610 | [](llvm::Expected<llvm::json::Value> value) {
| ^
1 error generated.
```
The code was added in 227b2180eb2be94986d63c75c144f88be13fc52f and I believe the error is the long-standing #28673
Luckily, a fix for that landed shortly after the branch, in 27dab4d305acb6e0935e014c061c5317016ae2b3. So maybe we should just cherry-pick that?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0Vl9z66gV_zTkhcEjIcuyH_ygSHLWM46dsZ1mpy8ahI5lEgwqIDveT99BSm5y70237fY2Ews4B37nDxz4MWtFowDmKL5FcX7DOnfUZv7HSddwuql0fZ2nBwcGIxpNxjSZ4SU-CofdEbCCV4dboysJJxSlmEumGsIl1qrXG5DALCC6CJPRK64MU_yIOVOIJg5XnZA1lrKu8EEbHFFSCYdfpxMUpSjIUfD-nQRv__1wkS5XRe7NOa2lRXThIRBdfB6Ss-W69paze_YCCyHhB9WoFuYHCW_bka6eBzOZ9yLOrOEozqQ8n8qW8RfWQBkmo2AUEMND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