public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] make cross-gcc error about GNUPro ToolKit
@ 2001-05-21 10:13 qiuhb
  2001-05-21 20:02 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: qiuhb @ 2001-05-21 10:13 UTC (permalink / raw)
  To: linux-ia64

Hi

I want to get a cross-compile envionment using GNUPro ToolKit.
After I enter into /work/ia64 diretory and configure with
"../src/configure --target=ia64-pc-linux
--with-headers=/work/ia64/usr/include --with-libs=/work/ia64/usr/lib"
and type "make all install" and have a gcc tool,I make a file and some
errors happen as follows:

[root@qiuhb libiberty]# /usr/local/ia64-pc-linux/bin/gcc
/work/qhb/read.c
/usr/local/lib/gcc-lib/ia64-pc-linux/2.9-ia64-000216-final/../../../../ia64-pc-linux/bin/ld:
warning: ld-linux-ia64.so.2, needed by /lib/libc.so.0, not found (try
using --rpath)
/lib/libc.so.0: undefined reference to `_dl_debug_impcalls@@GLIBC_2.2'
/lib/libc.so.0: undefined reference to
`_dl_lookup_versioned_symbol@@GLIBC_2.2' /lib/libc.so.0: undefined
reference to `_dl_relocate_object@@GLIBC_2.2'
..
..
/lib/libc.so.0: undefined reference to `_dl_lookup_address@@GLIBC_2.2'
collect2: ld returned 1 exit status

I get a ld-linux-ia64.so.2 file from glibc-2.2-001117p1.ia64.rpm and
make again,but the error have no difference.
This error message exist in /work/ia64/ia64-pc-linux/libiberty as same
and dont create a Makefile.So many file have not make.

If who knows ,Please help me.

Thanks a lot.

Qiu HongBing.



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

* Re: [Linux-ia64] make cross-gcc error about GNUPro ToolKit
  2001-05-21 10:13 [Linux-ia64] make cross-gcc error about GNUPro ToolKit qiuhb
@ 2001-05-21 20:02 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2001-05-21 20:02 UTC (permalink / raw)
  To: linux-ia64

It looks like there is some compatibility problem with the headers, libraries,
and gcc sources.  Building a cross this way will work only if the libraries
were compiled by this gcc version.

If you want to do a build from scratch using a new gcc version, then you
need to build glibc and gcc at the same time.  This is so complicated that
it is best left to the experts.

>/usr/local/lib/gcc-lib/ia64-pc-linux/2.9-ia64-000216-final/../../../../ia64-pc-linux/bin/ld:

The 000216 release is long obsolete.  It is pointless to even try to use it.

You will have much better luck if you try the gcc sources that came with the
OS release that you have.

Jim


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

end of thread, other threads:[~2001-05-21 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-21 10:13 [Linux-ia64] make cross-gcc error about GNUPro ToolKit qiuhb
2001-05-21 20:02 ` Jim Wilson

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