Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118208 - crossdev --target avr fails trying to build toolchain for avr-1
Summary: crossdev --target avr fails trying to build toolchain for avr-1
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-07 11:19 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-01-08 10:55 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 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-07 11:19:34 UTC
The previous version of crossdev doesn't add -1 to avr as target system.



crossdev --target avr
---------------------------------------------------------------------------------------------------------------------------------------------------------------- * Host Portage ARCH:     amd64
 * Target Portage ARCH:   amd64
 * Target System:         avr-1
 * Stage:                 3 (C compiler & libc)

 * binutils:              binutils-2.16.1
 * gcc:                   gcc-3.4.4-r1
 * libc:                  avr-libc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/avr-1
 * PORTAGE_TMPDIR:        /var/tmp/cross/avr-1
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _
 * Log: /var/log/portage/cross-avr-1-binutils.log
 * Emerging cross-binutils ...

 * binutils failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-avr-1-info.log
 * /var/log/portage/cross-avr-1-binutils.log


cross-avr-1-info.log:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   amd64
 * Target System:         avr-1
 * Stage:                 3 (C compiler & libc)

 * binutils:              binutils-2.16.1
 * gcc:                   gcc-3.4.4-r1
 * libc:                  avr-libc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/avr-1
 * PORTAGE_TMPDIR:        /var/tmp/cross/avr-1
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~
Gentoo Base System version 1.12.0_pre13
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bi
nd /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect confcache cvs distlocks elog multilib-strict parallel-fetching sandbox sfperms strict stricter test userpriv"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pu
b/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mir
ror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/usr/portage/packages/cross/avr-1"
PORTAGE_TMPDIR="/var/tmp/cross/avr-1"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas cdb cdparanoia cdr chroot cpudetection crypt cups curl dba dbu
s directfb dlloader dri dts dv dvd dvdr dynagraph emboss encode erandom esd exif expat fam ffmpeg firefox flac foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gno
me gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal idn ieee1394 imagemagick imlib ipv6 ithreads java jbig jikes jpeg jpeg2k junit justify kde kdeenablefinal lcms ldap li
bcaca libwww linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mbox mdb mhash mikmod mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mys
ql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg openal openexr opengl oss pam pcre pcsc-lite pdflib perl php png ppds python qt quicktime readline rtc samba scanne
r sdl slang smp snmp speex spell ssl subversion svg sysfs tcltk tcpd test tetex tga theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userlocales
utf8 vcd vda vorbis wmf xine xinerama xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS



