Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 22:49:12 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        emulation@FreeBSD.ORG
Subject:   Re: ELF interpreter /compat/linux/lib/ld-linux.so.1 not found
Message-ID:  <36D1D0D8.3EF38E39@scc.nl>
References:  <Pine.HPP.4.05.9902221118390.5225-100000@alpine.arc.nasa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
Don Sullivan wrote:
> 
> RSI's IDL/ENVI product's license manager (lmgrd) previously (2.2.8)
> ran just fine. (linux emulation) Now that I've upgraded to 3.1, it
> exits with an abort trap, and the above message...

The problem is known and fixed. Unfortunately, this means that you need to
cvsup the sources or alternatively, apply the following patch.
===================================================================
RCS file: /home/ncvs/src/sys/i386/include/elf.h,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -c -r1.5.2.1 -r1.5.2.2
*** src/sys/i386/include/elf.h  1999/02/08 18:58:36     1.5.2.1
--- src/sys/i386/include/elf.h  1999/02/19 01:36:29     1.5.2.2
***************
*** 23,29 ****
   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   *
!  *      $Id: elf.h,v 1.5.2.1 1999/02/08 18:58:36 jdp Exp $
   */
  
  #ifndef _MACHINE_ELF_H_
--- 23,29 ----
   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   *
!  *      $Id: elf.h,v 1.5.2.2 1999/02/19 01:36:29 jdp Exp $
   */
  
  #ifndef _MACHINE_ELF_H_
***************
*** 121,131 ****
  #ifdef KERNEL
  
  /*
!  * On the i386 we load the dynamic linker at a fixed address,
!  * below where the executable itself is loaded.  This is the
!  * standard SVR4 location for it.
   */
! #define ELF_RTLD_ADDR(vmspace)        0x08000000
  
  #endif /* KERNEL */
  #endif /* !_MACHINE_ELF_H_ */
--- 121,133 ----
  #ifdef KERNEL
  
  /*
!  * On the i386 we load the dynamic linker where a userland call
!  * to mmap(0, ...) would put it.  The rationale behind this
!  * calculation is that it leaves room for the heap to grow to
!  * its maximum allowed size.
   */
! #define ELF_RTLD_ADDR(vmspace) \
!     (round_page((vm_offset_t)(vmspace)->vm_daddr + MAXDSIZ))
  
  #endif /* KERNEL */
  #endif /* !_MACHINE_ELF_H_ */

marcel


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D1D0D8.3EF38E39>