Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107270 - crossdev fails to compile mipsel-linux-gnu target
Summary: crossdev fails to compile mipsel-linux-gnu target
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 04:14 UTC by Dmitriy
Modified: 2005-09-26 06:02 UTC (History)
1 user (show)

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


Attachments
you asked to attach (cross-mipsel-linux-gnu-info.log,2.79 KB, text/plain)
2005-09-26 04:30 UTC, Dmitriy
Details
binutils crossdev log (cross-mipsel-linux-gnu-binutils.log,6.02 KB, text/plain)
2005-09-26 04:30 UTC, Dmitriy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy 2005-09-26 04:14:17 UTC
crossdev failes to compile crosscompilator for mipsel-linux-gnu target. I get
this problem after crossdev -C mipsel-linux-gnu. Before that crossdev --target
mipsel-linux-gnu didnt generate C++ compiler:

after #crossdev --target mipsel-linux-gnu -s4 --gcc 3.3.4
build compleat  but:
toch@toch ~ $ mipsel-linux-gnu-gcc test.cpp 
mipsel-linux-gnu-gcc: test.cpp: C++ compiler not installed on this system


Reproducible: Always
Steps to Reproduce:
1.crossdev --target mipsel-linux-gnu


Actual Results:  
toch toch # cat /var/log/portage/cross-mipsel-linux-gnu-binutils.log
Calculating dependencies  >>> Unpacking source...
>>> Unpacking binutils-2.16.90.0.3.tar.bz2 to
/var/tmp/cross/mipsel-linux-gnu/portage/binutils-2.16.90.0.3/work
>>> Unpacking binutils-2.16.90.0.3-patches-1.3.tar.bz2 to
/var/tmp/cross/mipsel-linux-gnu/portage/binutils-2.16.90.0.3/work
>>> Unpacking binutils-2.16.90.0.3-uclibc-patches-1.0.tar.bz2 to
/var/tmp/cross/mipsel-linux-gnu/portage/binutils-2.16.90.0.3/work
 * Applying various patches (bugfixes/updates) ...
 *   02_all_binutils-2.15.92.0.2-ltconfig-multilib.patch ...              [ ok ]
 *   03_all_binutils-2.15.92.0.2-ppc64-pie.patch ...                      [ ok ]
 *   04_all_binutils-2.15.92.0.2-place-orphan.patch ...                   [ ok ]
 *   10_all_generate-pie-scripts.patch ...                                [ ok ]
 *   12_all_sh-targets.patch ...                                          [ ok ]
 *   40_all_118_arm_pass_all.patch ...                                    [ ok ]
 *   41_all_006_better_file_error.patch ...                               [ ok ]
 *   42_all_012_check_ldrunpath_length.patch ...                          [ ok ]
 *   61_all_binutils-001_libiberty-nolimits.patch ...                     [ ok ]
 *   63_all_binutils-2.16.90.0.1-pt-pax-flags-200504110000.patch ...      [ ok ]
 *   66_all_binutils-2.16.90.0.3-warn-textrel.patch ...                   [ ok ]
 *   72_all_skip-comments.patch ...                                       [ ok ]
 *   76_all_use-new-ld-dtags.patch ...                                    [ ok ]
 *   80_all_binutils-2.15.96-arm-maxpagesize.patch ...                    [ ok ]
 *   81_all_binutils-2.16.90.0.3-bfd-sanity-checks.patch ...              [ ok ]
 *   81_all_binutils-2.16-readelf-ptr.patch ...                           [ ok ]
 *   91_all_libiberty-pic.patch ...                                       [ ok ]
 * Done with patching
 * Applying uClibc fixes ...
 *   52_all_binutils-20050411-uclibc-100-conf.patch.bz2 ...               [ ok ]
 * Done with patching
 * Using GNU config files from /usr/share/libtool
 *   Updating config.sub                                                  [ ok ]
 *   Updating config.guess                                                [ ok ]
 * Running elibtoolize in: binutils-2.16.90.0.3
 *   Applying portage-1.4.0.patch ...
 *   Applying relink-1.4.0a-GCC3.0-2.patch ...
 *   Applying sed-1.4.0.patch ...
 *   Applying tmp-1.3.5.patch ...
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --target=mipsel-linux-gnu
--datadir=/usr/share/binutils-data/mipsel-linux-gnu/2.16.90.0.3
--infodir=/usr/share/binutils-data/mipsel-linux-gnu/2.16.90.0.3/info
--mandir=/usr/share/binutils-data/mipsel-linux-gnu/2.16.90.0.3/man
--bindir=/usr/mipsel-linux-gnu/binutils-bin/2.16.90.0.3
--libdir=/usr/lib/binutils/mipsel-linux-gnu/2.16.90.0.3
--libexecdir=/usr/lib/binutils/mipsel-linux-gnu/2.16.90.0.3
--includedir=/usr/lib/binutils/mipsel-linux-gnu/2.16.90.0.3/include
--enable-64-bit-bfd --enable-shared --disable-werror --without-included-gettext
--build=i686-pc-linux-gnu
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... mipsel-unknown-linux-gnu
checking build system type... i686-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 -pipe -O2 -march=pentium4 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.

Expected Results:  
It should generate me a crosscompiler as it done before. :)

toch toch # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.2, glibc-2.3.5-r1,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
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.6
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="-ftracer -pipe -O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-ftracer -pipe -O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm avi bitmap-fonts crypt eds emboss encode examples fam foomaticdb
fortran gif gpm gstreamer gtk2 imlib jpeg libg++ libwww mad mbox mikmod mmap
motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png
posix python qt quicktime readline sdl softmmu spell sse ssl tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb vorbis x86 xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Dmitriy 2005-09-26 04:30:08 UTC
Created attachment 69258 [details]
you asked to attach

crossdev info log
Comment 2 Dmitriy 2005-09-26 04:30:58 UTC
Created attachment 69259 [details]
binutils crossdev log

Strange problem. Not sure that my gcc cant build binary...
Comment 3 SpanKY gentoo-dev 2005-09-26 06:02:52 UTC
sync up, run `crossdev -C mipsel-linux-gnu`, and then `crossdev mipsel-linux-gnu`