Skip to content

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

Open
@digant73

Description

@digant73

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build and CIAnything related to the build process and continuous integrationOS: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions