[LLVMbugs] [Bug 23002] New: unresolved external in clang_rt.asan_dynamic_runtime_thunk-i386

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 23 15:31:55 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23002

            Bug ID: 23002
           Summary: unresolved external in
                    clang_rt.asan_dynamic_runtime_thunk-i386
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: timurrrr at google.com
          Reporter: raymond.forbes at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150323/d482af99/attachment.html>


More information about the llvm-bugs mailing list