All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] New glibc on 715/75
@ 2001-03-16 11:55 Richard Hirst
  2001-03-16 16:25 ` [parisc-linux] " Richard Hirst
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Hirst @ 2001-03-16 11:55 UTC (permalink / raw)
  To: parisc-linux

I am trying the glibc etc from newcompilers-20010314 on my 715/75.
It seems anything that is dynamically linked hangs on exit.

I am booting with init=/bin/sash, and have static and dynamic
versions of hello-world (in C, not C++), and of gdb.

I can run the static programs ok, but if I run the dynamic hello-world
it outputs HelloWorld and then goes to sleep.  Console still echoes,
but I don't get the sash prompt back.

This isn't a particularly new problem - I havn't had a working 715/75
root fs since the attempt to part-fix libpthread.

Richard

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

* [parisc-linux] Re: New glibc on 715/75
  2001-03-16 11:55 [parisc-linux] New glibc on 715/75 Richard Hirst
@ 2001-03-16 16:25 ` Richard Hirst
  2001-03-16 18:46   ` Richard Hirst
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Hirst @ 2001-03-16 16:25 UTC (permalink / raw)
  To: parisc-linux

On Fri, Mar 16, 2001 at 11:55:35AM +0000, Richard Hirst wrote:
> I am trying the glibc etc from newcompilers-20010314 on my 715/75.
> It seems anything that is dynamically linked hangs on exit.

Hangs in this loop:

0x40014150 <__hppa_make_fptr+56>:       ldw 5f0(sr0,r1),r1
0x40014154 <__hppa_make_fptr+60>:       ldcw  0(sr0,r1),r1
0x40014158 <__hppa_make_fptr+64>:       cmpib,= 0,r1,0x40014150 <__hppa_make_fptr+56>
0x4001415c <__hppa_make_fptr+68>:       addil 0,r19,%r1

r19 = 4001a930.

For a good run on the B180, I get in to this code with the
same r19.  r1=r19, r1+0x5f0=0x4001af20

0x4001af20 <errno+1848>:        0x4001a7c8

0x4001a7c8 <__hppa_fptr_lock>:  0x00000001


Presumably on the 715/75 __hppa_fptr_lock is zero.

(gdb) bt
#0  0x40014150 in __hppa_make_fptr (sym_map=0x4001c508, value=1075005768, 
    root=0x4001a7cc, mem=0x0) at ../linuxthreads/sysdeps/hppa/pt-machine.h:44
#1  0x40014108 in _dl_function_address (map=0x4001c508, start=1075005768)
    at ../sysdeps/hppa/dl-symaddr.c:38
#2  0x4000f5e0 in _dl_fini () at dl-fini.c:170
#3  0x40060ff4 in exit () from /lib/libc.so.6
#4  0x40047460 in __libc_start_main () from /lib/libc.so.6
#5  0x0000139c in _start ()
#6  0x40014108 in _dl_function_address (map=0x4001c508, start=1075005768)
    at ../sysdeps/hppa/dl-symaddr.c:38

__hppa_make_fptr() is in sysdeps/hppa/dl-fptr.c


Richard

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

* Re: [parisc-linux] Re: New glibc on 715/75
  2001-03-16 16:25 ` [parisc-linux] " Richard Hirst
@ 2001-03-16 18:46   ` Richard Hirst
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Hirst @ 2001-03-16 18:46 UTC (permalink / raw)
  To: parisc-linux

On Fri, Mar 16, 2001 at 04:25:17PM +0000, Richard Hirst wrote:
> On Fri, Mar 16, 2001 at 11:55:35AM +0000, Richard Hirst wrote:
> > I am trying the glibc etc from newcompilers-20010314 on my 715/75.
> > It seems anything that is dynamically linked hangs on exit.
> 
> Hangs in this loop:
> 
> 0x40014150 <__hppa_make_fptr+56>:       ldw 5f0(sr0,r1),r1
> 0x40014154 <__hppa_make_fptr+60>:       ldcw  0(sr0,r1),r1
> 0x40014158 <__hppa_make_fptr+64>:       cmpib,= 0,r1,0x40014150 <__hppa_make_fptr+56>
> 0x4001415c <__hppa_make_fptr+68>:       addil 0,r19,%r1
> 
> r19 = 4001a930.
> 
> For a good run on the B180, I get in to this code with the
> same r19.  r1=r19, r1+0x5f0=0x4001af20
> 
> 0x4001af20 <errno+1848>:        0x4001a7c8
> 
> 0x4001a7c8 <__hppa_fptr_lock>:  0x00000001

Arggh!  That's not 16 byte aligned.

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

end of thread, other threads:[~2001-03-16 18:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-16 11:55 [parisc-linux] New glibc on 715/75 Richard Hirst
2001-03-16 16:25 ` [parisc-linux] " Richard Hirst
2001-03-16 18:46   ` Richard Hirst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.