[LLVMdev] LLVM under Syllable

Misha Brukman brukman at gmail.com
Thu Jul 2 08:29:14 PDT 2009

2009/7/2 Dmitry <rohan at land.ru>

>  I tried to Build LLVM under Syllable, but it was failed on the next
> moment
> http://clip2net.com/clip/m0/1246547164-clip-99kb.png
> any ideas?

Hi, Dmitry --

As you can see in llvm/lib/System/Unix/Signals.inc, the way to get a call to
dladdr() is to have #defined HAVE_DLFCN and __GNUG__ -- which implies your
system has dladdr().  The link error shows that it doesn't, or at least your
system compiler cannot find it.

Can you try to compile, link, and run some dladdr()-using sample code, e.g.
http://www.clifford.at/cfun/elfstuff/ ?
If that doesn't work, the issue is in Syllable.  If it works, you might need
to figure out how to add Syllable support to LLVM, either via Signals.inc
ifdef logic, or via autoconf to recognize Syllable as a different OS flavor
from Unix and Windows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090702/cca53e86/attachment.html>

More information about the llvm-dev mailing list