From owner-freebsd-current Wed Sep 2 00:10:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA01400 for freebsd-current-outgoing; Wed, 2 Sep 1998 00:10:37 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA01395 for ; Wed, 2 Sep 1998 00:10:36 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id AAA08890; Wed, 2 Sep 1998 00:09:33 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp01.primenet.com, id smtpd008880; Wed Sep 2 00:09:29 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id AAA21908; Wed, 2 Sep 1998 00:09:27 -0700 (MST) From: Terry Lambert Message-Id: <199809020709.AAA21908@usr02.primenet.com> Subject: Re: E-day problems: rtld-elf dlsym() broken? To: jdp@polstra.com (John Polstra) Date: Wed, 2 Sep 1998 07:09:27 +0000 (GMT) Cc: chuckr@glue.umd.edu, current@FreeBSD.ORG In-Reply-To: <199809020125.SAA16732@austin.polstra.com> from "John Polstra" at Sep 1, 98 06:25:20 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > No. Never. I wish you folks would get that idea out of your heads, > because it ain't gonna happen. It is not feasible, for reasons having > to do with the fact that some variables would end up existing in two > places, one in the original static executable and another in whatever > object you just dlopened. > > There are good reasons why these functions have never been supported > (by any vendor) in static executables. The vendor was too stupid to implement correct weak symbol support such that it worked when linked with libdlopen? Wait... this works on Sun machines, using libelf... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message