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

Bug 612932

Summary: dev-qt/qtcore-5.7.1 - atomic_base.h:577:70: error: failure memory model cannot be stronger than success memory model for '__atomic_compare_exchange'
Product: Gentoo Linux Reporter: Matthew Millar <mattmill30>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Upstream patch

Description Matthew Millar 2017-03-17 16:53:48 UTC
To mitigate a build failure of qtcore 5.7.1 against GCC 4.8-4.9, an upstream patch needs to be included with qtcore-5.7.1-r1.ebuild

https://bugreports.qt.io/browse/QTBUG-59399
Comment 1 Matthew Millar 2017-03-17 16:56:31 UTC
Created attachment 467314 [details, diff]
Upstream patch
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2017-03-17 23:49:20 UTC
(In reply to Matthew Millar from comment #0)
> To mitigate a build failure of qtcore 5.7.1 against GCC 4.8-4.9, an upstream
> patch needs to be included with qtcore-5.7.1-r1.ebuild

qtcore builds against gcc-4.9.4 on my machine... where are you seeing this error? You have not attached a build log or your emerge --info

(In reply to Matthew Millar from comment #1)
> Created attachment 467314 [details, diff] [details, diff]
> Upstream patch

Was this patch committed upstream? If so, can you provide the git sha of the commit please?
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-12-22 13:00:39 UTC
Patch has landed in 5.9 and GCC 5 is stable