[LLVMdev] Regarding Error on Mac OSX
Ketan Pundlik Umare
kumare3 at cc.gatech.edu
Thu Oct 23 10:51:09 PDT 2008
Thanx a lot Vlado!!!!
It works :)
----- Original Message -----
From: "Vladimír Guzma" <vladimir.guzma at tut.fi>
To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Sent: Thursday, October 23, 2008 3:43:59 AM GMT -05:00 US/Canada Eastern
Subject: Re: [LLVMdev] Regarding Error on Mac OSX
Hi,
There is reported bug about this (#2771), or at least related.
http://llvm.org/bugs/show_bug.cgi?id=2771
Though it seems there is no "proper" solution known so far.
The workaround is to use 'opt' from the Release/bin directory
In your case:
../Release/bin/opt -load ../Release/lib/LLVMHello.dylib -hello
Would probably work.
Best regards
Vlado
> Hello guys,
>
> I get the following error whenever i try to check if the following pass exists. I am using Mac OSX leopard and gcc4
>
>
>
> opt -load ../Release/lib/LLVMHello.dylib -hello
> Error opening '../Release/lib/LLVMHello.dylib': dlopen(../Release/lib/LLVMHello.dylib, 1): Symbol not found: __ZN4llvm12FunctionPass11runOnModuleERNS_6ModuleE
> Referenced from: /ketan/dcm-project/llvm-2.3/Release/lib/LLVMHello.dylib
> Expected in: flat namespace
>
> -load request ignored.
> opt: Unknown command line argument '-hello'. Try: 'opt --help'
>
> Can you please help me and guide as to how i can resolve this issue.
>
> Thank you
> Ketan
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
--
Vladimír Guzma <vladimir.guzma at tut.fi>
Tampere University of Technology
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list