Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165055 - crossdev-0.9.17-r2 target bfin linux-headers fails
Summary: crossdev-0.9.17-r2 target bfin linux-headers fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 22:13 UTC by Martin Gramatke
Modified: 2007-02-03 01:33 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 Martin Gramatke 2007-02-02 22:13:21 UTC
crossdev fails while building the linux-headers. I tried
crossdev -t bfin
crossdev --k 2.6.16 -t bfin 
crossdev --k 2.6.11 -t bfin
and 
crossdev --k 2.6.8 -t bfin 
but they all failed. The second log file looks intersting, but i don't understand how to handle the given advice. Please see below.
BTW is the target bfin correct? Because crossdev --help says Target (-t):   takes the form: ARCH-VENDOR-OS-LIBC. 


# crossdev -t bfin
------------------------------------------------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   x86
 * Target System:         bfin-elf
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  uclibc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/bfin-elf
 * PORTAGE_TMPDIR:        /var/tmp/cross/bfin-elf
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -
 * Forcing the latest versions of binutils-config/gcc-config ...                                                                                      [ ok ]
 * Log: /var/log/portage/cross-bfin-elf-binutils.log
 * Emerging cross-binutils ...                                                                                                                        [ ok ]
 * Log: /var/log/portage/cross-bfin-elf-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                                                                                                      [ ok ]
 * Log: /var/log/portage/cross-bfin-elf-linux-headers.log
 * Emerging cross-linux-headers ...

 * linux-headers failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-bfin-elf-info.log
 * /var/log/portage/cross-bfin-elf-linux-headers.log

# tail /var/log/portage/cross-bfin-elf-info.log
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VDR_OPTS="lirc"
VIDEO_CARDS="fbdev nv nvidia vesa vga"
VMHANDLE="sun-jdk-1.4"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthmQwGtO"
_="/usr/bin/emerge"

# cat /var/log/portage/cross-bfin-elf-linux-headers.log
Calculating dependencies
 * This version of linux-headers does not support bfin.
 * Please merge the appropriate sources, in most cases
 * (but not all) this will be called bfin-headers.

!!! ERROR: cross-bfin-elf/linux-headers-2.6.19.2-r2 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  ebuild.sh, line 1255:   Called kernel-2_pkg_setup
  kernel-2.eclass, line 1071:   Called setup_headers
  kernel-2.eclass, line 689:   Called die

!!! Package unsupported for bfin
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
... done!

>>> Emerging (1 of 1) cross-bfin-elf/linux-headers-2.6.19.2-r2 to /
 * gentoo-headers-2.6.19.2-3.tar.bz2 MD5 ;-) ...                                                                                                      [ ok ]
 * gentoo-headers-2.6.19.2-3.tar.bz2 RMD160 ;-) ...                                                                                                   [ ok ]
 * gentoo-headers-2.6.19.2-3.tar.bz2 SHA1 ;-) ...                                                                                                     [ ok ]
 * gentoo-headers-2.6.19.2-3.tar.bz2 SHA256 ;-) ...                                                                                                   [ ok ]
 * gentoo-headers-2.6.19.2-3.tar.bz2 size ;-) ...                                                                                                     [ ok ]
 * gentoo-headers-base-2.6.19.2.tar.bz2 MD5 ;-) ...                                                                                                   [ ok ]
 * gentoo-headers-base-2.6.19.2.tar.bz2 RMD160 ;-) ...                                                                                                [ ok ]
 * gentoo-headers-base-2.6.19.2.tar.bz2 SHA1 ;-) ...                                                                                                  [ ok ]
 * gentoo-headers-base-2.6.19.2.tar.bz2 SHA256 ;-) ...                                                                                                [ ok ]
 * gentoo-headers-base-2.6.19.2.tar.bz2 size ;-) ...                                                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * checking gentoo-headers-base-2.6.19.2.tar.bz2 ;-) ...                                                                                              [ ok ]
 * checking gentoo-headers-2.6.19.2-3.tar.bz2 ;-) ... 


Reproducible: Always

Steps to Reproduce:
1. crossdev -t bfin
Comment 1 SpanKY gentoo-dev 2007-02-03 01:31:55 UTC
blackfin isnt merged into mainline kernel yet

use the prebuilt toolchains (sys-devel/bfin-toolchain) or visit http://blackfin.uclinux.org/