← All tasks
cppRPCS3/rpcs3 #16719Not a task: not reproduced

Linking error on Windows 11 compiling RCPS3 in DEBUG mode with latest llvm 19.1.7

envgap__RPCS3__rpcs3-16719

01 / FAILURE SIGNATURE

As reported upstream

Error	LNK2005	"public: __cdecl llvm::PredicateInfo::~PredicateInfo(void)" (??1PredicateInfo@llvm@@QEAA@XZ) already defined in LLVMTableGenCommon.lib(CodeGenTarget.cpp.obj)	rpcs3	M:\console\git\rpcs3_diga\rpcs3\LLVMTransformUtils.lib(PredicateInfo.cpp.obj)	1
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
59e59c7de6e5595c7f9a795489b2570273aafb0d
Manifest
3rdparty/wolfssl/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

RPCS3/rpcs3 #16719 · read the original issue
### Quick summary

As reported in #16620,  with LLVM 19.1.7, it is no more possible to compile RPCS3 in DEBUG mode under Windows 11 (compiling from VS2022).
The following errors are returned at linking phase:

```
Severity	Code	Description	Project	File	Line	Suppression State	Details
Error	LNK2005	"public: __cdecl llvm::PredicateInfo::~PredicateInfo(void)" (??1PredicateInfo@llvm@@QEAA@XZ) already defined in LLVMTableGenCommon.lib(CodeGenTarget.cpp.obj)	rpcs3	M:\console\git\rpcs3_diga\rpcs3\LLVMTransformUtils.lib(PredicateInfo.cpp.obj)	1		
Error	LNK1169	one or more multiply defined symbols found	rpcs3	M:\console\git\rpcs3_diga\bin\rpcs3d.exe	1		

```

### Details

_No response_

### Attach a log file

no file due to issue type

### Attach capture files for visual issues

_No response_

### System configuration

_No response_

### Other details

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]