From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-1362-garchives=archives.gentoo.org@gentoo.org>)
	id 1GbcPf-0005jo-5n
	for garchives@archives.gentoo.org; Sun, 22 Oct 2006 12:26:47 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9MCOxXE012502;
	Sun, 22 Oct 2006 12:24:59 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9MCOxrK015462
	for <gentoo-embedded@lists.gentoo.org>; Sun, 22 Oct 2006 12:24:59 GMT
Received: by nf-out-0910.google.com with SMTP id p46so2823385nfa
        for <gentoo-embedded@lists.gentoo.org>; Sun, 22 Oct 2006 05:24:59 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=aAZcBH7nZH3jafTV/6Dw9QAFYYMANnznNkcb8CPmtirCyzbk1IK6hFBedzlXeFBpCw6t9bpTpCyl1ARzZmmBxTC6oQXbTRkWdgtydqRqzPbb+fTYnafrgds6+kdIEVlTxK3HMNkUcsMAUZmRm4Ew+F8ORXrh3g8zf61DKtlR/Wg=
Received: by 10.49.8.1 with SMTP id l1mr4470625nfi;
        Sun, 22 Oct 2006 05:24:57 -0700 (PDT)
Received: by 10.48.206.19 with HTTP; Sun, 22 Oct 2006 05:24:57 -0700 (PDT)
Message-ID: <9956e0d30610220524y43832fb2ve9ee6640d7730543@mail.gmail.com>
Date: Sun, 22 Oct 2006 15:24:57 +0300
From: "Vladimir Pouzanov" <farcaller@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] cross-compile readline
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Archives-Salt: 00618b27-7f45-484c-95cc-dc737fe77435
X-Archives-Hash: ae14d51ad65fd42ebda4b4f4b105ebd9

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@gentoo.org mailing list