Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 595618

Summary: Qt plugins compiled with gcc-4 are incompatible with <dev-qt/qtcore-4.8.7 compiled with gcc-5
Product: Gentoo Linux Reporter: Egor Y. Egorov <egorov_egor>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: arthur
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=618922
https://bugs.gentoo.org/show_bug.cgi?id=619006
https://bugs.gentoo.org/show_bug.cgi?id=619696
https://bugs.gentoo.org/show_bug.cgi?id=619326
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 552396    
Bug Blocks:    

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 (RETIRED) 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 (RETIRED) gentoo-dev 2017-12-02 05:40:37 UTC
Nothing else to do here.