public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] gcc 3.0 questions.
@ 2001-11-08 17:54 Jim Hollenback
  2001-11-10  1:01 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Hollenback @ 2001-11-08 17:54 UTC (permalink / raw)
  To: linux-ia64

I'm trying to build a glibc, other libraries and an application using
gcc 3.0.  Stuff seems to build and link okay, but when I go to run
the application I get

 error while loading shared libraries: /home/jholly/lib/libgcc_s.so.1:
  undefined symbol: __ia64_app_header

Any clues to the reason for the error would be appreciated.

I'm doing this using NUE and the tarball put together by Stephane Eranian
and running it on my RH 7.1 box.

Thanks!

Jim Hollenback


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

* Re: [Linux-ia64] gcc 3.0 questions.
  2001-11-08 17:54 [Linux-ia64] gcc 3.0 questions Jim Hollenback
@ 2001-11-10  1:01 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2001-11-10  1:01 UTC (permalink / raw)
  To: linux-ia64

> error while loading shared libraries: /home/jholly/lib/libgcc_s.so.1:
>  undefined symbol: __ia64_app_header

This can happen when you try to link together code from incompatible gcc
versions.  One of the libraries somewhere that you are linking against was
compiled by the wrong compiler.

ia64_app_header was a variable that was present from about Oct 2000 to
June 2001 in the gcc start files (crtbegin.o).  It never appeared in any
Trillian compiler release.  It did appear in gcc 3.0.  It was removed before
gcc-3.0.1.  Note in particular that gcc 3.0 is not compatible with 3.0.1,
and 3.0.1 is not compatible with 3.0.2 for a different reason.

>I'm doing this using NUE and the tarball put together by Stephane Eranian
>and running it on my RH 7.1 box.

My guess is that Stephane's tarball was built using 3.0, and that you are
building your application with either 3.0.1 or 3.0.2.  That won't work.
Either everything has to be compiled by 3.0, or everything has to be
compiled by 3.0.1, or everything has to be compiled by 3.0.2.  By the
way, 3.0 won't build glibc, so that one isn't an option.

You can try replacing the file /home/jholly/lib/libgcc_s.so.1 with the
equivalent file from a gcc 3.0.[12] build.  That might be enough to solve
your problem.  It would be better to have a complete build with everything
compiled by the same gcc version.

Jim


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

end of thread, other threads:[~2001-11-10  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-08 17:54 [Linux-ia64] gcc 3.0 questions Jim Hollenback
2001-11-10  1:01 ` Jim Wilson

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