Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282116 - kde-base/kdepim-3.5.9-r2 fail to compile with gcc 4.4.1
Summary: kde-base/kdepim-3.5.9-r2 fail to compile with gcc 4.4.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 15:56 UTC by Alexander Koryushkin
Modified: 2009-10-11 04:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kdepim 3.5.9 patch (gcc441-3.5.9.patch,532 bytes, patch)
2009-10-11 04:34 UTC, Anon Gentoo User
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Koryushkin 2009-08-20 15:56:05 UTC
Build error on files 'indexlib/memvector.tcc' and 'kmail/editorwatcher.cpp'.

Reproducible: Always

Steps to Reproduce:
1. gcc-config i686-pc-linux-gnu-4.4.1
2. emerge kdepim
Actual Results:  
...
Making all in indexlib
make[2]: Entering directory `/var/tmp/portage/kde-base/kdepim-3.5.9-r2/work/kdepim-3.5.9/indexlib'
/bin/sh ../libtool --silent --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=native -mtune=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -pipe -ftree-loop-distribution -maccumulate-outgoing-args -funroll-loops -fsection-anchors -fsee -ftracer -ftree-loop-im -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -include ./compat.h -fexceptions -c -o bitstream.lo bitstream.cpp
/bin/sh ../libtool --silent --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=native -mtune=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -pipe -ftree-loop-distribution -maccumulate-outgoing-args -funroll-loops -fsection-anchors -fsee -ftracer -ftree-loop-im -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -include ./compat.h -fexceptions -c -o compressed.lo compressed.cpp
cc1plus: warning: this target does not support '-fsection-anchors'
bitstream.cpp:1: warning: this target does not support '-fsection-anchors'
/bin/sh ../libtool --silent --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=native -mtune=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -pipe -ftree-loop-distribution -maccumulate-outgoing-args -funroll-loops -fsection-anchors -fsee -ftracer -ftree-loop-im -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -include ./compat.h -fexceptions -c -o create.lo create.cpp
cc1plus: warning: this target does not support '-fsection-anchors'
compressed.cpp:1: warning: this target does not support '-fsection-anchors'
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_algobase.h:68,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/char_traits.h:42,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/string:43,
                 from compressed.h:35,
                 from compressed.cpp:33:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<unsigned int>':
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator.h:96:   instantiated from 'std::reverse_iterator<unsigned int>'
memvector.tcc:36:   instantiated from 'void memvector< <template-parameter-1-1> >::resize(unsigned int) [with T = unsigned int]'
compressed.cpp:113:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator_base_types.h:127: error: 'unsigned int' is not a class, struct, or union type
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator_base_types.h:128: error: 'unsigned int' is not a class, struct, or union type
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator_base_types.h:129: error: 'unsigned int' is not a class, struct, or union type
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator_base_types.h:130: error: 'unsigned int' is not a class, struct, or union type
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/include/g++-v4/bits/stl_iterator_base_types.h:131: error: 'unsigned int' is not a class, struct, or union type
...


I found http://forum.kde.org.pl/viewtopic.php?pid=12881#p12881
This patch fix kdepim-3.5.10 and kdepim-3.5.9 too.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-08-21 02:17:30 UTC
Please test with KDE-3.5.10.
KDE-3.5 is on its way out of the tree and 3.5.10 is the only version that we're likely to patch.
Comment 2 Anon Gentoo User 2009-10-11 04:34:53 UTC
Created attachment 206728 [details, diff]
kdepim 3.5.9 patch

Attached patch for 3.5.9.  I believe 3.5.10 will need it as well, but I didn't see an ebuild for that yet...