Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
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.
*** This bug has been marked as a duplicate of bug 178652 ***
boy my searching skills are terrible. anyway while I was submitting I re-emerged with CFLAGS='-pipe' and it worked.