Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: compiling glibc
@ 1997-01-07  2:02 Yash Khemani
  0 siblings, 0 replies; 4+ messages in thread
From: Yash Khemani @ 1997-01-07  2:02 UTC (permalink / raw)


hi,

thanks for the diff file.  stupid question - how do i merge a diff into
the original?

thanks!
yash

--
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

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

* compiling glibc
@ 1997-01-07  2:26 Yash Khemani
  0 siblings, 0 replies; 4+ messages in thread
From: Yash Khemani @ 1997-01-07  2:26 UTC (permalink / raw)


hi folks,

has anyone successfully compiled glibc v1.99 on a udb running rhl/axp
v4.0?
i get the following when it enters 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

btw, i did grab linuxthreads and des-crypt (all v1.99), placed them in
the
glibc_1.99 directory, and specified them in the '--enable-add-ons'
option of
configure.

any ideas why calling the shared lib ld.so.1 is causing a memory
violation?

thanks!
yash

-- 
+-------------------------------------------------------------------+
|  Yash L. Khemani             |  E-Mail:  khemani@plexstar.com     |
|  Plexstar, Inc., Reston, VA  |  WWW:     http://www.plexstar.com  |
+-------------------------------------------------------------------+

--
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

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

* Re: compiling glibc
@ 1997-01-07  2:40 Steven N. Hirsch
  0 siblings, 0 replies; 4+ messages in thread
From: Steven N. Hirsch @ 1997-01-07  2:40 UTC (permalink / raw)


This is a multi-part message in MIME format.

--------------7BE1D07D1AAFD74E52260261
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Yash Khemani wrote:
> 
> hi folks,
> 
> has anyone successfully compiled glibc v1.99 on a udb running rhl/axp
> v4.0?
> i get the following when it enters 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

> 
> any ideas why calling the shared lib ld.so.1 is causing a memory
> violation?
> 

ld.so.1 is not a shared library, it's the system dynamic loader.  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.

Would someone "in the know" please comment on this?  I'm not aware that
it is ever permissable to directly execute the loader..  This will not
be the end of your problems, however.  You will find that a handful of
the tests fail.  I haven't had time to dig into this at all - maybe over
the next weekend.

Steve

--------------7BE1D07D1AAFD74E52260261
Content-Type: text/plain; charset=us-ascii; name="Makeconfig.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Makeconfig.diff"

*** Makeconfig.orig	Thu Dec 19 20:31:39 1996
--- Makeconfig	Sat Jan  4 22:04:56 1997
***************
*** 365,373 ****
  $(subst $(empty) ,:,$(strip $(patsubst -Wl$(comma)-rpath-link=%, %,\
  				       $(filter -Wl$(comma)-rpath-link=%,\
  						$(sysdep-LDFLAGS)))))
  define built-program-cmd
  LD_LIBRARY_PATH=$(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
! $(elf-objpfx)$(rtld-installed-name) $(built-program-file)
  endef
  endif
  
--- 365,377 ----
  $(subst $(empty) ,:,$(strip $(patsubst -Wl$(comma)-rpath-link=%, %,\
  				       $(filter -Wl$(comma)-rpath-link=%,\
  						$(sysdep-LDFLAGS)))))
+ 
+ # LD_LIBRARY_PATH=$(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
+ # $(elf-objpfx)$(rtld-installed-name) $(built-program-file)
+ 
  define built-program-cmd
  LD_LIBRARY_PATH=$(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
! $(built-program-file)
  endef
  endif
  

--------------7BE1D07D1AAFD74E52260261--

--
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

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

* Re: compiling glibc
       [not found] <32D1B795.5D5CBFCC@ibm.net>
@ 1997-01-07 17:37 ` Philip Blundell
  0 siblings, 0 replies; 4+ messages in thread
From: Philip Blundell @ 1997-01-07 17:37 UTC (permalink / raw)


On Mon, 6 Jan 1997, Steven N. Hirsch wrote:

> Would someone "in the know" please comment on this?  I'm not aware that
> it is ever permissable to directly execute the loader..  This will not
> be the end of your problems, however.  You will find that a handful of
> the tests fail.  I haven't had time to dig into this at all - maybe over
> the next weekend.

It _is_ possible to directly execute the loader.  If you run it with no
parameters it tells you not to, but if you give it a program name as an
argument it runs that program using the loader you specified, rather than
the default (/lib/ld.so.1).

There was a problem with ld.so in glibc 1.99 for the Alpha.  Wait for
glibc 1.100, which is due to be released shortly. 

phil

--
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

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

end of thread, other threads:[~1997-01-07 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-07  2:26 compiling glibc Yash Khemani
     [not found] <32D1B795.5D5CBFCC@ibm.net>
1997-01-07 17:37 ` Philip Blundell
  -- strict thread matches above, loose matches on Subject: below --
1997-01-07  2:40 Steven N. Hirsch
1997-01-07  2:02 Yash Khemani

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