This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/236: Unable to find dynamic linker breakpoint function
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 19 Nov 2001 21:08:01 -0000
- Subject: Re: gdb/236: Unable to find dynamic linker breakpoint function
- Reply-to: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
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