Hi,

Thanks for your answer!

I thought that gcc would mostly
be backwards compatible, but I
guess in some cases, as you say,
with major releases this breaks.

I'll open up an github issue so
that OSG can be rebuild using
the latest gcc.

Cheers,
Adrian Pop/


On 2015-07-28 03:52, Óscar Fuentes wrote:
> Adrian Pop <[email protected]> writes:
>
>> After I upgraded to gcc 5.2.0 I get some weird linking errors.
>>
>> Is it possible that the gcc 5.2.0 generates code that is
>> not linker compatible with libraries built with gcc 4.9.2?
>
> I experienced similar problems after building a project with 5.2 with
> object files generated by 4.9 still around. A full rebuild fixed the
> problem.
>
> This does not indicate a bug in gcc, necessarily. Major gcc releases are
> allowed to break C++ ABI compatibility.
>
> [snip]
>
>> Additional question:
>> is it possible to downgrade to gcc 4.9.2 toolchain using pacman?
>
> Yes. Uninstall gcc 5.2. Get the package for 4.9.2 (pacman stores a copy
> of the installed packages on the local machine, so if you installed gcc
> 4.9.2 chances are that you already have the package.)
>
> But... you have to downgrade all other packages to their pre-5.2
> versions (at least the C++ packages). Too much hassle, IMO.
>
> A better option is to simply rebuild everything, or do not upgrade to
> anything released along/after gcc 5.2. OTOH, the problem could happen
> because OpenSceneGraph was not rebuilt and uploaded after the gcc 5.2
> release. If that's the case, create a bug report on Github
> (https://github.com/Alexpux/MINGW-packages) or get in touch with Alexey
> here or in irc.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>


------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to