[odb-users] gcc-5.4: cannot link code produced with odb

Vladimir Tsichevski tsichevski at gmail.com
Wed Nov 30 18:15:57 EST 2016

Thank you a lot!

Now it compiles!


On 29.11.2016 18:53, Boris Kolpackov wrote:
> Hi Vladimir,
> Vladimir Tsichevski <tsichevski at gmail.com> writes:
>> I'm trying to build the odb person example provided with the odb manual. My
>> system is Ubunti 16, odb-2.4, and the default compiler is gcc-5.4. I got the
>> following linking problems:
> Ubuntu 16.04 libraries appear to be broken. The bug report is here:
> https://bugs.launchpad.net/ubuntu/+source/libodb/+bug/1588330
>> But I can successfully link the object files if they were compiled with
>> gcc-4.8 on the same system:
> I am surprised this worked for you. My understanding is that libodb and
> libodb-<db> libraries are built with different compiler versions (and
> thus use different ABIs) and are not usable together.
>> Is there any workaround for this problem?
> The only workaround is to build the libraries from source. Also adding
> a comment/vote to the bug might speed up its resolution.
> Boris

More information about the odb-users mailing list