cross-avr-1-binutils.log:
Calculating dependencies  >>> Unpacking source...
>>> Unpacking binutils-2.16.1.tar.bz2 to /var/tmp/cross/avr-1/portage/binutils-2.16.1/work
>>> Unpacking binutils-2.16.1-patches-1.5.tar.bz2 to /var/tmp/cross/avr-1/portage/binutils-2.16.1/work
>>> Unpacking binutils-2.16.1-uclibc-patches-1.0.tar.bz2 to /var/tmp/cross/avr-1/portage/binutils-2.16.1/work
 [32;01m*[0m Applying various patches (bugfixes/updates) ...
 [32;01m*[0m   02_all_binutils-2.15.92.0.2-ltconfig-multilib.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   02_all_binutils-2.16.1-cross-multi-libsuffix.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   03_all_binutils-2.15.92.0.2-ppc64-pie.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   04_all_binutils-2.15.92.0.2-place-orphan.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   05_all_binutils-2.16-arm-updates.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   06_all_bintuils-head-mips-trim-page-alignment-bloat.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   10_all_generate-pie-scripts.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   11_all_sh-flags-off-by-one.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   12_all_sh-targets.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   40_all_118_arm_pass_all.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   41_all_006_better_file_error.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   42_all_012_check_ldrunpath_length.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   53_all_binutils-avr-dollar-sign-in-symbol.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   54_all_binutils-avr-new-devices.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   61_all_binutils-001_libiberty-nolimits.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   63_all_binutils-2.16.1-pt-pax-flags-20051005.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   65_all_binutils-2.14.amd64-32bit-path-fix-after-relro.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   66_all_binutils-2.16-warn-textrel.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   72_all_skip-comments.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   76_all_use-new-ld-dtags.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   80_all_binutils-2.15.96-arm-maxpagesize.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   81_all_binutils-2.16-readelf-ptr.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   91_all_libiberty-pic.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Done with patching
 [32;01m*[0m Applying uClibc fixes ...
 [32;01m*[0m   40_all_binutils-2.16-branch-all-libcs.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   52_all_binutils-20050411-uclibc-100-conf.patch ...
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Done with patching
 [32;01m*[0m Using GNU config files from /usr/share/libtool
 [32;01m*[0m   Updating config.sub
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   Updating config.guess
[A[171G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running elibtoolize in: binutils-2.16.1
 [32;01m*[0m   Applying portage-1.4.0.patch ...
 [32;01m*[0m   Applying relink-1.4.0a-GCC3.0-2.patch ...
 [32;01m*[0m   Applying sed-1.4.0.patch ...
 [32;01m*[0m   Applying tmp-1.3.5.patch ...
 [33;01m*[0m Sorry, but binutils does not support the it LINGUA
>>> Source unpacked.
>>> Compiling source in /var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1 ...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --target=avr-1 --datadir=/usr/share/binutils-data/avr-1/2.16.1 --infodir=/usr/share/binutils-data/avr-1/2.16.1/info --mandir=/usr/share/binutils-data/avr-1/2.16.1/man --bindir=/usr/avr-1/binutils-bin/2.16.1 --libdir=/usr/lib/binutils/avr-1/2.16.1 --libexecdir=/usr/lib/binutils/avr-1/2.16.1 --includedir=/usr/lib/binutils/avr-1/2.16.1/include --enable-64-bit-bfd --enable-shared --disable-werror --without-included-gettext --build=x86_64-pc-linux-gnu
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... Invalid configuration `avr-1': system `1' not recognized

checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon64 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon64 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... no
checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-as... x86_64-pc-linux-gnu-as
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for x86_64-pc-linux-gnu-ld... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld
checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... windres
checking for x86_64-pc-linux-gnu-objcopy... x86_64-pc-linux-gnu-objcopy
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking for avr-1-ar... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4289: test: x86_64-pc-linux-gnu: unary operator expected
checking for avr-1-as... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4361: test: x86_64-pc-linux-gnu: unary operator expected
checking for avr-1-dlltool... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4433: test: x86_64-pc-linux-gnu: unary operator expected
checking for avr-1-ld... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4505: test: x86_64-pc-linux-gnu: unary operator expected
checking for avr-1-nm... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4577: test: x86_64-pc-linux-gnu: unary operator expected
checking for avr-1-ranlib... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4649: test: x86_64-pc-linux-gnu: unary operator expected
checking for avr-1-windres... no
/var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/configure: line 4721: test: x86_64-pc-linux-gnu: unary operator expected
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
mkdir -p -- ./libiberty
Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /bin/install -c
Appending /var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/libiberty/../config/mh-x86pic to xhost-mkfrag
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for int... yes
checking size of int... 4
checking for uintptr_t... yes
checking for a 64-bit type... uint64_t
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... yes
checking for stpcpy... yes
checking for stpncpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
mkdir -p -- ./bfd
Configuring in bfd
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... Invalid configuration `avr-1': system `1' not recognized
configure: error: /bin/sh /var/tmp/cross/avr-1/portage/binutils-2.16.1/work/binutils-2.16.1/bfd/../config.sub avr-1 failed
make: *** [configure-bfd] Error 1

!!! ERROR: cross-avr-1/binutils-2.16.1 failed.
!!! Function toolchain-binutils_src_compile, Line 168, Exitcode 2
!!! make configure-bfd failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 SpanKY gentoo-dev 2006-01-07 19:00:30 UTC
typo in the source code, fixed in 0.9.11-r1
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-08 10:55:27 UTC
verified, ok. Closing.