[Development] QtCS: Notes from Modern C++ session

Thiago Macieira thiago.macieira at intel.com
Mon Jun 15 23:03:08 CEST 2015


On Monday 15 June 2015 13:03:55 Thiago Macieira wrote:
> b) Linux distributions that properly compile libc++ [*]
> 
> > > [*] provided, of course, that the two share their base C++ ABI, which
> > > some
> > > Linux distros have not yet learned to do.

By the way, the list of Linux distributions that properly compile libc++ does 
NOT include:

1) Debian & Ubuntu
libc++.so.1 contains _ZTIi and _ZdlPv, for example

2) OpenSUSE 13.2
$ ldd -d -r /usr/lib64/libc++.so.1          
        linux-vdso.so.1 (0x00007ffc9f73c000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f15d6c52000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f15d68ab000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f15d6694000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f15d712f000)
undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE      
(/usr/lib64/libc++.so.1)
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE 
(/usr/lib64/libc++.so.1)
undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE     
(/usr/lib64/libc++.so.1)
undefined symbol: __cxa_pure_virtual    (/usr/lib64/libc++.so.1)
undefined symbol: __gxx_personality_v0  (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_end_catch       (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_allocate_exception      (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_guard_release   (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_begin_catch     (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_rethrow (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_throw   (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_guard_abort     (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_free_exception  (/usr/lib64/libc++.so.1)
undefined symbol: __cxa_guard_acquire   (/usr/lib64/libc++.so.1)

3) Arch Linux
libc++abi has _ZTIi and _ZdlPv but libstdc++ doesn't link to it.

4) Fedora
libc++ not shipped
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list