<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - LNK2038 error: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' does not match value 'MDd_DynamicDebug' in RpgLexer.obj"
href="https://bugs.llvm.org/show_bug.cgi?id=48788">48788</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LNK2038 error: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' does not match value 'MDd_DynamicDebug' in RpgLexer.obj
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Core LLVM classes
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>francis.andre.kampbell@orange.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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'</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>