| Summary: | sys-devel/gcc-4.4.2 fails to compile on armv5tel | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marcel Klein <marcel> |
| Component: | [OLD] GCC Porting | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | arm |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | complete build log | ||
Created attachment 211506 [details]
complete build log
switch to a different gcc version temporarily to upgrade to 4.4.2 or force lower CFLAGS temporarily *** This bug has been marked as a duplicate of bug 286251 *** |
I tried to update my gcc version from gcc-4.4.1 to gcc-4.4.2 but after some compile time it fails. -- checking whether ln -s works... yes checking for armv5tel-softfloat-linux-gnueabi-gcc... /var/tmp/portage/sys-devel/gcc-4.4.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.2/work/build/./gcc/ -B/usr/armv5tel-softfloat-linux-gnueabi/bin/ -B/usr/armv5tel-softfloat-linux-gnueabi/lib/ -isystem /usr/armv5tel-softfloat-linux-gnueabi/include -isystem /usr/armv5tel-softfloat-linux-gnueabi/sys-include checking for suffix of object files... configure: error: in `/var/tmp/portage/sys-devel/gcc-4.4.2/work/build/armv5tel-softfloat-linux-gnueabi/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.2/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.2/work/build' make: *** [bootstrap-lean] Error 2 * ERROR: sys-devel/gcc-4.4.2 failed: * emake failed with bootstrap-lean * * Call stack: * ebuild.sh, line 55: Called src_compile * environment, line 4955: Called toolchain_src_compile * environment, line 5481: Called gcc_src_compile * environment, line 3147: Called gcc_do_make * environment, line 2937: Called die * The specific snippet of code: * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * -- Reproducible: Always Steps to Reproduce: emerge -pqv =sys-devel/gcc-4.4.2: [ebuild U ] sys-devel/gcc-4.4.2 [4.4.1] USE="nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -graphite -gtk (-hardened) -ip28 -ip32r10k (-libffi) -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla" emerge --info =sys-devel/gcc-4.4.2: Portage 2.1.7.7 (default/linux/arm/10.0, gcc-4.4.1, glibc-2.10.1-r1, 2.6.32-rc2-00001-g842b89e armv5tel) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-rc2-00001-g842b89e-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.0.1 Timestamp of tree: Sat, 28 Nov 2009 14:30:24 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4, 3.1.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.64 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv5tel-softfloat-linux-gnueabi" CFLAGS="-Os -march=armv5te -pipe -fomit-frame-pointer" CHOST="armv5tel-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=armv5te -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests autoconfig distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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/layman/mpd /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip acl acpi alsa arm berkdb bri bzip2 cgi chroot cli cracklib crypt crypto cscope cue curl exif f77 fbcon fftw flac gd gdbm git gmp gnutls iconv ipv6 jpeg modules mudflap ncurses nptl nptlonly ogg openmp openntpd pam pcre perl png python readline reflection samba session socks5 softmmu spell spl sqlite ssl subversion svg sysfs tcpd threads truetype unicode userlocales vim-syntax vorbis wavpack xattr xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident vga voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS