Subject: Re: ld.so musings
To: RiscBSD <port-arm32@NetBSD.ORG>
From: Alex Hayward <xelah@ferret.lmh.ox.ac.uk>
List: port-arm32
Date: 03/19/1998 09:04:28
On Wed, 18 Mar 1998, Patrick Welche wrote:
> More musings - I just got as far as compiling new libs, and as soon as
> libc.so.12.26 is installed into /usr/lib things cease to work, eg. the
> next line

Oh, yes.... That happened to me. I can't remember how I fixed it now...
Its not the compiler. I think it may have been the linker---try relinking
libc.so.12.26 from libc_pic.a using the same command line that the
Makefile uses but with the --whole-archive --no-whole-archive pair changed
to -Bforcearchive. I think that might have been it....

You should also be aware that if you build a new ld.so it won't work and
the the new vfork (the ___vfork14 systerm call) is *badly* broken on arm32
systems. This means that anything which uses it (or, say, system()) causes
the machine to lock up completely. You can fix that by changing the vfork
line in unistd.h (change the rename from ___vfork14 to ___vfork13).

Maybe I should start send-pr-ing these things...

-- 
alex@hayward.u-net.com; xelah@ferret.lmh.ox.ac.uk