[cfe-users] Compiline LLVM/Clang - errors in building shared object library

Sian Mountbatten poenikatu at fastmail.co.uk
Sat Jul 20 12:31:15 PDT 2013


On 2013-07-20 20:24, Nick Lewycky wrote:
> It looks like your link is not including the C++ ABI library (for 
> instance you may be linking by running gcc/clang instead of 
> g++/clang++). __cxa_guard_acquire et al are defined by the Itanium C++ 
> ABI and shipped as part of libsupc++ (commonly linked into libstdc++) 
> from gcc or libcxxabi.llvm.org <http://libcxxabi.llvm.org> from llvm.
>
> Nick
>
I've tried downloading libcxxabi (using svn), but the script given in 
libcxxabi/lib/buildit does not produce an
error-free compilation. Please find attached the build log for libcxxabi 
(it's only2.1kb). It needs _Unwind_Exception.
Where would that be? And, of course, maybe libcxxabi doesn't work yet on 
Linux. :-(

>
>
> On 20 July 2013 11:33, Sian Mountbatten <poenikatu at fastmail.co.uk 
> <mailto:poenikatu at fastmail.co.uk>> wrote:
>
>     Dear List
>
>     I have uploaded the following files to
>     http://www.poenikatu.co.uk/c++/:
>        config.log           -- the result of the configure command
>        llvm-clang-build.log -- the result of 'make'
>     The build failed when a shared object library was being built:
>     undefined
>     references.
>
>     Please would you check these files and, if possible, point me to
>     what I need
>     to do to get LLVM/Clang to compile.
>
Sian

-- 
Sian Mountbatten
Learning C++!!!
I'm an FSF member
Help us support software freedom! http://www.fsf.org/jf?referrer=10888

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130720/9bf54f4a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxxabi-build.log
Type: application/octet-stream
Size: 2115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130720/9bf54f4a/attachment.obj>


More information about the cfe-users mailing list