Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200971 - crossdev -t avr fails compiling avr-gcc
Summary: crossdev -t avr fails compiling avr-gcc
Status: RESOLVED DUPLICATE of bug 199924
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 02:37 UTC by Mark
Modified: 2007-12-02 09:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2007-12-02 02:37:56 UTC
While trying to setup a cross compiler for AVR, crossdev -t avr fails on gcc.
Here is the error I get:

echo '#define FLOAT_ONLY' >> fp-bit.c
_error_not_here_yet - havent even thought about it - it may even work
make[1]: _error_not_here_yet: Command not found
make[1]: *** [treelang.all.cross] Error 127
make[1]: *** Waiting for unfinished jobs....
echo '#define CMPtype QItype' >> fp-bit.c
echo '#define DF SF' >> fp-bit.c
echo '#define DI SI' >> fp-bit.c
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
echo timestamp > s-specs
echo '#define SMALL_MACHINE' >> fp-bit.c
echo 'typedef int QItype __attribute__ ((mode (QI)));' >> fp-bit.c
cat /var/tmp/cross/avr/portage/cross-avr/gcc-3.4.6/work/gcc-3.4.6/gcc/config/fp-bit.c >> fp-bit.c
/bin/sh /var/tmp/cross/avr/portage/cross-avr/gcc-3.4.6/work/gcc-3.4.6/gcc/move-if-change tmp-mlib.h multilib.h
echo timestamp > s-mlib
make[1]: Leaving directory `/var/tmp/cross/avr/portage/cross-avr/gcc-3.4.6/work/build/gcc'
make: *** [all-gcc] Error 2
 *
 * ERROR: cross-avr/gcc-3.4.6 failed.
 * Call stack:
 *               ebuild.sh, line   35:  Called src_compile
 *             environment, line 4581:  Called toolchain_src_compile
 *             environment, line 5063:  Called gcc_src_compile
 *             environment, line 2919:  Called gcc_do_make
 *             environment, line 2749:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/cross/avr/portage/cross-avr/gcc-3.4.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/avr/portage/cross-avr/gcc-3.4.6/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *


And here is my system info:

Portage 2.1.4_rc4 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.7-r0, 2.6.23-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Sat, 01 Dec 2007 18:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.3-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo  http://gentoo.chem.wisc.edu/gentoo http://mirror.datapipe.net/gentoo "
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 arts audiofile berkdb bindist bitmap-fonts bzip2 cairo cdaudio cddb cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran gd gdbm gif gimp gpm gstreamer gtk hal iconv imagemagick imlib isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mmxext mp3 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly offensive ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc sdl session smp spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode visualization vorbis xcomposite xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1. crossdev -t avr
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-02 09:09:14 UTC

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