<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - unresolved external in clang_rt.asan_dynamic_runtime_thunk-i386"
   href="https://llvm.org/bugs/show_bug.cgi?id=23002">23002</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>unresolved external in clang_rt.asan_dynamic_runtime_thunk-i386
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>timurrrr@google.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>raymond.forbes@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using latest trunk version of LLVM/Clang and compiler-rt to build Firefox on
windows.  Getting the following error.

This seems odd to me because from my very limited understanding
UnregisteredGobals is defined in the same file as it is used.

2:15.07 nptestjava.dll
 2:15.53 Executing: link -NOLOGO -DLL -OUT:nptestjava.dll
-PDB:nptestjava.pdb -SUBSYSTEM:WINDOWS,5.01 -MACHINE:X86
@c:\source\mozilla-centra
l\obj-ff-asan\dom\plugins\test\testplugin\javaplugin\tmpsbphop.list
nptest.res clang_rt.asan_dynamic-i386.lib clang_rt.asan_dynamic_runtime_
thunk-i386.lib -DYNAMICBASE -DEBUG -DEBUGTYPE:CV -DEBUG -OPT:REF
-DEF:c:/source/mozilla-central/dom/plugins/test/testplugin/nptest.def kerne
l32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
secur32.lib netapi32.lib msimg32.lib
 2:15.53
c:\source\mozilla-central\obj-ff-asan\dom\plugins\test\testplugin\javaplugin\tmpsbphop.list:
 2:15.53     Unified_cpp_javaplugin0.obj
 2:15.53
 2:15.55    Creating library nptestjava.lib and object nptestjava.exp
 2:15.55
 2:15.55 nptestjava.exp : warning LNK4070: /OUT:NPTEST.dll directive in
.EXP differs from output filename 'nptestjava.dll'; ignoring directi
ve
 2:15.56
 2:15.56
clang_rt.asan_dynamic_runtime_thunk-i386.lib(asan_win_dynamic_runtime_thunk.cc.obj)
: error LNK2019: unresolved external symbol __i
nitterm referenced in function "void __cdecl `anonymous
namespace'::UnregisterGlobals(void)"
(?UnregisterGlobals@?A0xf3a41405@@YAXXZ)
 2:15.56
 2:15.56 nptestjava.dll : fatal error LNK1120: 1 unresolved externals
 2:15.56
 2:15.60 c:/source/mozilla-central/config/rules.mk:812: recipe for
target 'nptestjava.dll' failed
 2:15.60 mozmake.EXE[5]: *** [nptestjava.dll] Error 1120
 2:15.60 c:/source/mozilla-central/config/recurse.mk:74: recipe for
target 'dom/plugins/test/testplugin/javaplugin/target' failed
 2:15.60 mozmake.EXE[4]: ***
[dom/plugins/test/testplugin/javaplugin/target] Error 2
 2:15.61 c:/source/mozilla-central/config/recurse.mk:36: recipe for
target 'compile' failed
 2:15.61 mozmake.EXE[3]: *** [compile] Error 2
 2:15.61 c:/source/mozilla-central/config/rules.mk:541: recipe for
target 'default' failed
 2:15.61 mozmake.EXE[2]: *** [default] Error 2
 2:15.63 c:/source/mozilla-central/client.mk:400: recipe for target
'realbuild' failed
 2:15.63 mozmake.EXE[1]: *** [realbuild] Error 2
 2:15.63 client.mk:171: recipe for target 'build' failed
 2:15.63 mozmake.EXE: *** [build] Error 2
 2:15.64 1 compiler warnings present.</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>