Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595618 - Qt plugins compiled with gcc-4 are incompatible with <dev-qt/qtcore-4.8.7 compiled with gcc-5
Summary: Qt plugins compiled with gcc-4 are incompatible with <dev-qt/qtcore-4.8.7 com...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on: qt-4.8.7-stable
Blocks:
  Show dependency tree
 
Reported: 2016-09-30 07:19 UTC by Egor Y. Egorov
Modified: 2017-12-02 05:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Y. Egorov 2016-09-30 07:19:10 UTC
Please apply this patch to qtcore-4.8.6
https://codereview.qt-project.org/gitweb?p=qt%2Fqt.git;a=commit;h=4badb867bbffbd66762c150258b37b6c0b7e3c22

I use qt-4.8.6 and gcc-5.4.0. So application used plugins system and compiled with gcc-4.8 on anoser system do not work now. This patch solve issue in my case.

4.8.7 is not affected. 

May be should apply and patch from
https://lists.opensuse.org/opensuse-bugs/2016-06/msg03747.html
for compatibility with gcc-6 (4.8.7 is affected)
Comment 1 Egor Y. Egorov 2016-09-30 08:42:13 UTC
(In reply to Egor Y. Egorov from comment #0)
> Please apply this patch to qtcore-4.8.6

this patch need for all dev-qt/*-4.8.6 of cource
Comment 2 Davide Pesavento gentoo-dev 2016-10-06 15:44:20 UTC
(In reply to Egor Y. Egorov from comment #0)
> Please apply this patch to qtcore-4.8.6
> https://codereview.qt-project.org/gitweb?p=qt%2Fqt.git;a=commit;
> h=4badb867bbffbd66762c150258b37b6c0b7e3c22
> 
> I use qt-4.8.6 and gcc-5.4.0. So application used plugins system and
> compiled with gcc-4.8 on anoser system do not work now. This patch solve
> issue in my case.
> 
> 4.8.7 is not affected. 

I recommend stabilizing 4.8.7 instead.

> May be should apply and patch from
> https://lists.opensuse.org/opensuse-bugs/2016-06/msg03747.html
> for compatibility with gcc-6 (4.8.7 is affected)

Are you sure 4.8.7 is affected? commit 9c575cb9e3ed2cefc2ec0c2324f60bcd03af2d35 should've taken care of that.
Comment 3 Egor Y. Egorov 2016-10-06 17:33:01 UTC
(In reply to Davide Pesavento from comment #2)
> Are you sure 4.8.7 is affected? commit
> 9c575cb9e3ed2cefc2ec0c2324f60bcd03af2d35 should've taken care of that.

I must admit that I did not build 4.8.7. I drew conclusions only on the basis of the Qt source, so I can well be wrong on that score. However, I did ask to patch 4.8.6, if you are not going to be removed from the tree.

Thanks.
Comment 4 Davide Pesavento gentoo-dev 2017-12-02 05:40:37 UTC
Nothing else to do here.