A patch is available here: http://www.linuxfromscratch.org/patches/blfs/svn/qt-everywhere-opensource-src-4.8.1-gcc_fix-1.patch Reproducible: Always Portage 2.2.0_alpha93 (default/linux/amd64/10.0/desktop, gcc-4.7.0-pre9999, glibc-2.14.1-r2, 3.3.1-gentoo.rivendell x86_64) ================================================================= System uname: Linux-3.3.1-gentoo.rivendell-x86_64-Intel-R-_Xeon-R-_CPU_X5482_@_3.20GHz-with-gentoo-2.1 Timestamp of tree: Thu, 12 Apr 2012 01:15:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p24 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.7.0_pre9999::toolchain sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.3 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2
Add gcc 4.7 blocker.
Patch available upstream as well http://qt.gitorious.org/qt/qt/commit/7ac8d8597db1f58b11338f91fb27f6ad8696b34b
The patch is for JavaScriptCore, so I guess x11-libs/qt-webkit is affected as well..
(In reply to comment #3) > The patch is for JavaScriptCore, so I guess x11-libs/qt-webkit is affected > as well.. Yes definitely. Personally, I'd rather avoid patching qt-webkit/qt-core once again and wait for Qt-4.8.2. GCC-4.7 porting is not an urgent issue
Well, we can add the patch without revbumping, since it's just a build issue.
(In reply to comment #3) > The patch is for JavaScriptCore, so I guess x11-libs/qt-webkit is affected > as well.. No, I was wrong. qt-webkit uses src/3rdparty/webkit/Source/JavaScriptCore, which has very different code (more recent I think), thus the patch doesn't apply to qt-webkit.
Committed, thanks for reporting.