[LLVMbugs] [Bug 8197] New: undefined symbol: LLVMInitializeMBlazeTargetInfo

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 21 08:41:11 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8197

           Summary: undefined symbol: LLVMInitializeMBlazeTargetInfo
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: llvm at nospam.frostglow.com
                CC: llvmbugs at cs.uiuc.edu


Running clang against any file (even an empty file, as in the example below)
complains about "undefined symbol: LLVMInitializeMBlazeTargetInfo".

For example:

% touch foo.c
% clang -v foo.c
clang version 1.1 (branches/release_27)
Target: x86_64-pc-linux-gnu
Thread model: posix
 "/usr/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -S -disable-free
-disable-llvm-verifier -main-file-name foo.c -mrelocation-model static
-mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v
-resource-dir /usr/lib/clang/1.1 -fmessage-length 144 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-Mr8QIk.s -x c foo.c
/usr/bin/clang: symbol lookup error: /usr/bin/clang: undefined symbol:
LLVMInitializeMBlazeTargetInfo
clang: error: compiler command failed with exit code 127 (use -v to see
invocation)

This is clang 2.7-r3 on Gentoo Linux, amd64.  I also have llvm 2.7-r1 and
llvm-gcc 2.7-r1 installed.

When run against clang, the "ldd" command returns:

        linux-vdso.so.1 =>  (0x00007fffb3dba000)
        libLLVM-2.7.so => /usr/lib64/llvm/libLLVM-2.7.so (0x00007f854be1e000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f854bc01000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6
(0x00007f854b8f3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f854b6dc000)
        libc.so.6 => /lib/libc.so.6 (0x00007f854b368000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f854b164000)
        libm.so.6 => /lib/libm.so.6 (0x00007f854aee1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f854cbca000)

and "nm /usr/lib64/llvm/* 2>/dev/null | grep LLVMInitializeMBlazeTargetInfo"
returns nothing.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list