Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103290 - crossdev -t alpha-unknown-linux-gnu failes to emerge gcc
Summary: crossdev -t alpha-unknown-linux-gnu failes to emerge gcc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-21 15:48 UTC by miolinux
Modified: 2005-08-23 15:28 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 miolinux 2005-08-21 15:48:11 UTC
crossdev -t alpha-unknown-linux-gnu
emerge correctly binutils but when trying to emerge gcc fails because:

The directory that should contain system headers does not exist:
  /usr/alpha-unknown-linux-gnu/usr/include
make[1]: *** [stmp-fixinc] Error 1

but obviously headers can't be emerged without alpha-gcc:

make: alpha-unknown-linux-gnu-gcc: Command not found
  CC      scripts/mod/empty.o
/bin/sh: alpha-unknown-linux-gnu-gcc: command not found
make[2]: *** [scripts/mod/empty.o] Error 127


i tried also the howto method but got same problem :/


Reproducible: Always
Steps to Reproduce:
1. crossdev -t alpha-unknown-linux-gnu
2.
3.

Actual Results:  
it fails to build cross-alpha-unknown-linux-gnu/gcc

Expected Results:  
emerge binutils,gcc,linux-headers,glibc

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
r1, 2.6.11.10-r1 i686)
=================================================================
System uname: 2.6.11.10-r1 i686 Pentium III (Katmai)
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ 
http://darkstar.ist.utl.pt/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aalib acpi apache2 bash-completion berkdb bitmap-fonts bzlib cdr crypt doc 
eds emboss exif fbcon ftp gd gif gpm icq innodb jpeg lm_sensors mad memlimit mim
e mmx mysql ncurses nls nptl nptlonly offensive pam perl php png posix python re
adline samba sdl shared sockets spell sse ssl svg sysvipc tiff truetype truetype
-fonts type1-fonts unicode usb vhosts vorbis x86 xml xml2 xpm zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-08-22 05:57:16 UTC
if you were running an unstable system, it would prob work
Comment 2 miolinux 2005-08-22 06:29:41 UTC
can you tell me please wich version of binutils,gcc,linux-headers,glibc crossdev
emerged for you?

and maybe the version of your host binutils,gcc?

thx, i will try to build on some other computer and report.
Comment 3 SpanKY gentoo-dev 2005-08-23 05:57:54 UTC
host amd64: binutils 2.16.1 / gcc 3.4.4 / glibc 2.3.5 / gcc-config 1.3.12-r2
target alpha: binutils 2.16.1 / gcc 3.4.4 / glibc 2.3.5
Comment 4 miolinux 2005-08-23 15:28:38 UTC
Hi, thx for the version, i resolved the problem. (Even if i don't know how)

Seems like that an emerge -av glib (host glibc) before launching crossdev
command solved the issue.

Really strange (since no use-flags or cflags where modified, just only
re-emerged the package).

thx