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
--
[email protected] mailing list

Reply via email to