From owner-freebsd-current Mon Mar 18 11:27:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id A7D9E37B402 for ; Mon, 18 Mar 2002 11:27:04 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g2IJR1i10644; Mon, 18 Mar 2002 11:27:01 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g2IJQxW01655; Mon, 18 Mar 2002 11:26:59 -0800 (PST) (envelope-from jdp) Date: Mon, 18 Mar 2002 11:26:59 -0800 (PST) Message-Id: <200203181926.g2IJQxW01655@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: mark@grondar.za Subject: Re: rtld messing up? In-Reply-To: <200203112131.g2BLVtDN043534@grimreaper.grondar.org> References: <200203112131.g2BLVtDN043534@grimreaper.grondar.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <200203112131.g2BLVtDN043534@grimreaper.grondar.org>, Mark Murray wrote: > > Here is kaffe (from ports) post mortem after an at-load blowup. > > #0 0x280520ee in reloc_non_plt (obj=0x28064500, obj_rtld=0x280604a0) > at /usr/src/libexec/rtld-elf/i386/reloc.c:196 > 196 *where += (Elf_Addr) obj->relocbase; > (gdb) where > #0 0x280520ee in reloc_non_plt (obj=0x28064500, obj_rtld=0x280604a0) > at /usr/src/libexec/rtld-elf/i386/reloc.c:196 > #1 0x2804fb30 in relocate_objects (first=0x28064000, bind_now=0 '\000') > at /usr/src/libexec/rtld-elf/rtld.c:1398 > #2 0x2804e663 in _rtld (sp=0xbfbffa58, exit_proc=0xbfbffa50, objp=0xbfbffa54) > at /usr/src/libexec/rtld-elf/rtld.c:380 > > Other ports (like QT2) are also doing this. > > Any ideas? All I know is this: The dynamic linker was working just fine for years. Then we got a new version of binutils, and lots of problems started happening. The dynamic linker wasn't changed -- binutils was. I have no idea what got broken, but I kind of doubt that the bug is in the dynamic linker. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message