Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213038 - qt4 fails to compile on amd64
Summary: qt4 fails to compile on amd64
Status: RESOLVED DUPLICATE of bug 178652
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 14:02 UTC by Kevin Cody Jr.
Modified: 2008-03-11 14:10 UTC (History)
0 users

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 Kevin Cody Jr. 2008-03-11 14:02:22 UTC
qatomic_x86_64.h

Line 125 in qt-4.3.4, nearby in other versions

error: inconsistent operand constraints in an `asm'

Similar issue in FreeBSD: http://www.freebsd.org/cgi/query-pr.cgi?pr=114734

As suggested in that thread, their patch therein, the fix is to compile with '-fno-gcse'.

I'd suggest an append-flags, sensitive to amd64, in the ebuild.



Reproducible: Always

Steps to Reproduce:
1. emerge qt, OR
2. ACCEPT_KEYWORDS="~amd64" emerge qt
3.

Actual Results:  
error: inconsistent operand constraints in an `asm'

Expected Results:  
successful build

http://www.freebsd.org/cgi/query-pr.cgi?pr=114734
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-03-11 14:10:13 UTC

*** This bug has been marked as a duplicate of bug 178652 ***