Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Steven N. Hirsch <shirsch@ibm.net>
Subject: Re: again: compiling glibc/kernel
Date: Tue, 07 Jan 1997 19:57:35 -0500	[thread overview]
Message-ID: <86fc868e4d906a96a1ec3a448ab1910d.axp-list@archive.invalid> (raw)

Philip Blundell wrote:
> 
> On Mon, 6 Jan 1997, Yash Khemani wrote:
> 
> > while doing make, i get the following error when it is in the sunrpc
> > directory.
> > LD_LIBRARY_PATH=..:../elf:../nss ../elf/ld.so.1 ./rpcgen -c
> > rpcsvc/bootparam.x -o xbootparam.cT
> > ld.so.1: memory violation at pc=00004cf4 rp=000044d4 (bad address =
> > 00000000)
> > make: *** [xbootparam.c] Segmentation fault
> >

> > >  I have
> > > the same problem here.  In frustration, I hacked Makeconfig so that it
> > > doesn't try to directly execute the loader.  Try the patch attached.
> >

> Don't do this.  If you _do_ manage to compile glibc like this, your system
> will be unusable when you install it.  Ld.so _must_ be working for you to
> be able to execute any binaries.
> 
> phil

Interesting, seeing as how I've been running with the shared libraries
that resulted from the build.  Exactly _what_ is the command which fails
trying to do?  It's something like:

$ LD_LIBRARY_PATH=<path_to_what_we_built> \
	<name of ld.so.1 we just built> \
	rpcgen args...

When the host system being used for the build already _has_ the gnu
loader available in /lib, why do I need the one that's just been
compiled?

I'm not saying that I have this figured out, but what IS going on with
the command as originally written, and why might it be failing on an
otherwise stable and correctly-installed system?

Steve

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-01-08  0:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-08  0:57 Steven N. Hirsch [this message]
     [not found] <32D2F0FF.43D02E13@ibm.net>
1997-01-08 15:36 ` again: compiling glibc/kernel Philip Blundell
     [not found] <32D1D2DA.2AE@plexstar.com>
1997-01-07 15:46 ` Daniel Gruner
1997-01-07 17:39 ` Philip Blundell
  -- strict thread matches above, loose matches on Subject: below --
1997-01-07  4:36 Yash Khemani
read-only archive

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