[LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb

Ryan Taylor ryta1203 at gmail.com
Fri Oct 14 10:30:05 PDT 2011


Duncan,

 Yes, this is the problem. Running "opt -version" returns:

me at here:~/llvm/llvm_core/llvm-2.9$ opt -version
Low Level Virtual Machine (http://llvm.org/):
  llvm version 2.8 (Ubuntu 2.8-0ubuntu1)
  Optimized build.
  Built Oct  6 2010 (13:24:23).
  Host: x86_64-pc-linux-gnu
  Host CPU: i686

  Registered Targets:
    (none)

So, my question is then how do I do a clean uninstall of 2.8 so that I can
install 2.9?

On Fri, Oct 14, 2011 at 8:51 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:

> Using built-in specs.
> Target: x86_64-unknown-linux-gnu
> Configured with: ../llvm_gcc/llvm-gcc-4.2-2.9.source/configure
> -program-prefix=llvm --enable-llvm=/home/ryan/llvm/llvm_core/llvm-2.9
> --enable-languages=c,c++ --disable-jit : (reconfigured)
> ../llvm_gcc/llvm-gcc-4.2-2.9.source/configure -program-prefix=llvm
> --enable-llvm=/home/ryan/llvm/llvm_core/llvm-2.9 --enable-languages=c,c++
> --disable-jit
> Thread model: posix
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build)
>
>
> Not sure if that helps or not. That's the llvmgcc version though.
>
>
> On Fri, Oct 14, 2011 at 8:41 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>
>>
>>
>> ---------- Forwarded message ----------
>> From: Duncan Sands <baldrick at free.fr>
>> Date: Fri, Oct 14, 2011 at 8:38 AM
>> Subject: Re: [LLVMdev] undefined symbol:
>> _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
>> To: Ryan Taylor <ryta1203 at gmail.com>
>>
>>
>> Hi Ryan, please write also to the list and not just to me personally.
>> That way others can join the discussion, and it will be archived for
>> the benefit of others with similar problems in the future.
>>
>> Thanks, Duncan.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111014/d6202339/attachment.html>


More information about the llvm-dev mailing list