NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/45793: ld.elf_so - backport from current to 5.0 and 5.1
>Number: 45793
>Category: lib
>Synopsis: ld.elf_so - backport from current to 5.0 and 5.1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jan 06 17:35:01 +0000 2012
>Originator: Nat Sloss
>Release: NetBSD 5.0.1
>Organization:
>Environment:
NetBSD beast 5.0.1 NetBSD 5.0.1 (BEAST) #94: Thu Jan 5 04:19:56 EST 2012
build@beast:/home/build/NetBSD-5.0.1_source_tree/usr/src/sys/arch/i386/compile/BEAST
i386
>Description:
When trying to use a programme that has a lot of loaded symbols the time it
takes to start up is unusually long. For instance from pkgsrc misc/koffice
krita would take 10 minutes to start up.
So I came across this thread:
http://mail-index.netbsd.org/tech-userlevel/2010/02/24/msg003325.html
And so I tried it with current 5.99.51 and krita would start up in 10 seconds.
>How-To-Repeat:
Install koffice and dependant packages on NetBSD 5.0 or 5.1
Start krita. It will take approximately 10 minutes to start up
If you examine the process with gdb you will see that it takes a long time in
rtld functions.
>Fix:
The solution was to backport ld.elf_so from current.
So I have the files at the following link although they are for the i386 only
(my current platform). It would be easy to add to other platforms just the
addition of conditional compilation code for the lack of tls.h in NetBSD 5.0.
So here is the link:
http://members.optuszoo.com.au/~nathanial_sloss/ld.elf_so/
I think it should be added or something similar to the NetBSD 5 branch as it
affects the current stable release 5.1.
I hope this helps and was appropriate.
Regards,
Nat.
Home |
Main Index |
Thread Index |
Old Index