Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 189493
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 178652
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: mirrorsh_gmail <mirrorsh@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 189493 depends on: Show dependency tree
Bug 189493 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-19 16:48 0000
I am running a hardened x86-64/athlon64/amd64 Gentoo system.  I am trying to
emerge qt-4.3.1. During the emerge gcc complains about some kind of bad
assembly constraints.  If I had a nickle for every time gcc complained about
its arcane inline assembly syntax.....

My CFLAGS and CXXFLAGS are '-O2 -pipe'

I am currently using the vanilla specs for gcc, just to try and get this qt
emerge working.

# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.6
 [2] x86_64-pc-linux-gnu-3.4.6-hardenednopie
 [3] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
 [4] x86_64-pc-linux-gnu-3.4.6-hardenednossp
 [5] x86_64-pc-linux-gnu-3.4.6-vanilla *

Actual results of emerge operation posted below...

gcc: 3.4.6-vanilla
glibc: 2.5-r4
kernel: 2.6.20-hardened-r2
binutils: 2.17

USE for qt: dbus gif jpeg opengl png qt3support ssl tiff zlib


Reproducible: Always

Steps to Reproduce:
Run a hardened amd64 system using the vanilla gcc specs and very minimal
CXXFLAGS (like '-O2 -pipe')

1. emerge -vn qt

Actual Results:  
g++ -c -O2 -pipe -O2 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_SHARED
-DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA
-DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I.
-I../../include/QtCore -I../../include/QtCore -I../../include
-I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src
-Idialogs -I.moc/release-shared -I/usr/include -I.uic/release-shared -o
.obj/release-shared/qdatetimeedit.o widgets/qdatetimeedit.cpp
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In member
function `virtual QRect
QStyleSheetStyle::subControlRect(QStyle::ComplexControl, const
QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error:
inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error:
inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error:
inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error:
inconsistent operand constraints in an `asm'
make[1]: *** [.obj/release-shared/qstylesheetstyle.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/x11-libs/qt-4.3.1/work/qt-x11-opensource-src-4.3.1/src/gui'
make: *** [sub-gui-all-ordered] Error 2

!!! ERROR: x11-libs/qt-4.3.1 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  qt-4.3.1.ebuild, line 224:   Called die


Expected Results:  
qt is compiled and emerged.

------- Comment #1 From Jakub Moc (RETIRED) 2007-08-19 16:49:47 0000 -------

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

------- Comment #2 From mirrorsh_gmail 2007-08-19 16:57:09 0000 -------
boy my searching skills are terrible.

anyway while I was submitting I re-emerged with CFLAGS='-pipe' and it worked.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug