Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 783463 - Build failure - internal compiler error: in tsubst, at cp/pt.c:11285
Summary: Build failure - internal compiler error: in tsubst, at cp/pt.c:11285
Keywords:
Status: CLOSED DUPLICATE of bug 783586
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-20 14:28 UTC by Jaroslav Reznik
Modified: 2012-01-21 00:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-21 00:02:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Reznik 2012-01-20 14:28:33 UTC
Description of problem: internal compiler error related to template substitution

[ 37%] Building CXX object kpimutils/CMakeFiles/kpimutils.dir/spellingfilter.o
cd /builddir/build/BUILD/kdepimlibs-4.8.0/x86_64-redhat-linux-gnu/kpimutils && /usr/bin/c++   -DMAKE_KPIMUTILS_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DKDE_DEFAULT_DEBUG_AREA=5321 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/builddir/build/BUILD/kdepimlibs-4.8.0/x86_64-redhat-linux-gnu/kpimutils -I/builddir/build/BUILD/kdepimlibs-4.8.0/kpimutils -I/builddir/build/BUILD/kdepimlibs-4.8.0 -I/builddir/build/BUILD/kdepimlibs-4.8.0/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/kdepimlibs-4.8.0/kpimutils/../kmime -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kpimutils.dir/spellingfilter.o -c /builddir/build/BUILD/kdepimlibs-4.8.0/kpimutils/spellingfilter.cpp
In file included from /usr/include/QtDBus/qdbusreply.h:52:0,
                 from /usr/include/QtDBus/qdbusconnectioninterface.h:48,
                 from /usr/include/QtDBus/QtDBus:8,
                 from /builddir/build/BUILD/kdepimlibs-4.8.0/x86_64-redhat-linux-gnu/akonadi/notificationsourceinterface.h:21,
                 from /builddir/build/BUILD/kdepimlibs-4.8.0/akonadi/changenotificationdependenciesfactory.cpp:22:
/usr/include/QtDBus/qdbuspendingreply.h: In substitution of 'template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8> template<int Index> const typename QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::Select::Type QDBusPendingReply::argumentAt() const [with int Index = <missing>; T1 = 0; T2 = <missing>; T3 = <missing>; T4 = <missing>; T5 = <missing>; T6 = <missing>; T7 = <missing>; T8 = <missing>]':
/usr/include/QtDBus/qdbuspendingreply.h:186:30:   required from 'QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::operator typename QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::Select<0>::Type() const [with T1 = QDBusObjectPath; T2 = void; T3 = void; T4 = void; T5 = void; T6 = void; T7 = void; T8 = void; typename QDBusPendingReply<T1, T2, T3, T4, T5, T6, T7, T8>::Select<0>::Type = QDBusObjectPath]'
/builddir/build/BUILD/kdepimlibs-4.8.0/akonadi/changenotificationdependenciesfactory.cpp:39:83:   required from here
/usr/include/QtDBus/qdbuspendingreply.h:170:40: internal compiler error: in tsubst, at cp/pt.c:11285
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

See the whole buildlog
http://koji.fedoraproject.org/koji/taskinfo?taskID=3717399

Version-Release number of selected component (if applicable):
4.7.0-0.8.fc17 

How reproducible:

Steps to Reproduce:
1. fedpkg clone kdepimlibs
2. fedpkg build
  
Actual results:
Compiler error

Expected results:
Build ;-)

Additional info:
It's known 4.7.97 (latest rc) built with gcc 4.7.0-0.2.fc17.

Comment 1 Jakub Jelinek 2012-01-20 14:41:09 UTC
Please attach the preprocessed source for this.

Comment 2 Jakub Jelinek 2012-01-21 00:02:07 UTC
Likely dup of #783586, eventhough for this I don't have a preprocessed testcase.  But the error is the same.

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


Note You need to log in before you can comment on or make changes to this bug.