When trying to emerge kdebase-startkde (or e.g. kdm) one dependency is kcontrol-3.5.9 While compiling (i686-pc-linux-gnu-4.2.3) this error occours: /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../i686-pc-linux-gnu/bin/ld:.libs/colorscm.o: file format not recognized; treating as linker script /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../i686-pc-linux-gnu/bin/ld:.libs/colorscm.o:1: syntax error collect2: ld returned 1 exit status make[3]: *** [kcm_colors.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kde-base/kcontrol-3.5.9/work/kcontrol-3.5.9/kcontrol/colors' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-base/kcontrol-3.5.9/work/kcontrol-3.5.9/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-base/kcontrol-3.5.9/work/kcontrol-3.5.9' make: *** [all] Error 2 * * ERROR: kde-base/kcontrol-3.5.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4349: Called kde-meta_src_compile * environment, line 2908: Called kde_src_compile * environment, line 3073: Called kde_src_compile 'src_compile' * environment, line 3194: Called kde_src_compile 'src_compile' 'all' 'myconf' * environment, line 3190: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make * * If you need support, post the topmost build error, and the call stack if relevant. Reproducible: Always Steps to Reproduce: 1.emerge kde-base/kcontrol (with i686-pc-linux-gnu-4.2.3) Actual Results: always the same error Expected Results: build kcontrol
Please attach the complete log, your emerge --info and the output of "emerge -pv kcontrol:3.5".
Created attachment 144938 [details] build.log of kcontrol-3.5.9
#emerge -pv kcontrol:3.5 Calculating dependencies... done! [ebuild NS ] kde-base/kcontrol-3.5.9 USE="opengl -arts -debug -ieee1394 -joystick -kdeenablefinal -kdehiddenvisibility -logitech-mouse -xinerama" 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB #emerge --info Portage 2.1.4.4 (default-linux/x86, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 i686) ================================================================= System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Fri, 29 Feb 2008 07:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ " LANG="de_DE@euro" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 ace aim alsa apache2 bitmap-fonts bzip2 chipcard cli compress cracklib crypt ctype cups dba dbus divx dri dvd dvdr dvdread emacs encode exif firefox flac foomaticdb fortran gd gif gimp gtk gtk+ hal hbci iconv icq id3tag imagemagick ipv6 isdnlog jabber java jpeg kde lm_sensors madwifi math midi mjpeg mng mp3 mudflap mysql ncurses nls nptl nsplugin nv ogg oggvorbis opengl openmp pam pcre pdf perl php png ppds pppd python qt qt3support quicktime rar readline realmedia reflection scanner session shout skins slang spl ssl svg svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd wifi win32codecs wmf x86 xml xorg xv xvid zip zlib" ALSA_CARDS="ali5451" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Now I've tried to downgrade to kcontrol-3.5.8-r1 and the same error with the same message occours.
gcc-4.2.3 was the problem. After downgrading to gcc-4.2.2 kcontrol-3.5.9 compiled
*** This bug has been marked as a duplicate of bug 64615 ***