Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136105 - crossdev-0.9.15 : crossdev -t avr fails on avr-libc
Summary: crossdev-0.9.15 : crossdev -t avr fails on avr-libc
Status: RESOLVED INVALID
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: 2006-06-08 12:10 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-06-08 12:22 UTC (History)
1 user (show)

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


Attachments
cross-avr-info (cross-avr-info.log,4.56 KB, text/plain)
2006-06-08 12:12 UTC, Sandro Bonazzola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2006-06-08 12:10:06 UTC
# crossdev -t avr
--------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   amd64
 * Target System:         avr
 * Stage:                 3 (C compiler & libc)

 * binutils:              binutils-2.16.1-r2
 * gcc:                   gcc-3.4.6
 * libc:                  avr-libc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/overlays/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /home/ftp/packages/cross/avr
 * PORTAGE_TMPDIR:        /var/tmp/cross/avr
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Forcing the latest versions of binutils-config/gcc-config ...          [ ok ]
 * Log: /var/log/portage/cross-avr-binutils.log
 * Emerging cross-binutils ...                                            [ ok ]
 * Log: /var/log/portage/cross-avr-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                          [ ok ]
 * Log: /var/log/portage/cross-avr-avr-libc.log
 * Emerging cross-avr-libc ...

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

The log files will be attached in a few minutes.

As reported erroneously in bug# 134738:

Step to obtain a avr-libc emerge success:

crossdev -t avr

building binutils, gcc and then failing avr-libc.

use gcc-config to set avr-3.4.6/vanilla

crossdev -t avr

here you have avr-libc emerged.

It's simply a PATH issue, avr-libc can't find avr-gcc in the PATH, so it fall
back on gcc that fails to produce objects for --target=avr.
Comment 1 Sandro Bonazzola (RETIRED) gentoo-dev 2006-06-08 12:12:01 UTC
Created attachment 88708 [details]
cross-avr-info
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2006-06-08 12:18:14 UTC
I've found the cause of the missing gcc-avr in the path, It was the lack of eselect-compiler in a fresh system built from stage1. Sorry.