From owner-freebsd-current Tue Sep 1 15:37:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08498 for freebsd-current-outgoing; Tue, 1 Sep 1998 15:37:35 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [209.118.174.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA08490 for ; Tue, 1 Sep 1998 15:37:33 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with SMTP id RAA01273; Tue, 1 Sep 1998 17:34:53 -0400 (EDT) Date: Tue, 1 Sep 1998 17:34:53 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@picnic.mat.net To: Doug Rabson cc: Brian Feldman , current@FreeBSD.ORG Subject: Re: E-day problems: rtld-elf dlsym() broken? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 1 Sep 1998, Doug Rabson wrote: > On Tue, 1 Sep 1998, Brian Feldman wrote: > > > As a start, I'd like to say great job to John Birrell and everyone else > > involved, going to ELF worked almost without a hitch, I'm impressed! But > > there is a problem now: dlsym, for me, seems to have stopped working. > > Entirely.... Returning NULL always it seems. I've attached a program (yes, > > it's a start on a basic debugger, I'm implementing rtld functions first) > > which should show the problem to anyone interested. > > I suggest that you build rtld-elf with DEBUG_FLAGS=-g and set a breakpoint > in dlsym(). Seeing this about dlsym (which always existed in ld.so) I figured the elf one would be in ld.so-elf (whatever the name is). Another tought occurred, tho: Will those functions finally be available for statically linked elf images? > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 951 1891 > Fax: +44 181 381 1039 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message