Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Using DU shared libraries on a Linux system
       [not found] <33493554.20DAB9DC@news.umkc.edu>
@ 1997-04-07 19:53 ` Dirk Grunwald
  0 siblings, 0 replies; 3+ messages in thread
From: Dirk Grunwald @ 1997-04-07 19:53 UTC (permalink / raw)


I'm trying to get Digital Unix shared libraries working on a
Linux/Alpha system. Suspend your concerns with licenses for the
moment, I first want to know if this is possible & will address the
other issues later.

I copied over /shlib, /usr/shlib and /sbin/loader. However, when I run
a simple "hello world" application, I get the following:

[miata-22] setenv _RLD_ARGS "-trace"
[miata-23] ./foo
5685:./foo: /sbin/loader: Entering RLD through MAIN
5685:./foo: /sbin/loader: mapped Main at 0x120000000
5685:./foo: /sbin/loader: mapped /usr/shlib/libc.so at 0x3ff80080000
5685:./foo: /sbin/loader: resolve_symbol: _end in ./foo for Main at 0x140000180
5685:./foo: /sbin/loader: Fatal Error: set_program_attributes failed to set heap start
[miata-24]

Is there something else one is supposed to do?

--
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] 3+ messages in thread

* Re: Using DU shared libraries on a Linux system
       [not found] <199704071953.NAA00997@foobar.cs.colorado.edu>
@ 1997-04-08  0:17 ` Nikita Schmidt
  1997-04-08  1:14 ` Mike Epstein
  1 sibling, 0 replies; 3+ messages in thread
From: Nikita Schmidt @ 1997-04-08  0:17 UTC (permalink / raw)


On Apr 7, Dirk Grunwald wrote:
[...]
> 
> 5685:./foo: /sbin/loader: Fatal Error: set_program_attributes failed to set heap start
> [miata-24]
> 
> Is there something else one is supposed to do?
> 

set_program_attributes syscall is not implemented in 2.0.x kernels,
because (as far as I understand) it was not used in DU 3.2 binaries and
libraries.  It is implemented in 2.1.x together with a couple of other new DU
syscalls.  One is supposed either to upgrade to 2.1.32, or to apply a patch
(ftp://genie.ucd.ie/pub/alpha/kernel/osf_43.diff) for 2.0.29 (the patch
only affects set_program_attributes, so Netscape does not seem to run
anyway).

	Kit

--
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] 3+ messages in thread

* Re: Using DU shared libraries on a Linux system
       [not found] <199704071953.NAA00997@foobar.cs.colorado.edu>
  1997-04-08  0:17 ` Nikita Schmidt
@ 1997-04-08  1:14 ` Mike Epstein
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Epstein @ 1997-04-08  1:14 UTC (permalink / raw)


On Mon, 7 Apr 1997, Dirk Grunwald wrote:

> I'm trying to get Digital Unix shared libraries working on a Linux/Alpha
> system. Suspend your concerns with licenses for the moment, I first want
> to know if this is possible & will address the other issues later.  

[...]

> 5685:./foo: /sbin/loader: Fatal Error: set_program_attributes failed to
> set heap start [miata-24]

This is usually a sign that you're using libraries/loader from DU 4.0 rather
than DU 3.2.  I believe one of the newer 2.1.x kernels adds support for DU
4.0 libraries/loader.  Otherwise try the libraries/loader from 3.2.

Good luck.

Mike Epstein - mjepst@hcs.harvard.edu - http://hcs.harvard.edu/~mjepst/

"More people are killed in the United States with guns in a typical week
 than in all of Western Europe in a year." -- The New York Times, 4/2/97

--
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] 3+ messages in thread

end of thread, other threads:[~1997-04-08  1:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <33493554.20DAB9DC@news.umkc.edu>
1997-04-07 19:53 ` Using DU shared libraries on a Linux system Dirk Grunwald
     [not found] <199704071953.NAA00997@foobar.cs.colorado.edu>
1997-04-08  0:17 ` Nikita Schmidt
1997-04-08  1:14 ` Mike Epstein

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