Date: Thu, 7 Sep 2000 13:14:30 +0700 (NSS) From: Max Khon <fjoe@iclub.nsu.ru> To: Randell Jesup <rjesup@wgate.com> Cc: freebsd-stable@FreeBSD.ORG, Bruce Bauman <bbauman@wgate.com> Subject: Re: GDB 4.18 and shared libraries (Mozilla) Message-ID: <Pine.BSF.4.21.0009071310430.49495-100000@iclub.nsu.ru> In-Reply-To: <ybuzoll5hbm.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, there! On 6 Sep 2000, Randell Jesup wrote: > I (and some coworkers) are having problems with GDB under > 4.1-stable and shared libraries (particularily in Mozilla). Ever since > upgrading from 3.3 or 3.4-stable to 4.1-stable, GDB gives bogus line > numbers/addresses for references in shared libraries, doesn't show > arguments, can't display auto variables, etc. For functions in the > main executable, line numbers are right and arguments print. > > All the shared libraries were totally rebuilt after upgrading > (from scratch). > > Debug information seems to be present in the libraries as linked, > including line number info, but it's very hard to determine if it's > correct from the output of 'nm'. > > Any ideas? ld is broken. apply attached patch, rebuild everything in src/gnu/usr.bin/binutils and relink libraries. the patch is taken from binutils cvs (elf32-i386.c 1.8 -> 1.9) there is open PR for this (20373) but I cannot submit a followup for some reason. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009071310430.49495-100000>