https://bugs.llvm.org/show_bug.cgi?id=48788
Bug ID: 48788
Summary: LNK2038 error: mismatch detected for 'RuntimeLibrary':
value 'MD_DynamicRelease' does not match value
'MDd_DynamicDebug' in RpgLexer.obj
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: unassignedb...@nondot.org
Reporter: francis.andre.kampb...@orange.fr
CC: llvm-bugs@lists.llvm.org
Hello LLVM people
I build all librairies of llvm-project/llvm with the 'Release' configuration.
When linked by my project in Release mode, evething is fine, but when linking
by my project in Debug mode, I got:
1>LLVMCore.lib(Value.obj) : error LNK2038: discordance détectée pour
'_ITERATOR_DEBUG_LEVEL' : la valeur '0' ne correspond pas à la valeur '2' in
RpgLexer.obj
1>LLVMCore.lib(Value.obj) : error LNK2038: discordance détectée pour
'RuntimeLibrary' : la valeur 'MD_DynamicRelease' ne correspond pas à la valeur
'MDd_DynamicDebug' in RpgLexer.obj
1>LLVMCore.lib(LLVMContext.obj) : error LNK2038: discordance détectée pour
'_ITERATOR_DEBUG_LEVEL' : la valeur '0' ne correspond pas à la valeur '2' in
RpgLexer.obj
1>LLVMCore.lib(LLVMContext.obj) : error LNK2038: discordance détectée pour
'RuntimeLibrary' : la valeur 'MD_DynamicRelease' ne correspond pas à la valeur
'MDd_DynamicDebug' in RpgLexer.obj
1>LLVMCore.lib(Metadata.obj) : error LNK2038: discordance détectée pour
'_ITERATOR_DEBUG_LEVEL' : la valeur '0' ne correspond pas à la valeur '2' in
RpgLexer.obj
1>LLVMCore.lib(Metadata.obj) : error LNK2038: discordance détectée pour
'RuntimeLibrary' : la valeur 'MD_DynamicRelease' ne correspond pas à la valeur
'MDd_DynamicDebug' in RpgLexer.obj
1>LLVMCore.lib(BasicBlock.obj) : error LNK2038: discordance détectée pour
'_ITERATOR_DEBUG_LEVEL' : la valeur '0' ne correspond pas à la valeur '2' in
RpgLexer.obj
>From the LLMV-dev mailing list, it seems that the problem is coming from the
mismatch between the 'Release' LLVM libs and mu 'Debug' project.
>From my point of view, this is an issue. One should be able to link 'Release'
LLVM libs while building a project compiled with 'Debug'
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs