This report is related to the bug #135268 I've found a tendency, namely that problem may be somehow related to the icalparser.c or icalparameter.c source file. Can't say much more about it. Here's the error, I'll attach the preprocessed source as well: /bin/sh ../../../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../libkcal/libical -I../../../../libkcal/libical/src -I../../../../libkcal/libical/src -I. -DPACKAGE_DATA_DIR=\""/usr/kde/3.5/share/apps/libical"\" -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O2 -march=k8 -pipe -Wformat-security -Wmissing-format-attribute -c -o icalparser.lo `test -f 'icalparser.c' || echo './'`icalparser.c icalparameter.c:50: warning: no previous prototype for 'icalparameter_new_impl' icalparameter.c:370: warning: no previous prototype for 'icalparameter_set_parent' icalparameter.c:377: warning: no previous prototype for 'icalparameter_get_parent' /usr/bin/perl -I./../../scripts ./../../scripts/mkderivedproperties.pl \ -i ./icalderivedproperty.c.in -c ./../../design-data/properties.csv \ ./../../design-data/value-types.csv > icalderivedproperty.c || rm -f icalderivedproperty.c /bin/sh ../../../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../libkcal/libical -I../../../../libkcal/libical/src -I../../../../libkcal/libical/src -I. -DPACKAGE_DATA_DIR=\""/usr/kde/3.5/share/apps/libical"\" -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O2 -march=k8 -pipe -Wformat-security -Wmissing-format-attribute -c -o icalproperty.lo `test -f 'icalproperty.c' || echo './'`icalproperty.c icalparser.c: In function 'make_segment': icalparser.c:195: warning: implicit declaration of function 'isspace' icalparser.c: At top level: icalparser.c:259: warning: no previous prototype for 'icalparser_get_next_paramvalue' icalparser.c: In function 'icalparser_add_line': icalparser.c:654: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:685: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:693: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:782: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:819: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:841: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:850: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:874: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type icalparser.c:930: warning: declaration of 'prop_kind' shadows a previous local icalparser.c:621: warning: shadowed declaration is here icalparser.c:958: warning: declaration of 'prop_kind' shadows a previous local icalparser.c:621: warning: shadowed declaration is here icalparser.c: In function 'icalparser_clean': icalparser.c:1017: warning: passing argument 2 of 'insert_error' discards qualifiers from pointer target type icalparser.c:1017: warning: passing argument 3 of 'insert_error' discards qualifiers from pointer target type /bin/sh ../../../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../libkcal/libical -I../../../../libkcal/libical/src -I../../../../libkcal/libical/src -I. -DPACKAGE_DATA_DIR=\""/usr/kde/3.5/share/apps/libical"\" -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O2 -march=k8 -pipe -Wformat-security -Wmissing-format-attribute -c -o icaltime.lo `test -f 'icaltime.c' || echo './'`icaltime.c icalproperty.c:96: warning: no previous prototype for 'icalproperty_new_impl' icalproperty.c:941: warning: no previous prototype for 'icalproperty_get_name' icalproperty.c:986: warning: no previous prototype for 'icalproperty_set_parent' icalproperty.c:993: warning: no previous prototype for 'icalproperty_get_parent' icalproperty.c: In function 'icalproperty_as_ical_string': icalproperty.c:514: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/kaddressbook-3.5.3/temp/ccGjWumo.out file, please attach this to your bugreport. make[5]: *** [icalproperty.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... icaltime.c: In function 'icaltime_as_timet_with_zone': icaltime.c:289: warning: passing argument 2 of 'icaltime_convert_to_zone' discards qualifiers from pointer target type icaltime.c: In function 'icaltime_as_ical_string': icaltime.c:322: warning: assignment discards qualifiers from pointer target type icaltime.c:324: warning: assignment discards qualifiers from pointer target type icaltime.c: At top level: icaltime.c:414: warning: no previous prototype for 'icaltime_is_leap_year' icaltime.c: In function 'icaltime_convert_to_zone': icaltime.c:856: warning: passing argument 2 of 'icaltimezone_convert_time' discards qualifiers from pointer target type icaltime.c: In function 'icaltime_get_tzid': icaltime.c:879: warning: passing argument 1 of 'icaltimezone_get_tzid' discards qualifiers from pointer target type make[5]: Leaving directory `/var/tmp/portage/kaddressbook-3.5.3/work/kaddressbook-3.5.3/libkcal/libical/src/libical' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kaddressbook-3.5.3/work/kaddressbook-3.5.3/libkcal/libical/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kaddressbook-3.5.3/work/kaddressbook-3.5.3/libkcal/libical' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kaddressbook-3.5.3/work/kaddressbook-3.5.3/libkcal' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kaddressbook-3.5.3/work/kaddressbook-3.5.3' make: *** [all] Error 2 !!! ERROR: kde-base/kaddressbook-3.5.3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile kaddressbook-3.5.3.ebuild, line 53: Called kde-meta_src_compile 'make' kde-meta.eclass, line 408: Called kde_src_compile 'make' kde.eclass, line 275: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 88185 [details] preprocessed source
Created attachment 88187 [details] emerge --info Just in case.
Additional info: Compiling kopete-3.5.3 with gcc-4.1.1 also resulted in segmentation fault, so I've downgraded compiler to the gcc-4.1.0-r1 version and kaddressbook-3.5.3 package has already compiled cleanly. So far, so good. I'm changing the Component for this bug to "GCC Porting". Because the issue (newest compiler segfaulting) doesn't look like a KDE problem, since gcc-4.1.0 works pretty well in this regard.
The problem vanished after correctly upgrading the toolchain. See comment no. 5 of the Bug #135268 for more information. *** This bug has been marked as a duplicate of 135268 ***