From owner-freebsd-current Tue Sep 1 21:27:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA02595 for freebsd-current-outgoing; Tue, 1 Sep 1998 21:27:43 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from word.smith.net.au (castles304.castles.com [208.214.167.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA02588 for ; Tue, 1 Sep 1998 21:27:37 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id VAA00386; Tue, 1 Sep 1998 21:24:15 GMT (envelope-from mike@word.smith.net.au) Message-Id: <199809012124.VAA00386@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: John Polstra cc: chuckr@glue.umd.edu, current@FreeBSD.ORG Subject: Re: E-day problems: rtld-elf dlsym() broken? In-reply-to: Your message of "Tue, 01 Sep 1998 18:25:20 MST." <199809020125.SAA16732@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 Sep 1998 21:24:13 +0000 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In article , > Chuck Robey wrote: > > > Another tought occurred, tho: Will those functions finally be > > available for statically linked elf images? > > 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. Given that the goal here seems to be able to use dlopen to load modules into an otherwise self-contained executable, would it be more correct to suggest that the executable should be linked shared, but against a static copy of the C library? If this is correct, what's the "polite" way to explicitly reference libc? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message