Re: memory fragmentation by the loader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Arjan van de Ven <arjan@xxxxxxxxxxxxx>:

> On Wed, 2005-08-03 at 12:30 +0300, hayim@xxxxxxxxxxxxxx wrote:
> > I have the strangest problem.
> >
> > I have two computers both are with the same HW. Both have 4GB RAM.
> > Both are installed with FedoraCore3.
>
> and which kernels do they use?
>

Both are 2.6.11.7 (the .config file is identical in both)

> And has prelink run on both of them yet?
>

No. I just installed and tried this program.

When I do 'prelink -v a.out' I get on one machine:

prelink: a.out: Could not find one of the dependencies
Assigned virtual address space slots for libraries:
/lib/ld-2.3.3.so                                             4f828000-4f83e4f4
/usr/lib/libgcj.so.5.0.0                                     413a5000-41ee433c
/usr/lib/libethereal.so.0.0.1                                4139b000-41c9a6fc
/usr/lib/libh323_linux_x86_r.so.1.13.4                       41d12000-425f6ad0
...

While on the other I get:

prelink: a.out: Could not find one of the dependencies
Laying out 351 libraries in virtual address space 41000000-50000000
Assigned virtual address space slots for libraries:
/lib/ld-2.3.3.so                                             0056c000-005824f4
/usr/lib/libgcj.so.5.0.0                                     02000000-02b3f33c
/usr/lib/libethereal.so.0.0.1                                02000000-028ff6fc
/usr/lib/libh323_linux_x86_r.so.1.13.4                       02000000-028e4ad0
...


Does that mean the address to which a dynamic library should be loaded is
written in the *.so file? I thought it is determined on runtime when the
program is ran.

How can I change it?








>
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux