public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] cross-compile readline
@ 2006-10-22 12:24 Vladimir Pouzanov
  2006-10-22 17:39 ` Daniel Glaser
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Pouzanov @ 2006-10-22 12:24 UTC (permalink / raw
  To: gentoo-embedded

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] cross-compile readline
  2006-10-22 12:24 [gentoo-embedded] cross-compile readline Vladimir Pouzanov
@ 2006-10-22 17:39 ` Daniel Glaser
  2006-10-22 17:44   ` Vladimir Pouzanov
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Glaser @ 2006-10-22 17:39 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi Vladimir,

could you please post your configuration? e.g. CFLAGS are very
important here to find some solution.

- -daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFO6zqLA0LfkMzpGMRAmDEAJ0SJIIoHa8NoHsSNCXIfI1V0Y4e7gCfWeOw
vvikzZMtQQ8gfirG3eF5FU4=
=Af/+
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] cross-compile readline
  2006-10-22 17:39 ` Daniel Glaser
@ 2006-10-22 17:44   ` Vladimir Pouzanov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Pouzanov @ 2006-10-22 17:44 UTC (permalink / raw
  To: gentoo-embedded

On 10/22/06, Daniel Glaser <daniel.glaser@chaintronics.com> wrote:
> could you please post your configuration? e.g. CFLAGS are very
> important here to find some solution.
Seems that I've broke toolchain somewhere, reemerging it helped.

My CFLAGS contaion only basic flags, pipe, march, mtune.

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-22 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-22 12:24 [gentoo-embedded] cross-compile readline Vladimir Pouzanov
2006-10-22 17:39 ` Daniel Glaser
2006-10-22 17:44   ` Vladimir Pouzanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox