Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: "Vladimir Pouzanov" <farcaller@...>
Subject: cross-compile readline
Date: Sun, 22 Oct 2006 15:24:57 +0300
Hi all,

I can't cross-compile readline for arm (arm-softfloat-linux-gnu):
>>> Emerging (1 of 4) sys-libs/readline-5.2 to /usr/arm-softfloat-linux-gnu/
 * readline-5.2.tar.gz MD5 ;-) ... [ ok ]
 * readline-5.2.tar.gz RMD160 ;-) ... [ ok ]
 * readline-5.2.tar.gz SHA1 ;-) ...   [ ok ]
 * readline-5.2.tar.gz SHA256 ;-) ...  [ ok ]
 * readline-5.2.tar.gz size ;-) ...  [ ok ]
>>> Unpacking source...
>>> Unpacking readline-5.2.tar.gz to /var/tmp/portage/sys-libs/readline-5.2/work
 * Applying readline-5.0-no_rpath.patch ...  [ ok ]
 * Applying readline-5.2-rlfe-build.patch ...  [ ok ]
 * Applying readline-5.1-rlfe-uclibc.patch ...   [ ok ]
 * Applying readline-5.1-fbsd-pic.patch ...  [ ok ]
>>> Source unpacked.
>>> Compiling source in
/var/tmp/portage/sys-libs/readline-5.2/work/readline-5.2 ...
 * econf: updating readline-5.2/support/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating readline-5.2/support/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=arm-softfloat-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-curses
--libdir=/usr/lib --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... arm-softfloat-linux-gnu
configure: cross-compiling for arm-softfloat-linux-gnu is not supported

Beginning configuration for readline-5.2 for arm-softfloat-linux-gnu

checking whether make sets $(MAKE)... yes
checking for arm-softfloat-linux-gnu-gcc... arm-softfloat-linux-gnu-gcc
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sys-libs/readline-5.2/work/readline-5.2/config.log

!!! ERROR: sys-libs/readline-5.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  readline-5.2.ebuild, line 60:   Called econf '--with-curses'
'--libdir=/usr/lib'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

from config.log:
configure:1880: checking for C compiler default output file name
configure:1883: arm-softfloat-linux-gnu-gcc -g   conftest.c  >&5
/usr/libexec/gcc/arm-softfloat-linux-gnu/ld: crt1.o: No such file: No
such file or directory
collect2: ld returned 1 exit status

Any ideas?

PS: crt1.o is at /usr/arm-softfloat-linux-gnu/usr/lib/crt1.o

-- 
Sincerely,
Vladimir "Farcaller" Pouzanov
http://www.hackndev.com
-- 
gentoo-embedded@g.o mailing list


Replies:
Re: cross-compile readline
-- Daniel Glaser
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?
Next by thread:
Re: cross-compile readline
Previous by date:
Re: [x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?
Next by date:
Re: cross-compile readline


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.