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: Brian McGrew <brian at visionpro dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 11 Dec 2001 19:08:01 -0000
- Subject: RE: gdb/236: Unable to find dynamic linker breakpoint function
- Reply-to: Brian McGrew <brian at visionpro dot com>
The following reply was made to PR gdb/236; it has been noted by GNATS.
From: Brian McGrew <brian@visionpro.com>
To: "'Peter.Schauer'" <Peter.Schauer@regent.e-technik.tu-muenchen.de>,
Greg Frinchaboy <greg@visionpro.com>
Cc: gdb-gnats@sources.redhat.com
Subject: RE: gdb/236: Unable to find dynamic linker breakpoint function
Date: Tue, 11 Dec 2001 10:58:44 -0800
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C18275.DB4B1540
Content-Type: text/plain;
charset="iso-8859-1"
Hi, Peter ...
Thanks for the help, but this didn't seem to fix the problem. I applied the
patch, and rebuild the entire binutils-2.11.2 distribution, then rebuilt
gdb. Same problem exists.
I'd certanly try any other suggestions you may have at this point. Do you
know when the next binutils will be rleases?
-brian
-----Original Message-----
From: Peter.Schauer
[mailto:Peter.Schauer@regent.e-technik.tu-muenchen.de]
Sent: Monday, November 19, 2001 2:05 PM
To: Greg Frinchaboy
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/236: Unable to find dynamic linker breakpoint function
> 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
------_=_NextPart_001_01C18275.DB4B1540
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: gdb/236: Unable to find dynamic linker breakpoint =
function</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Hi, Peter ...</FONT>
</P>
<P><FONT SIZE=3D2>Thanks for the help, but this didn't seem to fix the =
problem. I applied the patch, and rebuild the entire =
binutils-2.11.2 distribution, then rebuilt gdb. Same problem =
exists.</FONT></P>
<P><FONT SIZE=3D2>I'd certanly try any other suggestions you may have =
at this point. Do you know when the next binutils will be =
rleases?</FONT>
</P>
<P><FONT SIZE=3D2>-brian</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Peter.Schauer</FONT>
<BR><FONT SIZE=3D2>[<A =
HREF=3D"mailto:Peter.Schauer@regent.e-technik.tu-muenchen.de">mailto:Pet=
er.Schauer@regent.e-technik.tu-muenchen.de</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, November 19, 2001 2:05 PM</FONT>
<BR><FONT SIZE=3D2>To: Greg Frinchaboy</FONT>
<BR><FONT SIZE=3D2>Cc: gdb-gnats@sources.redhat.com</FONT>
<BR><FONT SIZE=3D2>Subject: Re: gdb/236: Unable to find dynamic linker =
breakpoint function</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>> Configured with: ../gcc-3.0.1/configure =
--prefix=3D/usr/local/gnu --with-minimal-bfd --with-gnu-ld =
--with-ld=3D/</FONT>
<BR><FONT SIZE=3D2>> usr/local/gnu/bin/ld --with-gnu-as =
--with-as=3D/usr/local/gnu/bin/as --with-stabs --enable-threads=3Dposix =
--ena</FONT>
</P>
<P><FONT SIZE=3D2>This is actually a problem with GNU ld from binutils, =
which is fixed in the</FONT>
<BR><FONT SIZE=3D2>development binutils sources in CVS.</FONT>
</P>
<P><FONT SIZE=3D2>Try the following patch (hack) before rebuilding the =
Solaris GNU ld.</FONT>
<BR><FONT SIZE=3D2>Please note that the patched sources should be used =
for a Solaris build only.</FONT>
</P>
<P><FONT SIZE=3D2>*** =
binutils-2.11.2/bfd/elf32-i386.c.orig  =
; Mon Jun 11 12:04:10 2001</FONT>
<BR><FONT SIZE=3D2>--- =
binutils-2.11.2/bfd/elf32-i386.c Thu Jun 28 20:24:11 =
2001</FONT>
<BR><FONT SIZE=3D2>***************</FONT>
<BR><FONT SIZE=3D2>*** 299,305 ****</FONT>
<BR><FONT SIZE=3D2> /* The name of the dynamic interpreter. =
This is put in the .interp</FONT>
<BR><FONT SIZE=3D2> section. */</FONT>
<BR><FONT SIZE=3D2> </FONT>
<BR><FONT SIZE=3D2>! #define ELF_DYNAMIC_INTERPRETER =
"/usr/lib/libc.so.1"</FONT>
<BR><FONT SIZE=3D2> </FONT>
<BR><FONT SIZE=3D2> /* The size in bytes of an entry in the =
procedure linkage table. */</FONT>
<BR><FONT SIZE=3D2> </FONT>
<BR><FONT SIZE=3D2>--- 299,305 ----</FONT>
<BR><FONT SIZE=3D2> /* The name of the dynamic interpreter. =
This is put in the .interp</FONT>
<BR><FONT SIZE=3D2> section. */</FONT>
<BR><FONT SIZE=3D2> </FONT>
<BR><FONT SIZE=3D2>! #define ELF_DYNAMIC_INTERPRETER =
"/usr/lib/ld.so.1"</FONT>
<BR><FONT SIZE=3D2> </FONT>
<BR><FONT SIZE=3D2> /* The size in bytes of an entry in the =
procedure linkage table. */</FONT>
<BR><FONT SIZE=3D2> </FONT>
</P>
<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Peter Schauer =
=
=
pes@regent.e-technik.tu-muenchen.de</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C18275.DB4B1540--