1 |
Hi all, |
2 |
|
3 |
I can't cross-compile readline for arm (arm-softfloat-linux-gnu): |
4 |
>>> Emerging (1 of 4) sys-libs/readline-5.2 to /usr/arm-softfloat-linux-gnu/ |
5 |
* readline-5.2.tar.gz MD5 ;-) ... [ ok ] |
6 |
* readline-5.2.tar.gz RMD160 ;-) ... [ ok ] |
7 |
* readline-5.2.tar.gz SHA1 ;-) ... [ ok ] |
8 |
* readline-5.2.tar.gz SHA256 ;-) ... [ ok ] |
9 |
* readline-5.2.tar.gz size ;-) ... [ ok ] |
10 |
>>> Unpacking source... |
11 |
>>> Unpacking readline-5.2.tar.gz to /var/tmp/portage/sys-libs/readline-5.2/work |
12 |
* Applying readline-5.0-no_rpath.patch ... [ ok ] |
13 |
* Applying readline-5.2-rlfe-build.patch ... [ ok ] |
14 |
* Applying readline-5.1-rlfe-uclibc.patch ... [ ok ] |
15 |
* Applying readline-5.1-fbsd-pic.patch ... [ ok ] |
16 |
>>> Source unpacked. |
17 |
>>> Compiling source in |
18 |
/var/tmp/portage/sys-libs/readline-5.2/work/readline-5.2 ... |
19 |
* econf: updating readline-5.2/support/config.guess with |
20 |
/usr/share/gnuconfig/config.guess |
21 |
* econf: updating readline-5.2/support/config.sub with |
22 |
/usr/share/gnuconfig/config.sub |
23 |
./configure --prefix=/usr --host=arm-softfloat-linux-gnu |
24 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
25 |
--sysconfdir=/etc --localstatedir=/var/lib --with-curses |
26 |
--libdir=/usr/lib --build=i686-pc-linux-gnu |
27 |
checking build system type... i686-pc-linux-gnu |
28 |
checking host system type... arm-softfloat-linux-gnu |
29 |
configure: cross-compiling for arm-softfloat-linux-gnu is not supported |
30 |
|
31 |
Beginning configuration for readline-5.2 for arm-softfloat-linux-gnu |
32 |
|
33 |
checking whether make sets $(MAKE)... yes |
34 |
checking for arm-softfloat-linux-gnu-gcc... arm-softfloat-linux-gnu-gcc |
35 |
checking for C compiler default output file name... configure: error: |
36 |
C compiler cannot create executables |
37 |
See `config.log' for more details. |
38 |
|
39 |
!!! Please attach the following file when filing a report to bugs.gentoo.org: |
40 |
!!! /var/tmp/portage/sys-libs/readline-5.2/work/readline-5.2/config.log |
41 |
|
42 |
!!! ERROR: sys-libs/readline-5.2 failed. |
43 |
Call stack: |
44 |
ebuild.sh, line 1568: Called dyn_compile |
45 |
ebuild.sh, line 937: Called src_compile |
46 |
readline-5.2.ebuild, line 60: Called econf '--with-curses' |
47 |
'--libdir=/usr/lib' |
48 |
ebuild.sh, line 540: Called die |
49 |
|
50 |
!!! econf failed |
51 |
!!! If you need support, post the topmost build error, and the call |
52 |
stack if relevant. |
53 |
|
54 |
from config.log: |
55 |
configure:1880: checking for C compiler default output file name |
56 |
configure:1883: arm-softfloat-linux-gnu-gcc -g conftest.c >&5 |
57 |
/usr/libexec/gcc/arm-softfloat-linux-gnu/ld: crt1.o: No such file: No |
58 |
such file or directory |
59 |
collect2: ld returned 1 exit status |
60 |
|
61 |
Any ideas? |
62 |
|
63 |
PS: crt1.o is at /usr/arm-softfloat-linux-gnu/usr/lib/crt1.o |
64 |
|
65 |
-- |
66 |
Sincerely, |
67 |
Vladimir "Farcaller" Pouzanov |
68 |
http://www.hackndev.com |
69 |
-- |
70 |
gentoo-embedded@g.o mailing list |