[cfe-dev] libc++ problem on Linux with copy_assign.pass.cpp
ismail at donmez.ws
Thu Apr 25 09:27:26 PDT 2013
On Thu, Apr 25, 2013 at 5:21 PM, Howard Hinnant <hhinnant at apple.com> wrote:
> On Apr 25, 2013, at 10:07 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
> > Hi,
> > Testing libc++ on upcoming openSUSE 13.1 results in a weird linker error:
> > [/havana/t]> clang++ -stdlib=libc++ copy_assign.pass.cpp
> > /tmp/copy_assign-vRKC6j.o:(.rodata._ZTIFiiE[_ZTIFiiE]+0x0): undefined
> reference to `vtable for __cxxabiv1::__function_type_info'
> > /tmp/copy_assign-vRKC6j.o:(.rodata._ZTIPFiiE[_ZTIPFiiE]+0x0): undefined
> reference to `vtable for __cxxabiv1::__pointer_type_info'
> > clang: error: linker command failed with exit code 1 (use -v to see
> > [/havana/t]> clang -v
> > SUSE Linux clang version 3.3 (trunk 180017) (based on LLVM 3.3svn)
> > Target: x86_64-unknown-linux-gnu
> > Thread model: posix
> > libc++ svn r180255
> > Any ideas?
> This will have something to do with the functionality provided (or not) by
> libc++abi. Here is one implementation of that library:
> There are others. I'm not sure which, if any, is being used on openSUSE
I was building against libsupc++ . I guess I should just build against
libcxxabi and try again?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev