gdb/236: Unable to find dynamic linker breakpoint function

Peter.Schauer Peter.Schauer@regent.e-technik.tu-muenchen.de
Wed Oct 10 01:11:00 GMT 2001


The following reply was made to PR gdb/236; it has been noted by GNATS.

From: "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
To: greg@visionpro.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/236: Unable to find dynamic linker breakpoint function
Date: Mon, 19 Nov 2001 22:04:39 MET

 > Configured with: ../gcc-3.0.1/configure --prefix=/usr/local/gnu --with-minimal-bfd --with-gnu-ld --with-ld=/
 > usr/local/gnu/bin/ld --with-gnu-as --with-as=/usr/local/gnu/bin/as --with-stabs --enable-threads=posix --ena
 
 This is actually a problem with GNU ld from binutils, which is fixed in the
 development binutils sources in CVS.
 
 Try the following patch (hack) before rebuilding the Solaris GNU ld.
 Please note that the patched sources should be used for a Solaris build only.
 
 *** binutils-2.11.2/bfd/elf32-i386.c.orig	Mon Jun 11 12:04:10 2001
 --- binutils-2.11.2/bfd/elf32-i386.c	Thu Jun 28 20:24:11 2001
 ***************
 *** 299,305 ****
   /* The name of the dynamic interpreter.  This is put in the .interp
      section.  */
   
 ! #define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
   
   /* The size in bytes of an entry in the procedure linkage table.  */
   
 --- 299,305 ----
   /* The name of the dynamic interpreter.  This is put in the .interp
      section.  */
   
 ! #define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
   
   /* The size in bytes of an entry in the procedure linkage table.  */
   
 
 -- 
 Peter Schauer			pes@regent.e-technik.tu-muenchen.de



More information about the Gdb-prs mailing list